thinh111 ntphat commited on
Commit
3cd6ba6
β€’
1 Parent(s): d5b6f88

Update model.py (#1)

Browse files

- Update model.py (0b262e151f1ccfd32d1a19ae9daa34ecbb9636c3)


Co-authored-by: Nguyen Tan Phat <[email protected]>

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