modern-bert-finetuned-query-classification
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.1951
- Accuracy: 0.9713
- F1: 0.9713
- Precision: 0.9724
- Recall: 0.9713
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: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
---|---|---|---|---|---|---|---|
No log | 1.0 | 305 | 0.2426 | 0.9521 | 0.9520 | 0.9565 | 0.9521 |
0.1447 | 2.0 | 610 | 0.1809 | 0.9598 | 0.9600 | 0.9618 | 0.9598 |
0.1447 | 3.0 | 915 | 0.1568 | 0.9674 | 0.9676 | 0.9679 | 0.9674 |
0.0158 | 4.0 | 1220 | 0.2314 | 0.9674 | 0.9675 | 0.9694 | 0.9674 |
0.0022 | 5.0 | 1525 | 0.1951 | 0.9713 | 0.9713 | 0.9724 | 0.9713 |
Framework versions
- Transformers 4.50.3
- Pytorch 2.6.0+cu124
- Datasets 3.5.0
- Tokenizers 0.21.1
- Downloads last month
- 25
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support
Model tree for TharushiDinushika/modern-bert-finetuned-query-classification
Base model
answerdotai/ModernBERT-base