BERT-worldpolitics / README.md
Farjfar's picture
End of training
61ad7af verified
metadata
license: apache-2.0
base_model: bert-base-cased
tags:
  - generated_from_trainer
metrics:
  - precision
  - recall
  - f1
model-index:
  - name: BERT-worldpolitics
    results: []

BERT-worldpolitics

This model is a fine-tuned version of bert-base-cased on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.1664
  • Precision: 0.6027
  • Recall: 0.5052
  • F1: 0.5497

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: 4
  • eval_batch_size: 4
  • 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 Precision Recall F1
No log 1.0 306 0.1251 0.5013 0.4374 0.4672
0.0962 2.0 612 0.1389 0.5682 0.5166 0.5412
0.0962 3.0 918 0.1664 0.6027 0.5052 0.5497

Framework versions

  • Transformers 4.40.2
  • Pytorch 2.2.1+cu121
  • Datasets 2.19.1
  • Tokenizers 0.19.1