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

Improved the BatchedDecoding demo #444

Merged

Conversation

martindevans
Copy link
Member

Improved the BatchedDecoding demo:

  • using less NativeHandle (added high level Tokenize method on LLamaWeights)
  • Using StreamingTokenDecoder instead of obsolete detokenize method

 - using less `NativeHandle`
 - Using `StreamingTokenDecoder` instead of obsolete detokenize method
@martindevans martindevans merged commit 892e841 into SciSharp:master Jan 20, 2024
3 checks passed
@martindevans martindevans deleted the batched_sampling_example_cleanup branch January 20, 2024 17:47
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.

1 participant