Skip to content

Commit 291c774

Browse files
authored
hot-fix: update PPOConfig import in examples (#352)
1 parent fd3a528 commit 291c774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/summarize_rlhf/trlx_gptj_text_summarization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
TrainConfig,
1717
TRLConfig,
1818
)
19-
from trlx.trainer.nn.ppo_models import PPOConfig
19+
from trlx.models.modeling_ppo import PPOConfig
2020

2121
REWARD_CHECKPOINT_PATH = "reward_model/rm_checkpoint/pytorch_model.bin"
2222
if not os.path.exists(REWARD_CHECKPOINT_PATH):

0 commit comments

Comments
 (0)