Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use denisdrobs/ModernBERT-large-clinc_oos with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use denisdrobs/ModernBERT-large-clinc_oos with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="denisdrobs/ModernBERT-large-clinc_oos")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("denisdrobs/ModernBERT-large-clinc_oos") model = AutoModelForSequenceClassification.from_pretrained("denisdrobs/ModernBERT-large-clinc_oos", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ModernBERT-large-clinc_oos
This model is a fine-tuned version of answerdotai/ModernBERT-large on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.3739
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0005
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- num_epochs: 2
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 5.0563 | 0.1049 | 200 | 4.6481 |
| 4.1767 | 0.2098 | 400 | 4.1629 |
| 3.4097 | 0.3146 | 600 | 3.5324 |
| 2.8577 | 0.4195 | 800 | 3.0339 |
| 2.3377 | 0.5244 | 1000 | 2.4324 |
| 1.9681 | 0.6293 | 1200 | 2.1695 |
| 1.5335 | 0.7341 | 1400 | 1.8875 |
| 1.2387 | 0.8390 | 1600 | 1.7929 |
| 1.0361 | 0.9439 | 1800 | 1.8399 |
| 0.8009 | 1.0488 | 2000 | 1.5640 |
| 0.6279 | 1.1536 | 2200 | 1.7252 |
| 0.5633 | 1.2585 | 2400 | 1.4810 |
| 0.4755 | 1.3634 | 2600 | 1.3747 |
| 0.4306 | 1.4683 | 2800 | 1.4690 |
| 0.3499 | 1.5732 | 3000 | 1.4179 |
| 0.3671 | 1.6780 | 3200 | 1.3020 |
| 0.2884 | 1.7829 | 3400 | 1.4163 |
| 0.4006 | 1.8878 | 3600 | 1.3823 |
| 0.2706 | 1.9927 | 3800 | 1.3739 |
Framework versions
- Transformers 4.57.1
- Pytorch 2.8.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.1
- Downloads last month
- 6
Model tree for denisdrobs/ModernBERT-large-clinc_oos
Base model
answerdotai/ModernBERT-large