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

Avoid unhashable additional_special_tokens values in special_tokens_map #314

Conversation

brandonwillard
Copy link
Contributor

This PR changes the way that transformer's special tokens are used in order to account for unhashable special_tokens_map values.

@brandonwillard brandonwillard self-assigned this Oct 3, 2023
@brandonwillard brandonwillard added bug transformers Linked to the `transformers` integration labels Oct 3, 2023
@brandonwillard brandonwillard merged commit 07a9535 into outlines-dev:main Oct 3, 2023
5 checks passed
@brandonwillard brandonwillard deleted the fix-addition-special-tokens-unhashable branch October 3, 2023 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug transformers Linked to the `transformers` integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant