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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
891f92f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d44e81d93ef9c3b0f3cac182c6c8db322553ecb3167f5a59e1a9c0617aa42d07
size 5368
|