bert_uncased_L-4_H-512_A-8_mrpc
This model is a fine-tuned version of google/bert_uncased_L-4_H-512_A-8 on the GLUE MRPC dataset. It achieves the following results on the evaluation set:
- Loss: 0.4863
- Accuracy: 0.7843
- F1: 0.8528
- Combined Score: 0.8186
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: 256
- eval_batch_size: 256
- seed: 10
- optimizer: Use 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: 50
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Combined Score |
---|---|---|---|---|---|---|
0.6192 | 1.0 | 15 | 0.5735 | 0.7108 | 0.8173 | 0.7641 |
0.5589 | 2.0 | 30 | 0.5331 | 0.7279 | 0.8257 | 0.7768 |
0.4927 | 3.0 | 45 | 0.5016 | 0.7696 | 0.8498 | 0.8097 |
0.4064 | 4.0 | 60 | 0.4863 | 0.7843 | 0.8528 | 0.8186 |
0.3201 | 5.0 | 75 | 0.4961 | 0.7892 | 0.8537 | 0.8215 |
0.2342 | 6.0 | 90 | 0.5523 | 0.7819 | 0.8529 | 0.8174 |
0.1657 | 7.0 | 105 | 0.6741 | 0.7794 | 0.8553 | 0.8174 |
0.1411 | 8.0 | 120 | 0.7269 | 0.7672 | 0.8440 | 0.8056 |
0.1039 | 9.0 | 135 | 0.7377 | 0.7794 | 0.8529 | 0.8162 |
Framework versions
- Transformers 4.46.3
- Pytorch 2.2.1+cu118
- Datasets 2.17.0
- Tokenizers 0.20.3
- Downloads last month
- 104
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 gokulsrinivasagan/bert_uncased_L-4_H-512_A-8_mrpc
Base model
google/bert_uncased_L-4_H-512_A-8Dataset used to train gokulsrinivasagan/bert_uncased_L-4_H-512_A-8_mrpc
Evaluation results
- Accuracy on GLUE MRPCself-reported0.784
- F1 on GLUE MRPCself-reported0.853