Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ key = os.environ.get("key")
|
|
12 |
from huggingface_hub import login
|
13 |
login(key)
|
14 |
from bitnet import replace_linears_in_hf
|
15 |
-
os.system("mkdir c4ai-command-r-v01-exl2")
|
16 |
-
os.system("huggingface-cli download bartowski/c4ai-command-r-v01-exl2 --revision 6_5 --local-dir c4ai-command-r-v01-exl2 --local-dir-use-symlinks False")
|
17 |
# os.system("pip install flash-attn --no-build-isolation")
|
18 |
nf4_config = BitsAndBytesConfig(
|
19 |
load_in_4bit=True,
|
|
|
12 |
from huggingface_hub import login
|
13 |
login(key)
|
14 |
from bitnet import replace_linears_in_hf
|
15 |
+
# os.system("mkdir c4ai-command-r-v01-exl2")
|
16 |
+
# os.system("huggingface-cli download bartowski/c4ai-command-r-v01-exl2 --revision 6_5 --local-dir c4ai-command-r-v01-exl2 --local-dir-use-symlinks False")
|
17 |
# os.system("pip install flash-attn --no-build-isolation")
|
18 |
nf4_config = BitsAndBytesConfig(
|
19 |
load_in_4bit=True,
|