[Model] support modernbert (#16648)

Signed-off-by: 唯勤 <xsank.mz@alibaba-inc.com>
Co-authored-by: 唯勤 <xsank.mz@alibaba-inc.com>
This commit is contained in:
xsank
2025-04-16 05:30:15 -07:00
committed by GitHub
co-authored by 唯勤
parent e82ee40de3
commit ee378f3d49
4 changed files with 335 additions and 0 deletions
+5
View File
@@ -740,6 +740,11 @@ If your model is not in the above list, we will try to automatically convert the
* `BAAI/bge-reranker-v2-m3`, etc.
*
*
- * `ModernBertForSequenceClassification`
* ModernBert-based
* `Alibaba-NLP/gte-reranker-modernbert-base`, etc.
*
*
:::
(supported-mm-models)=