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
use_turn_scores: False # important to GAE when applying token-level rewards to token-level advantages. If False, will take the sum of scores as the reward for the last turn.
max_actions_per_traj: ${max_actions_per_traj} # used in environment state manager to control the actual max actions executed per trajectory
139
-
max_steps_per_traj: ${max_actions_per_traj}
140
-
env_instruction: "You are solving the Sokoban puzzle. You are the player and you need to push all boxes to targets. When you are right next to a box, you can push it by moving in the same direction. You cannot push a box through a wall, and you cannot pull a box. The answer must be one of action in a turn, format is <answer>Right</answer>"
141
-
max_tokens: 100# used to curate llm prompt "max words", not used for rollout
142
-
env_config: # keys should be a subset of SokobanConfig
143
-
dim_x: 6
144
-
dim_y: 6
145
-
num_boxes: 1
146
-
max_steps: ${max_actions_per_traj}
147
-
LargerSokoban:
148
-
env_type: sokoban
149
-
max_actions_per_traj: ${max_actions_per_traj}
150
-
max_steps_per_traj: ${max_actions_per_traj}
151
-
env_instruction: "You are solving the Sokoban puzzle. You are the player and you need to push all boxes to targets. When you are right next to a box, you can push it by moving in the same direction. You cannot push a box through a wall, and you cannot pull a box. The answer must be one of action in a turn, format is <answer>Right</answer>"
152
-
max_tokens: 100
153
-
env_config:
154
-
dim_x: 8
155
-
dim_y: 8
156
-
num_boxes: 2
157
-
max_steps: ${max_actions_per_traj}
158
-
search_depth: 10
159
-
SokobanDifferentGridVocab:
160
-
env_type: sokoban
161
-
max_actions_per_traj: ${max_actions_per_traj}
162
-
max_steps_per_traj: ${max_actions_per_traj}
163
-
env_instruction: "You are solving the Sokoban puzzle. You are the player and you need to push all boxes to targets. When you are right next to a box, you can push it by moving in the same direction. You cannot push a box through a wall, and you cannot pull a box. The answer must be one of action in a turn, format is <answer>Right</answer>"
164
-
max_tokens: 100
165
-
env_config: # keys should be a subset of SokobanConfig
env_instruction: "You are solving the FrozenLake puzzle. Forbid the whole and go to the target. You may move to the unintended direction due to the slippery ice. The answer must be one of action in a turn, format is <answer>Right</answer>"
# under the same group, the env config and env seed are ensured to be equal
185
139
group_size: 1
186
140
tags: [FrozenLake]
187
-
n_groups: [1] # If not set, all env names divide nums equally. Under the same group, the env config and env seed (prompt) are equal in each generation
141
+
num_groups_partition: [1] # If not set, all env names divide nums equally. Under the same group, the env config and env seed (prompt) are equal in each generation
188
142
189
143
val_env_manager:
190
-
env_groups: 2
144
+
max_env_num_per_worker: 1
145
+
num_env_groups: 2
191
146
group_size: 1# should be set to 1 because val temperature is set to 0 and same prompt leads to same output
192
-
tags: [SimpleSokoban, FrozenLake]
193
-
n_groups: [1, 1] # TODO: If not set, all env names divide nums equally. Under the same group, the env config and env seed (prompt) are equal in each generation
147
+
tags: [SimpleSokoban, LargerSokoban]
148
+
num_groups_partition: [1, 1] # TODO: If not set, all env names divide nums equally. Under the same group, the env config and env seed (prompt) are equal in each generation
use_turn_scores: False # important to GAE when applying token-level rewards to token-level advantages. If False, will take the sum of scores as the reward for the last turn.
max_actions_per_traj: ${max_actions_per_traj} # used in environment state manager to control the actual max actions executed per trajectory
139
-
max_steps_per_traj: ${max_actions_per_traj}
140
-
env_instruction: "You are solving the Sokoban puzzle. You are the player and you need to push all boxes to targets. When you are right next to a box, you can push it by moving in the same direction. You cannot push a box through a wall, and you cannot pull a box. The answer must be one of action in a turn, format is <answer>Right</answer>"
141
-
max_tokens: 100# used to curate llm prompt "max words", not used for rollout
142
-
env_config: # keys should be a subset of SokobanConfig
143
-
dim_x: 6
144
-
dim_y: 6
145
-
num_boxes: 1
146
-
max_steps: ${max_actions_per_traj}
147
-
LargerSokoban:
148
-
env_type: sokoban
149
-
max_actions_per_traj: ${max_actions_per_traj}
150
-
max_steps_per_traj: ${max_actions_per_traj}
151
-
env_instruction: "You are solving the Sokoban puzzle. You are the player and you need to push all boxes to targets. When you are right next to a box, you can push it by moving in the same direction. You cannot push a box through a wall, and you cannot pull a box. The answer must be one of action in a turn, format is <answer>Right</answer>"
152
-
max_tokens: 100
153
-
env_config:
154
-
dim_x: 8
155
-
dim_y: 8
156
-
num_boxes: 2
157
-
max_steps: ${max_actions_per_traj}
158
-
search_depth: 10
159
-
SokobanDifferentGridVocab:
160
-
env_type: sokoban
161
-
max_actions_per_traj: ${max_actions_per_traj}
162
-
max_steps_per_traj: ${max_actions_per_traj}
163
-
env_instruction: "You are solving the Sokoban puzzle. You are the player and you need to push all boxes to targets. When you are right next to a box, you can push it by moving in the same direction. You cannot push a box through a wall, and you cannot pull a box. The answer must be one of action in a turn, format is <answer>Right</answer>"
164
-
max_tokens: 100
165
-
env_config: # keys should be a subset of SokobanConfig
env_instruction: "You are solving the FrozenLake puzzle. Forbid the whole and go to the target. You may move to the unintended direction due to the slippery ice. The answer must be one of action in a turn, format is <answer>Right</answer>"
# under the same group, the env config and env seed are ensured to be equal
185
139
group_size: 1
186
140
tags: [FrozenLake]
187
-
n_groups: [1] # If not set, all env names divide nums equally. Under the same group, the env config and env seed (prompt) are equal in each generation
141
+
num_groups_partition: [1] # If not set, all env names divide nums equally. Under the same group, the env config and env seed (prompt) are equal in each generation
188
142
189
143
val_env_manager:
190
-
env_groups: 2
144
+
max_env_num_per_worker: 1
145
+
num_env_groups: 2
191
146
group_size: 1# should be set to 1 because val temperature is set to 0 and same prompt leads to same output
192
-
tags: [SimpleSokoban, FrozenLake]
193
-
n_groups: [1, 1] # TODO: If not set, all env names divide nums equally. Under the same group, the env config and env seed (prompt) are equal in each generation
147
+
tags: [SimpleSokoban, LargerSokoban]
148
+
num_groups_partition: [1, 1] # TODO: If not set, all env names divide nums equally. Under the same group, the env config and env seed (prompt) are equal in each generation
0 commit comments