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 issue with encodings for together models. #483

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

JoelNiklaus
Copy link
Contributor

@JoelNiklaus JoelNiklaus commented Jan 3, 2025

Together models don't return the token ids directly, but an Encoding object that contains a field ids.

Error: TypeError: 'tokenizers.Encoding' object is not iterable

@HuggingFaceDocBuilderDev
Copy link
Collaborator

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@clefourrier clefourrier merged commit 2073a29 into huggingface:main Jan 7, 2025
3 checks passed
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.

4 participants