magdap116 commited on
Commit
97f5823
·
verified ·
1 Parent(s): c5a1530

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -53,7 +53,7 @@ def cache_answer(question: str, answer: str):
53
 
54
 
55
  # --- Model Setup ---
56
- MODEL_NAME = 'mistralai/Mistral-7B-Instruct-v0.2'
57
 
58
  def load_model():
59
  """Download and load the model and tokenizer."""
@@ -68,8 +68,8 @@ def load_model():
68
  raise
69
 
70
  # Load the model and tokenizer locally
71
- #model, tokenizer = load_model()
72
- model = HfApiModel(model_id='mistralai/Mistral-7B-Instruct-v0.2', max_tokens=512)
73
 
74
 
75
  class BasicAgent:
 
53
 
54
 
55
  # --- Model Setup ---
56
+ MODEL_NAME = 'deepseek-ai/DeepSeek-R1-Distill-Qwen-7B'#'mistralai/Mistral-7B-Instruct-v0.2'
57
 
58
  def load_model():
59
  """Download and load the model and tokenizer."""
 
68
  raise
69
 
70
  # Load the model and tokenizer locally
71
+ model, tokenizer = load_model()
72
+ #model = HfApiModel(model_id='mistralai/Mistral-7B-Instruct-v0.2', max_tokens=512)
73
 
74
 
75
  class BasicAgent: