Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

save_model -> save_pretrained in ppo_trainer.mdx #1537

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

ejmejm
Copy link
Contributor

@ejmejm ejmejm commented Apr 13, 2024

This fixes the PPO documentation and replaces PPOTrainer.save_model with PPOTrainer.save_pretrained, as save_model does not exist. I ran the document's code to make sure the save function works. This discrepancy was noted in ticket #1443.

@kashif kashif self-requested a review April 14, 2024 17:41
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@kashif kashif merged commit e823458 into huggingface:main Apr 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants