Unverified Commit 40796c58 authored by Sam Shleifer's avatar Sam Shleifer Committed by GitHub
Browse files

[fix] add bart to LM_MAPPING (#6099)

parent 5abe5038
......@@ -264,6 +264,7 @@ MODEL_FOR_MASKED_LM_MAPPING = OrderedDict(
[
(DistilBertConfig, DistilBertForMaskedLM),
(AlbertConfig, AlbertForMaskedLM),
(BartConfig, BartForConditionalGeneration),
(CamembertConfig, CamembertForMaskedLM),
(XLMRobertaConfig, XLMRobertaForMaskedLM),
(LongformerConfig, LongformerForMaskedLM),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment