Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error on "unk_token": tokenizer.convert_ids_to_tokens #6

Open
dagshub bot opened this issue Feb 6, 2024 · 1 comment
Open

Error on "unk_token": tokenizer.convert_ids_to_tokens #6

dagshub bot opened this issue Feb 6, 2024 · 1 comment

Comments

@dagshub
Copy link

dagshub bot commented Feb 6, 2024

This issue was created on DagsHub by:
Tizzzzy

I am getting this error

Traceback (most recent call last):

File "//train/LLaMA-8bit-LoRA/finetune_peft_8bit.py", line 261, in main() File "//train/LLaMA-8bit-LoRA/finetune_peft_8bit.py", line 188, in main "unk_token": tokenizer.convert_ids_to_tokens( File "/opt/conda/lib/python3.10/site-packages/transformers/tokenization_utils_fast.py", line 388, in convert_ids_to_tokens for index in ids:

TypeError: 'NoneType' object is not iterable

Copy link
Author

dagshub bot commented Feb 6, 2024

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants