dygoo commited on
Commit
59b7907
·
verified ·
1 Parent(s): d6e7e30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -121,10 +121,10 @@ class BasicAgent:
121
 
122
  """Initialize the Gemini model with appropriate settings"""
123
  generation_config = {
124
- "temperature": 0.1,
125
- "top_p": 0.95,
126
- "top_k": 40,
127
- "max_output_tokens": 10000,
128
  }
129
 
130
  safety_settings = {
@@ -279,7 +279,7 @@ class BasicAgent:
279
  6. If the information doesn't contain the answer, say so honestly.
280
  7. Do not invent anything. You can apply method to elaborate, but based on facts. Do not provide comments. Just the raw answer.
281
  8. Format your response as a direct answer. For example, if you are asked the year in which World War II began, just reply: "FINAL ANSWER: 1939".
282
- 9. Do not include your thoughts in your response. Only the final answer can be in your response.
283
 
284
  Question: {question}
285
 
 
121
 
122
  """Initialize the Gemini model with appropriate settings"""
123
  generation_config = {
124
+ "temperature": 0.2,
125
+ "top_p": 0.8,
126
+ "top_k": 30,
127
+ "max_output_tokens": 100000,
128
  }
129
 
130
  safety_settings = {
 
279
  6. If the information doesn't contain the answer, say so honestly.
280
  7. Do not invent anything. You can apply method to elaborate, but based on facts. Do not provide comments. Just the raw answer.
281
  8. Format your response as a direct answer. For example, if you are asked the year in which World War II began, just reply: "FINAL ANSWER: 1939".
282
+ 9. Think thoroughly, but do not include your thoughts in your response. Only the final answer can be in your response.
283
 
284
  Question: {question}
285