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

content of 'labels' when doing prompt tuning of llama-2 on QA #561

Open
caochuxueeee opened this issue Mar 12, 2024 · 0 comments
Open

content of 'labels' when doing prompt tuning of llama-2 on QA #561

caochuxueeee opened this issue Mar 12, 2024 · 0 comments

Comments

@caochuxueeee
Copy link

I saw that on classification tasks, the 'labels' are target values. When using CausalLM model to tune it on QA dataset, the format should be

  1. input_ids: Q; labels:A or
  2. input_ids: Q+A, labels: Q+A or
  3. input_ids: Q+A, labels: IGNORE_TOKENs+A ?

Thank you!

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

1 participant