-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ValueError: Token None for key pad_token should be a str or an AddedToken instance #5
Comments
I shall fix this ASAP! Thanks for the report! |
@FlatMapIO Possibly fixed this! It would be awesome if you could check if the preliminary version out! Just reinstall / update :)) |
Is there a reason why |
is it really fixed? unsloth/unsloth/models/_utils.py Line 151 in d215fd9
so it's like |
Working on a quick fix now, just like Redix8 said, it is failing with Deepseek math when the unk_token is null. Therefore, adding another conditional check in line 151 and making a pull request. |
@Redix8 in the meantime, you can use the following approach to get around this issue until it is fixed:
|
Failed to load deepseek-ai/deepseek-llm-7b-base (which is a model of the llama 2 architecture), is the following code necessary? hf tokenizer should automatically handle this according to tokenizer_config.json?
unsloth/unsloth/models/llama.py
Lines 599 to 601 in 3aa16bb
The text was updated successfully, but these errors were encountered: