add mbart to automodel for masked lm (#9673)
This commit is contained in:
committed by
GitHub
parent
b39bd763e8
commit
2390c16fd2
@@ -411,6 +411,7 @@ MODEL_FOR_MASKED_LM_MAPPING = OrderedDict(
|
||||
(DistilBertConfig, DistilBertForMaskedLM),
|
||||
(AlbertConfig, AlbertForMaskedLM),
|
||||
(BartConfig, BartForConditionalGeneration),
|
||||
(MBartConfig, MBartForConditionalGeneration),
|
||||
(CamembertConfig, CamembertForMaskedLM),
|
||||
(XLMRobertaConfig, XLMRobertaForMaskedLM),
|
||||
(LongformerConfig, LongformerForMaskedLM),
|
||||
|
||||
Reference in New Issue
Block a user