Edit model card

my_awesome_model_bert-3EPOCHS

This model is a fine-tuned version of google-bert/bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.2753
  • Accuracy: 0.8605
  • F1: 0.8644
  • Precision: 0.8771
  • Recall: 0.8521

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: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 3

Training results

Training Loss Epoch Step Validation Loss Accuracy F1 Precision Recall
0.4667 1.0 2449 0.4090 0.7856 0.7896 0.8090 0.7710
0.3974 2.0 4898 0.3339 0.8234 0.8126 0.9102 0.7339
0.3245 3.0 7347 0.2753 0.8605 0.8644 0.8771 0.8521

Framework versions

  • Transformers 4.42.4
  • Pytorch 2.4.0+cu121
  • Datasets 2.21.0
  • Tokenizers 0.19.1
Downloads last month
0
Safetensors
Model size
109M params
Tensor type
F32
·
Inference API
Unable to determine this model's library. Check the docs .

Model tree for NadineMostafa/my_awesome_model_bert-3EPOCHS

Finetuned
(2085)
this model