How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="y22ma/modernbert-router")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("y22ma/modernbert-router")
model = AutoModelForSequenceClassification.from_pretrained("y22ma/modernbert-router", device_map="auto")
Quick Links

Uploaded model

  • Developed by: y22ma
  • License: apache-2.0
  • Finetuned from model : answerdotai/ModernBERT-large

This modernbert model was trained 2x faster with Unsloth and Huggingface's TRL library.

Downloads last month
11
Safetensors
Model size
0.4B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for y22ma/modernbert-router

Finetuned
(337)
this model