You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @zou-group, thank you very much for your works!
I am working on a problem where (i) the input contains multiple fields, only one field general instruction would remain constant and defined by us (to be optimized), whereas the other fields are specified by the user at inference time (dataset-dependent). Also, (ii) this task requires structured output so I'm also preparing few-shot examples for it (must-have to teach models to output the right format).
I haven't seen examples on how to (i) pass several input fields (one requires gradient only) to the model and loss function or (ii) pass few shot examples. I have gone through simple use cases such as question answering, but no sure how to handle these two problems (i) and (ii). Could you help me (e.g. where to start, besides the notebook examples) ?
My current codes look like this (which run but results are terrible):
Hi @zou-group, thank you very much for your works!
I am working on a problem where (i) the input contains multiple fields, only one field
general instruction
would remain constant and defined by us (to be optimized), whereas the other fields are specified by the user at inference time (dataset-dependent). Also, (ii) this task requires structured output so I'm also preparing few-shot examples for it (must-have to teach models to output the right format).I haven't seen examples on how to (i) pass several input fields (one requires gradient only) to the model and loss function or (ii) pass few shot examples. I have gone through simple use cases such as question answering, but no sure how to handle these two problems (i) and (ii). Could you help me (e.g. where to start, besides the notebook examples) ?
My current codes look like this (which run but results are terrible):
cc @vinid @mertyg @nihalnayak @sugatoray @lupantech @ruanwz
The text was updated successfully, but these errors were encountered: