Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use AhmedSSoliman/answerdotai-ModernBERT-base-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AhmedSSoliman/answerdotai-ModernBERT-base-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AhmedSSoliman/answerdotai-ModernBERT-base-finetuned")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AhmedSSoliman/answerdotai-ModernBERT-base-finetuned") model = AutoModelForSequenceClassification.from_pretrained("AhmedSSoliman/answerdotai-ModernBERT-base-finetuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
Finetuned answerdotai/ModernBERT-base with {'learning_rate': 4.244005797262286e-05, 'batch_size': 32, 'weight_decay': 0.28867658860177836, 'num_train_epochs': 7}
ab4367b verified