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 to generate <|end_of_text|> ? #17

Open
gfvvz opened this issue May 30, 2024 · 1 comment
Open

How to generate <|end_of_text|> ? #17

gfvvz opened this issue May 30, 2024 · 1 comment

Comments

@gfvvz
Copy link

gfvvz commented May 30, 2024

I add a for loop for this program, and attach the next token to the end of prompt, it will not generate the <|end_of_text|> , just generate the same context again and again, for example, we use 2x8= as original prompt, but it will generate the sequence like this: ['<|begin_of_text|>', '2', 'x', '9', '=', '18', '\n', '2', 'x', '9', '=', '18', '\n', '2', 'x']

@XieTTT
Copy link

XieTTT commented Jun 14, 2024

Do you know how to generate <|end_of_text|> now?

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