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 can we do evaluation few-shot in Chat-template? #1490

Open
srn-source opened this issue Feb 28, 2024 · 0 comments
Open

How can we do evaluation few-shot in Chat-template? #1490

srn-source opened this issue Feb 28, 2024 · 0 comments

Comments

@srn-source
Copy link

prompt = """<|im_start|>system
You are a helpful assistant.<|im_start|>user
Qus1;.......<|im_start|>assistant
Ans;1.............<|im_start|>user
Qus;2.......<|im_start|>assistant
Ans;2............."""

or

prompt = """<|im_start|>system
You are a helpful assistant.<|im_start|>user
Qus1;.......<|im_start|>assistant
Ans1;.............

<|im_start|>system
You are a helpful assistant.<|im_start|>user
Qus2;.......<|im_start|>assistant
Ans2;.............
"""

lm-evaluation-harness didnt support the first format when i do few shot they support on second format that why i am not sure which format are used when eval Chat-template (Chat Model) ?

I don't know how we do it theoretically. Somebody can help me?

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