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

Update README.md #180

Merged
merged 2 commits into from
Jan 10, 2023
Merged

Update README.md #180

merged 2 commits into from
Jan 10, 2023

Conversation

LouisCastricato
Copy link
Contributor

Add how to save files. See here. #179

@PhungVanDuy
Copy link
Collaborator

I have added the save hf function already here: https://github.com/CarperAI/trlx/blob/main/trlx/trainer/accelerate_base_trainer.py#L202, you can mention this one in read me as well as save_best function and load hf.

@LouisCastricato
Copy link
Contributor Author

So its jus trainer.save?

@PhungVanDuy
Copy link
Collaborator

PhungVanDuy commented Jan 10, 2023

So its jus trainer.save?

Yes. It will save the hf format as well as the accelerate state.

@LouisCastricato LouisCastricato merged commit 24b041a into main Jan 10, 2023
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.

2 participants