Closed feng-1985 closed 3 years ago
env: transformers-2.8.0 torch-1.7.0
You need to update transformers, that version doesn't have AutoModelForMaskedLM
AutoModelForMaskedLM
env: transformers-2.8.0 torch-1.7.0