nafisneehal commited on
Commit
eab0404
·
verified ·
1 Parent(s): 47db4ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -75,9 +75,8 @@ def generate_response(system_instruction, user_input):
75
 
76
  # Define generation configuration
77
  meta_config = {
78
- "do_sample": True,
79
- "temperature": 0.1,
80
- "top_p": 0.9,
81
  "max_new_tokens": 256,
82
  "repetition_penalty": 1.2,
83
  "use_cache": True
 
75
 
76
  # Define generation configuration
77
  meta_config = {
78
+ "do_sample": False,
79
+ "temperature": 0.0,
 
80
  "max_new_tokens": 256,
81
  "repetition_penalty": 1.2,
82
  "use_cache": True