sreepathi-ravikumar commited on
Commit
bce3a95
·
verified ·
1 Parent(s): 420bb1a

Update text2generation.py

Browse files
Files changed (1) hide show
  1. text2generation.py +2 -2
text2generation.py CHANGED
@@ -19,8 +19,8 @@ def generate_long_answer(question):
19
  "role": "user",
20
  "content": f"Provide a comprehensive educational answer with examples:\n\n{question}"
21
  }],
22
- "temperature": 0.7,
23
- "max_tokens": 2000
24
  },
25
  timeout=30
26
  )
 
19
  "role": "user",
20
  "content": f"Provide a comprehensive educational answer with examples:\n\n{question}"
21
  }],
22
+ "temperature": 0.3,
23
+ "max_tokens": 1000
24
  },
25
  timeout=30
26
  )