How to save RoBERTA sequence classifier model

osanseviero
Sat, 19 Jun 2021 13:40:40 +0000

You can use the from_pretrained method.

You can find more about model sharing in Model sharing and uploading — transformers 4.7.0 documentation.