serene89104's picture
End of training
80afcc5 verified
metadata
license: apache-2.0
base_model: google-bert/bert-base-uncased
tags:
  - generated_from_trainer
metrics:
  - accuracy
model-index:
  - name: bert-base-uncased-finetuned-wikitext2
    results: []

bert-base-uncased-finetuned-wikitext2

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

  • Loss: 1.4380
  • Accuracy: 0.7431

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

Training results

Training Loss Epoch Step Validation Loss Accuracy
1.6497 1.0 20455 1.5779 0.7229
1.5145 2.0 40910 1.4705 0.7372
1.468 3.0 61365 1.4442 0.7409

Framework versions

  • Transformers 4.38.2
  • Pytorch 2.2.1+cu118
  • Datasets 2.18.0
  • Tokenizers 0.15.2