Spaces:
Paused
Paused
Jonathan Tow
commited on
Commit
•
a6c46e0
1
Parent(s):
6f7c28c
fix: update paths
Browse files
app.py
CHANGED
@@ -10,11 +10,11 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, BatchEncoding, Tex
|
|
10 |
|
11 |
auth_token = os.environ.get("HUGGINGFACE_TOKEN")
|
12 |
tokenizer = AutoTokenizer.from_pretrained(
|
13 |
-
"
|
14 |
use_auth_token=auth_token if auth_token else True,
|
15 |
)
|
16 |
model = AutoModelForCausalLM.from_pretrained(
|
17 |
-
"
|
18 |
torch_dtype=torch.float16,
|
19 |
low_cpu_mem_usage=True,
|
20 |
device_map="auto",
|
|
|
10 |
|
11 |
auth_token = os.environ.get("HUGGINGFACE_TOKEN")
|
12 |
tokenizer = AutoTokenizer.from_pretrained(
|
13 |
+
"stabilityai/stable-vicuna-13b-fp16",
|
14 |
use_auth_token=auth_token if auth_token else True,
|
15 |
)
|
16 |
model = AutoModelForCausalLM.from_pretrained(
|
17 |
+
"stabilityai/stable-vicuna-13b-fp16",
|
18 |
torch_dtype=torch.float16,
|
19 |
low_cpu_mem_usage=True,
|
20 |
device_map="auto",
|