You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: HRM/hrm.py
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,8 @@ def __init__(
79
79
min_reasoning_steps_epsilon_prob=0.5, # they stochastically choose the minimum segment from 2 .. max with this probability, and 1 step the rest of the time
80
80
max_reasoning_steps=10,
81
81
act_loss_weight=1.,
82
-
ignore_index=-1
82
+
discount_factor=1.,
83
+
ignore_index=-1,
83
84
):
84
85
super().__init__()
85
86
@@ -134,6 +135,8 @@ def __init__(
134
135
135
136
# Q(continue|halt) for their adaptive computation time setup
0 commit comments