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 streaming #1

Merged
merged 1 commit into from
Jul 23, 2023
Merged

Fix streaming #1

merged 1 commit into from
Jul 23, 2023

Conversation

sumo43
Copy link
Contributor

@sumo43 sumo43 commented Jul 23, 2023

I'm not sure if there is a way to get sentencepiece to respect spacing when decoding individual tokens, but here is a way to have streaming working correctly (at the cost of being slightly slower).

@karpathy
Copy link
Owner

Okay I see. Haha.

@karpathy
Copy link
Owner

Okay I'll take it! Thank you.

@karpathy karpathy merged commit deb3818 into karpathy:master Jul 23, 2023
@aneeshjoy aneeshjoy mentioned this pull request Jul 25, 2023
vinhtran2611 pushed a commit to vinhtran2611/llama2.c that referenced this pull request Jan 20, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants