Skip to content

Commit

Permalink
Fix: Missing num_value_layers_unfrozen init arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahoas committed Jul 26, 2023
1 parent a875c4a commit 5683470
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trlx/trainer/accelerate_ppo_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def get_arch(self, config: TRLConfig):
return from_fn(
config.model.model_path,
num_layers_unfrozen=config.model.num_layers_unfrozen,
num_value_layers_unfrozen=config.method.num_value_layers_unfrozen,
peft_config=self.config.model.peft_config,
)

Expand Down

0 comments on commit 5683470

Please sign in to comment.