Crystalcareai
commited on
Update generate.py
Browse files- generate.py +1 -3
generate.py
CHANGED
@@ -105,7 +105,7 @@ def generate(
|
|
105 |
do_sample=None,
|
106 |
early_stopping=None,
|
107 |
num_beams=None,
|
108 |
-
temperature=
|
109 |
streamer=None,
|
110 |
top_k=None,
|
111 |
top_p=None,
|
@@ -160,12 +160,10 @@ def generate(
|
|
160 |
# Set model properties
|
161 |
self.use_end_thought_token = True
|
162 |
self.use_start_thought_token = True
|
163 |
-
self.wandb_enabled = True
|
164 |
self.n_ahead = n_ahead
|
165 |
self.n_passes = 1
|
166 |
self.eval_mode = True
|
167 |
self.first_run = False
|
168 |
-
self.kill_after = 100
|
169 |
self.rm_initialized = True
|
170 |
self.original_mode = False
|
171 |
|
|
|
105 |
do_sample=None,
|
106 |
early_stopping=None,
|
107 |
num_beams=None,
|
108 |
+
temperature= 0.7,
|
109 |
streamer=None,
|
110 |
top_k=None,
|
111 |
top_p=None,
|
|
|
160 |
# Set model properties
|
161 |
self.use_end_thought_token = True
|
162 |
self.use_start_thought_token = True
|
|
|
163 |
self.n_ahead = n_ahead
|
164 |
self.n_passes = 1
|
165 |
self.eval_mode = True
|
166 |
self.first_run = False
|
|
|
167 |
self.rm_initialized = True
|
168 |
self.original_mode = False
|
169 |
|