You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@C00reNUT I just pushed a new pre-release commit to the main branch which in theory supports Yi, Mistral (but one must change the config file from MistralForCausalLM to LlamaForCausalLM) and all GQA models.
If it's possible - it'll be cool if u can try it out!!
On Kaggle - yes I'll probably make a nice table for Alpaca, LAION, OASST etc, for Colab, Kaggle and the original HF implement so ie 9 notebooks - I will do that once I finish Mistral support!!!
Activity
danielhanchen commentedon Dec 6, 2023
@C00reNUT I just pushed a new pre-release commit to the main branch which in theory supports Yi, Mistral (but one must change the config file from
MistralForCausalLMtoLlamaForCausalLM) and all GQA models.If it's possible - it'll be cool if u can try it out!!
On Kaggle - yes I'll probably make a nice table for Alpaca, LAION, OASST etc, for Colab, Kaggle and the original HF implement so ie 9 notebooks - I will do that once I finish Mistral support!!!
C00reNUT commentedon Dec 6, 2023
Yes, I will try to finetune Yi-34B locally on 3090 this or next week, I will let you know!
danielhanchen commentedon Dec 7, 2023
@C00reNUT Cool thanks!
lapp0 commentedon Dec 7, 2023
Yi has the same architecture as Llama 2 with some modules renamed.
Here is a version with the modules renamed to fit Llama 2 https://huggingface.co/chargoddard/Yi-34B-Llama
danielhanchen commentedon Dec 8, 2023
@lapp0 I think Yi maybe should work now maybe? I remember the Yi team replaced the model arch to Llama
lapp0 commentedon Dec 8, 2023
You are correct, their model and tokenizer architecture are now
LlamaForCausalLM.Could you explain what architecture changes were needed on unsloths end to enable Yi given this information?
(Currently finetuning Yi-34B with the basic expectations showing: decreasing loss, no errors)
danielhanchen commentedon Dec 9, 2023
@lapp0 Oh I accidentally screwed up GQA loll!! So technically I broke the code myself :(
danielhanchen commentedon Dec 12, 2023
@lapp0 just updated Unsloth - Yi 34B should now use much less memory and be faster! :)
Vision support (unslothai#17)
Vision support (unslothai#17)
Vision support (unslothai#17)
Merge pull request unslothai#17 from unslothai/fix/refactor-dataset-u…