-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
{% if add_generation_prompt %}
[FIXED]
#1284
Comments
I have a similar issue when running
TemplateSyntaxError: Encountered unknown tag 'endfor'. Jinja was looking for the following tags: 'elif' or 'else' or 'endif'. The innermost block that needs to be closed is 'if'. |
{% if add_generation_prompt %}
Error
{% if add_generation_prompt %}
Error{% if add_generation_prompt %}
Apologies just fixed @giuliabaldini @xizhangmable - thanks for reporting! Please update Unsloth on local machines via For Colab, Kaggle just refresh! |
{% if add_generation_prompt %}
{% if add_generation_prompt %}
[FIXED]
I am still getting this error in google colab in a new session. I was helped by rolling back to a2f8db3RuntimeError Traceback (most recent call last) 3 frames RuntimeError: Unsloth: The tokenizer |
Getting this issue on kaggle with the same Meta-Llama-3.1-8B-Instruct-abliterated model. @GreenBogDes mind sharing how you installed? I've tried
|
What helped me was adding those lines:
But it still doesn't work in the new version. Here's my notebook: https://colab.research.google.com/drive/1MGwKUq1O46IFkR5R6MmPn1ZtonaDhSN9?usp=sharing |
This actually worked for me. Very hacky, but here's what I have so far, if it helps anyone else. Some commands taken from the Colab starter notebook.
Then, after loading the model:
It appears to be training now. |
Hi there,
if I run my usual code after the Qwen 2.5 commit, I get multiple errors. The first one is the following
which is probably because of the change in this line. Once I fix that, I still get
Any ideas?
Best,
Giulia
The text was updated successfully, but these errors were encountered: