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

fix: none prompt to string #2259

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

dongs0104
Copy link

When echo is true prompt must be string need to repeat

When echo is true prompt must be string need to repeat
@Superjomn
Copy link
Collaborator

The input of a list of int (token IDs) helps eliminate the need for a tokenizer, thus saving the overhead. Decoding the IDs back to string seems not that necessary.
May I know the motivation for the modification? @dongs0104

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

Successfully merging this pull request may close these issues.

3 participants