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

Remove EOS token before passing the tokenized input to model #4814

Closed
VallabhMahajan1 opened this issue May 14, 2024 · 0 comments · Fixed by #5077
Closed

Remove EOS token before passing the tokenized input to model #4814

VallabhMahajan1 opened this issue May 14, 2024 · 0 comments · Fixed by #5077
Labels

Comments

@VallabhMahajan1
Copy link

VallabhMahajan1 commented May 14, 2024

How to remove eos token id before passing the input tokens to model. I'm trying for fine-tuned mistral model. Just because there is an eos token id at the end of sentence, model generates the results for a different input which is similar to original input

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

Successfully merging a pull request may close this issue.

1 participant