Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import os
|
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
|
10 |
# Load tokenizer and model
|
11 |
-
tokenizer = AutoTokenizer.from_pretrained('stabilityai/stablelm-zephyr-3b'
|
12 |
model = AutoModelForCausalLM.from_pretrained(
|
13 |
'stabilityai/stablelm-zephyr-3b',
|
14 |
trust_remote_code=True,
|
|
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
|
10 |
# Load tokenizer and model
|
11 |
+
tokenizer = AutoTokenizer.from_pretrained('stabilityai/stablelm-zephyr-3b')
|
12 |
model = AutoModelForCausalLM.from_pretrained(
|
13 |
'stabilityai/stablelm-zephyr-3b',
|
14 |
trust_remote_code=True,
|