lamekemal commited on
Commit
cc825ac
·
verified ·
1 Parent(s): 39f7fec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def train_model():
12
 
13
  # Chargement du modèle (fine-tuné si dispo, sinon base)
14
  def load_model():
15
- model_name = MODEL_DIR if os.path.exists(MODEL_DIR) else "mistralai/Mistral-7B-Instruct-v0.2"
16
  tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
17
  model = AutoModelForCausalLM.from_pretrained(
18
  model_name,
 
12
 
13
  # Chargement du modèle (fine-tuné si dispo, sinon base)
14
  def load_model():
15
+ model_name = MODEL_DIR if os.path.exists(MODEL_DIR) else "mistralai/Mistral-7B-Instruct-v0.3"
16
  tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
17
  model = AutoModelForCausalLM.from_pretrained(
18
  model_name,