Spaces:
Sleeping
Sleeping
Commit
·
dee7b02
1
Parent(s):
8af9829
updated app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ if HF_TOKEN is None:
|
|
| 40 |
raise ValueError("HF_TOKEN is not set. Check your .env file.")
|
| 41 |
login(HF_TOKEN, add_to_git_credential=True)
|
| 42 |
|
| 43 |
-
model_name = "mistralai/Mistral-7B-Instruct-v0.
|
| 44 |
|
| 45 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 46 |
model = AutoModelForCausalLM.from_pretrained(
|
|
|
|
| 40 |
raise ValueError("HF_TOKEN is not set. Check your .env file.")
|
| 41 |
login(HF_TOKEN, add_to_git_credential=True)
|
| 42 |
|
| 43 |
+
model_name = "mistralai/Mistral-7B-Instruct-v0.3"
|
| 44 |
|
| 45 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 46 |
model = AutoModelForCausalLM.from_pretrained(
|