Skip to content

Saving and loading HF transformer model fine tuned with PL? #8893

Discussion options

You must be logged in to vote

Dear @brijow,

You should be using the second approach. An even better one would be to rely on ModelCheckpoint to save the checkpoints and provide Trainer(resume_from_checkpoint=...) for reloading all the states.

Best,
T.C

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@brijow
Comment options

Answer selected by brijow
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants