How to save RoBERTA sequence classifier model

sgugger
Mon, 07 Jun 2021 11:52:32 +0000

I’m not sure where you have gotten that save_model method but Transformers model don’t have it. They use save_pretrained.