cowrycode commited on
Commit
d5d2040
·
verified ·
1 Parent(s): 2ca19ef

Update gaia_agent.py

Browse files
Files changed (1) hide show
  1. gaia_agent.py +10 -1
gaia_agent.py CHANGED
@@ -53,13 +53,22 @@ api_key = os.getenv("HF_TOKEN")
53
  # search_tool = DuckDuckGoSearchRun()
54
 
55
  # Generate the chat interface, including the tools
 
 
 
 
 
 
56
  llm = HuggingFaceEndpoint(
57
- repo_id="deepseek-ai/DeepSeek-R1-0528",
58
  huggingfacehub_api_token=api_key,
59
  timeout=300,
 
 
60
  )
61
 
62
 
 
63
  # # Initialize local Ollama model
64
  # llm Ollama(model="qwen2.5-coder", base_url="http://127.0.0.1:11434")
65
 
 
53
  # search_tool = DuckDuckGoSearchRun()
54
 
55
  # Generate the chat interface, including the tools
56
+ # llm = HuggingFaceEndpoint(
57
+ # repo_id="deepseek-ai/DeepSeek-R1-0528",
58
+ # huggingfacehub_api_token=api_key,
59
+ # timeout=300,
60
+ # )
61
+
62
  llm = HuggingFaceEndpoint(
63
+ repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1",
64
  huggingfacehub_api_token=api_key,
65
  timeout=300,
66
+ max_new_tokens=512,
67
+ temperature=0.2,
68
  )
69
 
70
 
71
+
72
  # # Initialize local Ollama model
73
  # llm Ollama(model="qwen2.5-coder", base_url="http://127.0.0.1:11434")
74