ntphat commited on
Commit
0b262e1
Β·
verified Β·
1 Parent(s): d5b6f88

Update model.py

Browse files

fixed " character issue

Files changed (1) hide show
  1. model.py +4 -2
model.py CHANGED
@@ -1,6 +1,8 @@
1
  import os
2
- os.system("pip install 'unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git'")
3
- os.system("pip install --no-deps xformers "trl<0.9.0" peft accelerate bitsandbytes")
 
 
4
 
5
 
6
  from unsloth import FastLanguageModel
 
1
  import os
2
+ str_cmd1 = 'pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
3
+ str_cmd2 = 'pip install --no-deps xformers "trl<0.9.0" peft accelerate bitsandbytes'
4
+ os.system(str_cmd1)
5
+ os.system(str_cmd2)
6
 
7
 
8
  from unsloth import FastLanguageModel