Skip to content

Commit ea4f19f

Browse files
committed
remove some comments
1 parent 4e6fad2 commit ea4f19f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/bbh/run_prompt_bigbench_trace.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ def forward(self, question):
199199

200200

201201
def learn_predict(dp, optimizer, examples, val_examples, task_name, save_dir):
202-
# optimizer.objective = "Be mindful of the type of answer you need to produce." + optimizer.default_objective
203202
cum_reward = 0
204203
epochs = 1
205204

@@ -216,7 +215,7 @@ def learn_predict(dp, optimizer, examples, val_examples, task_name, save_dir):
216215
no_error = True
217216
except ExecutionError as e:
218217
# load in the previous best checkpoint, and try to optimize from that again
219-
# an error recovery mode (similar to MCTS!?)
218+
# an error recovery mode (error backtracking)
220219
if len(val_perfs) > 0:
221220
best_checkpoint = max(val_perfs, key=val_perfs.get)
222221
dp.load(best_checkpoint)

0 commit comments

Comments
 (0)