Text Classification
Transformers
TensorBoard
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use Pi-Marie/ModernBERT-base-distillation-finetuned-clinc-optuna with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pi-Marie/ModernBERT-base-distillation-finetuned-clinc-optuna with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Pi-Marie/ModernBERT-base-distillation-finetuned-clinc-optuna")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Pi-Marie/ModernBERT-base-distillation-finetuned-clinc-optuna") model = AutoModelForSequenceClassification.from_pretrained("Pi-Marie/ModernBERT-base-distillation-finetuned-clinc-optuna", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ModernBERT-base-distillation-finetuned-clinc-optuna
This model is a fine-tuned version of answerdotai/ModernBERT-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4524
- Accuracy: 0.9623
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: 2e-05
- train_batch_size: 48
- eval_batch_size: 48
- 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: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 318 | 1.8106 | 0.9135 |
| 3.5933 | 2.0 | 636 | 0.9942 | 0.9442 |
| 3.5933 | 3.0 | 954 | 0.6989 | 0.9606 |
| 0.7028 | 4.0 | 1272 | 0.5831 | 0.9610 |
| 0.3732 | 5.0 | 1590 | 0.5242 | 0.9626 |
| 0.3732 | 6.0 | 1908 | 0.4935 | 0.9613 |
| 0.2726 | 7.0 | 2226 | 0.4764 | 0.9619 |
| 0.2263 | 8.0 | 2544 | 0.4606 | 0.9629 |
| 0.2263 | 9.0 | 2862 | 0.4543 | 0.9626 |
| 0.2023 | 10.0 | 3180 | 0.4524 | 0.9623 |
Framework versions
- Transformers 4.57.0
- Pytorch 2.8.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.1
- Downloads last month
- 3
Model tree for Pi-Marie/ModernBERT-base-distillation-finetuned-clinc-optuna
Base model
answerdotai/ModernBERT-base