Spaces:
Runtime error
Runtime error
Update model.py
#1
by ntphat - opened
1232345678import osos.system("pip install 'unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git'")os.system("pip install --no-deps xformers "trl<0.9.0" peft accelerate bitsandbytes")str_cmd1 = 'pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"str_cmd2 = 'pip install --no-deps xformers "trl<0.9.0" peft accelerate bitsandbytes'os.system(str_cmd1)os.system(str_cmd2)
from unsloth import FastLanguageModelmodel.py+4-2