Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
3 |
import spaces
|
4 |
|
5 |
# Load model and tokenizer
|
6 |
-
model_name = "Magpie-Align/
|
7 |
|
8 |
device = "cuda" # the device to load the model onto
|
9 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
|
|
3 |
import spaces
|
4 |
|
5 |
# Load model and tokenizer
|
6 |
+
model_name = "Magpie-Align/MagpieLM-4B-v0.1"
|
7 |
|
8 |
device = "cuda" # the device to load the model onto
|
9 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|