unsloth error when trying to import - FastLanguageModel

Bump into this error that says "invalid syntax (<string>, line 4)" while trying to import FastLanguageModel. This happens right after "🦄 Unsloth Zoo will now patch everything to make training faster!"

Solution is the use trl lower than 0.15.0 as seen here:- 

 

After that, was able to get it working. 


Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type