-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification: Is DSP only meant for short factual answers? #82
Comments
You can definitely use it for what you described! Just change the training examples, the Template, and the program’s generate steps! |
Thanks for the quick answer, I will give it a try and reach out for any help. Also in your videos on youtube, I see you mentioning that do not throw away unlabelled questions from the demo, instead feed them as unlabelled examples. Is there some documentation that explains how this works? How does the model learn from unlabelled samples? |
Hey @okhat, if we are looking at answers which are long passages, how to do we demonstrate train samples? The passage_match and answer_match always returns none for them right? |
@ksgr5566 Use a dsp.generate call to do the approximate passage_match and anwer_match! |
@okhat I don't understand on how that would work. Let me be more clear about my question:
My answers ( I want to be able to do multihop_demonstrate when demos consists of answers which are 2-3 sentences long. Could you be more clear on how to do this? |
Write a DSP program whose job is to implement passage match and answer match using dsp.generate (using the LLM) |
ohkk.. I made another answer_match like this:
This works for answer_match. One other doubt, why do we need passage_match in between, because finally answer_match does the work right? |
Excellent |
Might be a silly questions, however all the examples I have seen has to do with
short factoid answer, often between 1 and 5 words
, wanted to know if DSP is only meant for short factual answers? Or can it be also used for cases where we want paraphrasing or summarising over multiple chunks of text that might contain the answers of a question asked by the user? If yes, it would be great to see an example of the same.Thanks for all the great work!,
Regards,
Karrtik
The text was updated successfully, but these errors were encountered: