Spaces:
Runtime error
Runtime error
Update model.py (#1)
Browse files- Update model.py (0b262e151f1ccfd32d1a19ae9daa34ecbb9636c3)
Co-authored-by: Nguyen Tan Phat <ntphat@users.noreply.huggingface.co>
123456import 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")from unsloth import FastLanguageModel12345678import osstr_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 FastLanguageModel
model.py+4-2