Skip to content
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

how to choose the finetuning script for question-answering task #39

Closed
shaomai00 opened this issue Oct 28, 2022 · 2 comments
Closed

how to choose the finetuning script for question-answering task #39

shaomai00 opened this issue Oct 28, 2022 · 2 comments

Comments

@shaomai00
Copy link

I have a task ,which given a question, using the [sMASK] token to generate the answer sentence, which finetuning script should I use?
Should I use the text-summarization finetuning script ?

@duzx16
Copy link
Member

duzx16 commented Oct 28, 2022

Yes. You should process the data into {split}.source and {split}.target (where split can be train, val and test). Each line contains the source text or the target text of an input example.

@duzx16 duzx16 closed this as completed Oct 30, 2022
@shaomai00
Copy link
Author

Thanks! I have successfully run it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants