Spaces:
Runtime error
Runtime error
alfonsovelp
commited on
Commit
•
b53a36f
1
Parent(s):
9e87282
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from huggingface_hub import InferenceClient
|
|
5 |
model_id = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
7 |
|
8 |
-
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto"
|
9 |
|
10 |
|
11 |
|
|
|
5 |
model_id = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
7 |
|
8 |
+
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
|
9 |
|
10 |
|
11 |
|