Spaces:
Runtime error
Runtime error
Update app.py
Browse files4 unmodified lines567889101112131415151617184 unmodified linesimport torch
# ---------- STEP 1: Fine-tuned 모델 Git에서 clone ----------repo_url = "https://github.com/yourusername/your-finetuned-model"repo_url = "DMID23/MachineToolAgent"local_dir = "./finetuned_model"
if not os.path.exists(local_dir): subprocess.run(["git", "clone", repo_url, local_dir])
# ---------- STEP 2: Tokenizer와 모델 로드 ----------base_model = "mistralai/Mistral-7B-Instruct-v0.2"base_model = "mistralai/Mistral-7B-Instruct-v0.1"
tokenizer = AutoTokenizer.from_pretrained(base_model)
app.py+2-2