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="szhuggingface/ModernBert_Unsloth_Test1")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("szhuggingface/ModernBert_Unsloth_Test1")
model = AutoModelForSequenceClassification.from_pretrained("szhuggingface/ModernBert_Unsloth_Test1", device_map="auto")
Quick Links

Uploaded model

  • Developed by: szhuggingface
  • License: apache-2.0
  • Finetuned from model : answerdotai/ModernBERT-base

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

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

Model tree for szhuggingface/ModernBert_Unsloth_Test1

Finetuned
(1395)
this model