ModernBERT-domain-classifier
This model is a fine-tuned version of answerdotai/ModernBERT-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.5589
- F1: 0.6897
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: 8e-05
- train_batch_size: 16
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 64
- optimizer: Use 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: 6
- mixed_precision_training: Native AMP
Training results
Training Loss | Epoch | Step | Validation Loss | F1 |
---|---|---|---|---|
No log | 1.0 | 47 | 0.7159 | 0.3933 |
3.2583 | 2.0 | 94 | 0.6938 | 0.4475 |
2.8136 | 3.0 | 141 | 0.6089 | 0.6542 |
2.6726 | 4.0 | 188 | 0.6381 | 0.6810 |
2.3798 | 5.0 | 235 | 0.5736 | 0.6750 |
2.2131 | 6.0 | 282 | 0.5589 | 0.6897 |
Framework versions
- Transformers 4.48.0.dev0
- Pytorch 2.5.0+cu124
- Datasets 3.1.0
- Tokenizers 0.21.0
- Downloads last month
- 25
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
the model is not deployed on the HF Inference API.
Model tree for AnhNam/ModernBERT-domain-classifier
Base model
answerdotai/ModernBERT-base