[Model] Add RobertaForTokenClassification / XLMRobertaForTokenClassification (#47991)

Signed-off-by: krishy91 <crgkc.r@gmail.com>
This commit is contained in:
Gopala-Krishna Char
2026-07-15 14:30:33 +00:00
committed by GitHub
parent 615834ee58
commit 5810e884f1
5 changed files with 118 additions and 1 deletions
+5
View File
@@ -297,6 +297,11 @@ _TOKEN_CLASSIFICATION_MODELS = {
"qwen3_asr_forced_aligner",
"Qwen3ASRForcedAlignerForTokenClassification",
),
"RobertaForTokenClassification": ("roberta", "RobertaForTokenClassification"),
"XLMRobertaForTokenClassification": (
"roberta",
"RobertaForTokenClassification",
),
}
_SEQUENCE_CLASSIFICATION_MODELS = {