Skip to content

Commit

Permalink
save_model -> save_pretrained in ppo_trainer.mdx (huggingface#1537)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejmejm authored Apr 15, 2024
1 parent 1c0d8bc commit e823458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/ppo_trainer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ for epoch in tqdm(range(epochs), "epoch: "):
ppo_trainer.log_stats(stats, batch, rewards)

#### Save model
ppo_trainer.save_model("my_ppo_model")
ppo_trainer.save_pretrained("my_ppo_model")
```

## Logging
Expand Down

0 comments on commit e823458

Please sign in to comment.