Text Classification
Transformers
Safetensors
English
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use AbdullahBarayan/ModernBERT-base-doc_en-Cefr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AbdullahBarayan/ModernBERT-base-doc_en-Cefr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AbdullahBarayan/ModernBERT-base-doc_en-Cefr")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AbdullahBarayan/ModernBERT-base-doc_en-Cefr") model = AutoModelForSequenceClassification.from_pretrained("AbdullahBarayan/ModernBERT-base-doc_en-Cefr") - Notebooks
- Google Colab
- Kaggle
Ctrl+K