Spaces:
Runtime error
Runtime error
tbboukhari
commited on
Commit
•
3963c3f
1
Parent(s):
030e3c3
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ if not torch.cuda.is_available():
|
|
25 |
|
26 |
|
27 |
if torch.cuda.is_available():
|
28 |
-
model_id = "
|
29 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto")
|
30 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
31 |
tokenizer.use_default_system_prompt = False
|
|
|
25 |
|
26 |
|
27 |
if torch.cuda.is_available():
|
28 |
+
model_id = "mistralai/Mistral-7B-Instruct-v0.1"
|
29 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto")
|
30 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
31 |
tokenizer.use_default_system_prompt = False
|