|
38 | 38 | ("bert", "BertModel"), |
39 | 39 | ("bart", "BartModel"), |
40 | 40 | ("camembert", "CamembertModel"), |
| 41 | + ("mvp", "MvpModel"), |
41 | 42 | ("bit", "BitModel"), |
42 | 43 | ("blip", "BlipModel"), |
43 | 44 | ("blip-2", "Blip2Model"), |
|
110 | 111 | ("albert", "AlbertForPreTraining"), |
111 | 112 | ("bart", "BartForConditionalGeneration"), |
112 | 113 | ("camembert", "CamembertForMaskedLM"), |
| 114 | + ("mvp", "MvpForConditionalGeneration"), |
113 | 115 | ("bert", "BertForPreTraining"), |
114 | 116 | ("gpt2", "GPT2LMHeadModel"), |
115 | 117 | ("gemma3", "Gemma3ForConditionalGeneration"), |
|
135 | 137 | [ |
136 | 138 | # Model with LM heads mapping |
137 | 139 | ("albert", "AlbertForMaskedLM"), |
| 140 | + ("mvp", "MvpForConditionalGeneration"), |
138 | 141 | ("bart", "BartForConditionalGeneration"), |
139 | 142 | ("m2m_100", "M2M100ForConditionalGeneration"), |
140 | 143 | ("bert", "BertForMaskedLM"), |
|
162 | 165 | ("aria_text", "AriaTextForCausalLM"), |
163 | 166 | ("bart", "BartForCausalLM"), |
164 | 167 | ("camembert", "CamembertForCausalLM"), |
| 168 | + ("mvp", "MvpForCausalLM"), |
165 | 169 | ("bert", "BertLMHeadModel"), |
166 | 170 | ("bert-generation", "BertGenerationDecoder"), |
167 | 171 | ("gemma", "GemmaForCausalLM"), |
|
278 | 282 | MODEL_FOR_MASKED_LM_MAPPING_NAMES = OrderedDict( |
279 | 283 | [ |
280 | 284 | # Model for Masked LM mapping |
| 285 | + ("mvp", "MvpForConditionalGeneration"), |
281 | 286 | ("albert", "AlbertForMaskedLM"), |
282 | 287 | ("bart", "BartForConditionalGeneration"), |
283 | 288 | ("bert", "BertForMaskedLM"), |
|
331 | 336 | ("bart", "BartForConditionalGeneration"), |
332 | 337 | ("led", "LEDForConditionalGeneration"), |
333 | 338 | ("m2m_100", "M2M100ForConditionalGeneration"), |
| 339 | + ("mvp", "MvpForConditionalGeneration"), |
334 | 340 | ("mt5", "MT5ForConditionalGeneration"), |
335 | 341 | ("qwen2_audio", "Qwen2AudioForConditionalGeneration"), |
336 | 342 | ("t5", "T5ForConditionalGeneration"), |
|
352 | 358 | ("bart", "BartForSequenceClassification"), |
353 | 359 | ("camembert", "CamembertForSequenceClassification"), |
354 | 360 | ("bert", "BertForSequenceClassification"), |
| 361 | + ("mvp", "MvpForSequenceClassification"), |
355 | 362 | ("roberta", "RobertaForSequenceClassification"), |
356 | 363 | ("deberta", "DebertaForSequenceClassification"), |
357 | 364 | ("deberta-v2", "DebertaV2ForSequenceClassification"), |
|
386 | 393 | ("bart", "BartForQuestionAnswering"), |
387 | 394 | ("bert", "BertForQuestionAnswering"), |
388 | 395 | ("camembert", "CamembertForQuestionAnswering"), |
| 396 | + ("mvp", "MvpForQuestionAnswering"), |
389 | 397 | ("roberta", "RobertaForQuestionAnswering"), |
390 | 398 | ("deberta", "DebertaForQuestionAnswering"), |
391 | 399 | ("deberta-v2", "DebertaV2ForQuestionAnswering"), |
|
0 commit comments