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

template differences? #77

Open
tsw123678 opened this issue Jun 11, 2024 · 1 comment
Open

template differences? #77

tsw123678 opened this issue Jun 11, 2024 · 1 comment

Comments

@tsw123678
Copy link

Are there any differences in the _make_masks function across different LLM models? Don't they all compute loss only for the response part? What causes the variations among them?

@jiajunlong
Copy link
Contributor

Different models use different tokenizers, and when different tokenizers tokenize the text, the corresponding label positions are different.

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