Can I train a pre-train bert model using pytorchLightning? #6684
Unanswered
wa008
asked this question in
code help: NLP / ASR / TTS
Replies: 2 comments 2 replies
-
Dear @wa008, To do so, you need to wrap your model into LightningModule and use Pytorch Lightning Trainer. Works just fine :) Best, |
Beta Was this translation helpful? Give feedback.
1 reply
-
@wa008 Apologies for tooting my own horn, but I have a tool for doing exactly that, it might give some inspiration: https://github.com/LoicGrobol/zeldarose :-) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I can't find code or docs abount train pre-train model..
I don't know how to add hugging face transformer's
Trainer
code to pytorch-lightning class, please helptrain a pre-train transformer on gpu is below
Beta Was this translation helpful? Give feedback.
All reactions