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

Difference between training / generation input format. #33

Open
hbin0701 opened this issue May 30, 2024 · 0 comments
Open

Difference between training / generation input format. #33

hbin0701 opened this issue May 30, 2024 · 0 comments

Comments

@hbin0701
Copy link

hbin0701 commented May 30, 2024

Hi guys! :)
Thanks for making your code open-source.
One quick question. I've realized that in run_spin.py, you use apply_chat_template which differs from the format
of generate.py or generate_vllm.py which just tokenizes the following formatted string

"### Instruction: " + data[idx][0]['content'] + "\n\n### Response: " for idx in range(len(data))]

Please correct me if I am wrong😅
Thanks in advance!

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