Skip to content

Commit 21d3072

Browse files
committed
move all math to math folder
1 parent 7ece4d5 commit 21d3072

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

conf/actor/math.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
log_each_n_secs: 10
22
llm_max_rollouts: 128
33
rollout_workers: 1
4-
rollout_policy: pipelinerl.math_rollouts.generate_math_rollout
4+
rollout_policy: pipelinerl.math.rollouts.generate_math_rollout
55
discount_factor: 1
66
system_prompt: Please reason step by step, and put your final answer within \boxed{}.
77
task_template: |-

pipelinerl/entrypoints/verifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import hydra
22
from omegaconf import DictConfig
33

4-
from pipelinerl.verifier_api import run_verifier
4+
from pipelinerl.math.verifier_api import run_verifier
55
from pipelinerl.utils import better_crashing
66

77

pipelinerl/math_rollouts.py renamed to pipelinerl/math/rollouts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from pipelinerl.async_llm import llm_async_generate
1010
from pipelinerl.finetune.data import MASKED_TOKEN_ID
11-
from pipelinerl.verifier_api import verify_answer_rpc
11+
from pipelinerl.math.verifier_api import verify_answer_rpc
1212

1313

1414
class RewardTable(BaseModel):
File renamed without changes.

pipelinerl/run_actor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import wandb
2121
from pipelinerl.finetune.logging_ import flatten_dict_config, init_wandb
2222
from pipelinerl.load_datasets import load_datasets
23-
from pipelinerl.math_rollouts import RolloutResult
23+
from pipelinerl.math.rollouts import RolloutResult
2424
from pipelinerl.shared_memory_array import SharedMemoryArray
2525
from pipelinerl.state import TrainerState
2626
from pipelinerl.streams import (
@@ -30,7 +30,7 @@
3030
set_streams_backend,
3131
write_to_streams,
3232
)
33-
from pipelinerl.verifier_api import wait_for_verifier
33+
from pipelinerl.math.verifier_api import wait_for_verifier
3434

3535
from .utils import (
3636
always_or_never_success_stats,

0 commit comments

Comments
 (0)