Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,8 +10,8 @@ login(token)
|
|
| 10 |
|
| 11 |
base_model = "mistralai/Mistral-7B-Instruct-v0.1"
|
| 12 |
|
| 13 |
-
tokenizer = AutoTokenizer.from_pretrained(base_model,
|
| 14 |
-
model = AutoModelForCausalLM.from_pretrained(base_model, torch_dtype="auto",
|
| 15 |
|
| 16 |
# ---------- STEP 1: Fine-tuned 모델 Git에서 clone ----------
|
| 17 |
repo_url = "DMID23/MachineToolAgent"
|
|
|
|
| 10 |
|
| 11 |
base_model = "mistralai/Mistral-7B-Instruct-v0.1"
|
| 12 |
|
| 13 |
+
tokenizer = AutoTokenizer.from_pretrained(base_model, token=True)
|
| 14 |
+
model = AutoModelForCausalLM.from_pretrained(base_model, torch_dtype="auto", token=True)
|
| 15 |
|
| 16 |
# ---------- STEP 1: Fine-tuned 모델 Git에서 clone ----------
|
| 17 |
repo_url = "DMID23/MachineToolAgent"
|