Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import os
|
2 |
-
|
3 |
-
|
4 |
# os.system('pip install -q git+https://github.com/zphang/transformers@c3dc391')
|
5 |
# os.system('pip install -q git+https://github.com/huggingface/transformers')
|
6 |
os.system('pip install -q git+https://github.com/mbehm/transformers')
|
@@ -10,7 +10,7 @@ os.system('pip install -q git+https://github.com/huggingface/peft.git')
|
|
10 |
# os.system('pip install peft')
|
11 |
# os.system('pip install transformers')
|
12 |
os.system('pip install tenacity')
|
13 |
-
os.system('pip install sentencepiece')
|
14 |
|
15 |
import re
|
16 |
import yaml
|
|
|
1 |
import os
|
2 |
+
os.system('pip install bitsandbytes')
|
3 |
+
os.system('pip install -q datasets loralib sentencepiece accelerate')
|
4 |
# os.system('pip install -q git+https://github.com/zphang/transformers@c3dc391')
|
5 |
# os.system('pip install -q git+https://github.com/huggingface/transformers')
|
6 |
os.system('pip install -q git+https://github.com/mbehm/transformers')
|
|
|
10 |
# os.system('pip install peft')
|
11 |
# os.system('pip install transformers')
|
12 |
os.system('pip install tenacity')
|
13 |
+
# os.system('pip install sentencepiece')
|
14 |
|
15 |
import re
|
16 |
import yaml
|