We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is related to #29617, similar issue as described in there so this is kind of a placeholder. Should be fixed by #28881.
@ArthurZucker
examples
from transformers import AutoTokenizer tokenizer = AutoTokenizer.from_pretrained('google/gemma-7b', use_auth=True) sentence = 'Sampel to demonstrate the issue' input_encoding = tokenizer(sentence, add_special_tokens=True) tokens = input_encoding.tokens() word_ids = input_encoding.word_ids() print(f'Tokens produced: {tokens}\nReferenced word ids: {word_ids}')
Correct split(s) assigned.
The text was updated successfully, but these errors were encountered:
LlamaTokenizerFast
Successfully merging a pull request may close this issue.
Preface
This is related to #29617, similar issue as described in there so this is kind of a placeholder. Should be fixed by #28881.
Who can help?
@ArthurZucker
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Expected behavior
Correct split(s) assigned.
The text was updated successfully, but these errors were encountered: