romainjeff's picture
End of training
a78e283 verified
---
library_name: transformers
license: apache-2.0
base_model: google-bert/bert-base-uncased
tags:
- generated_from_trainer
metrics:
- f1
model-index:
- name: modernbert-llm-router
results: []
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# modernbert-llm-router
This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.2868
- F1: 0.9285
## 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: 5e-05
- train_batch_size: 32
- eval_batch_size: 16
- 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: 5
### Training results
| Training Loss | Epoch | Step | Validation Loss | F1 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
| 1.5656 | 1.0 | 313 | 1.1336 | 0.7859 |
| 0.5183 | 2.0 | 626 | 0.4624 | 0.9075 |
| 0.2383 | 3.0 | 939 | 0.3468 | 0.9185 |
| 0.1281 | 4.0 | 1252 | 0.2912 | 0.9302 |
| 0.0714 | 5.0 | 1565 | 0.2868 | 0.9285 |
### Framework versions
- Transformers 4.49.0
- Pytorch 2.4.1+cu121
- Datasets 3.1.0
- Tokenizers 0.21.0