Sandiago21 commited on
Commit
d66c78b
·
verified ·
1 Parent(s): fab3e3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,7 +45,7 @@ class Config(object):
45
  self.temperature = 0.1
46
  self.repetition_penalty = 1.2
47
  self.DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
48
- self.model_name = "Qwen/Qwen2.5-14B-Instruct"
49
  # self.model_name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B"
50
  # self.reasoning_model_name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B"
51
  # self.reasoning_model_name = "Qwen/Qwen2.5-7B-Instruct"
@@ -984,9 +984,9 @@ class BasicAgent:
984
  # if " image " not in question and " video " not in question:
985
  # if question == "Who nominated the only Featured Article on English Wikipedia about a dinosaur that was promoted in November 2016?" or question == "What is the first name of the only Malko Competition recipient from the 20th Century (after 1977) whose nationality on record is a country that no longer exists?":
986
  # if question == "The attached Excel file contains the sales of menu items for a local fast-food chain. What were the total sales that the chain made from food (not including drinks)? Express your answer in USD with two decimal places.":
987
- if question == "Where were the Vietnamese specimens described by Kuznetzov in Nedoshivina's 2010 paper eventually deposited? Just give me the city name without abbreviations.":
988
 
989
- # if question != "aalskdalsdh" and filename == "":
990
  time.sleep(60)
991
 
992
 
 
45
  self.temperature = 0.1
46
  self.repetition_penalty = 1.2
47
  self.DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
48
+ self.model_name = "Qwen/Qwen2.5-7B-Instruct"
49
  # self.model_name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B"
50
  # self.reasoning_model_name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B"
51
  # self.reasoning_model_name = "Qwen/Qwen2.5-7B-Instruct"
 
984
  # if " image " not in question and " video " not in question:
985
  # if question == "Who nominated the only Featured Article on English Wikipedia about a dinosaur that was promoted in November 2016?" or question == "What is the first name of the only Malko Competition recipient from the 20th Century (after 1977) whose nationality on record is a country that no longer exists?":
986
  # if question == "The attached Excel file contains the sales of menu items for a local fast-food chain. What were the total sales that the chain made from food (not including drinks)? Express your answer in USD with two decimal places.":
987
+ # if question == "Where were the Vietnamese specimens described by Kuznetzov in Nedoshivina's 2010 paper eventually deposited? Just give me the city name without abbreviations.":
988
 
989
+ if question != "aalskdalsdh" and filename == "":
990
  time.sleep(60)
991
 
992