CoolFace
Modelpublic

Realgon/N_bert_agnews_padding50model

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes7downloads
Model Card

<!-- 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. -->

Nbertagnews_padding50model

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

  • —Loss: 0.5754
  • —Accuracy: 0.9467

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
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 20

Training results

Training LossEpochStepValidation LossAccuracy
0.17541.075000.19090.9428
0.13622.0150000.19280.9461
0.11393.0225000.21060.9461
0.08254.0300000.25440.9466
0.05655.0375000.30460.9367
0.03726.0450000.37640.9436
0.03477.0525000.36460.9425
0.03468.0600000.38260.9461
0.02479.0675000.42440.9455
0.011310.0750000.44180.9446
0.016611.0825000.49170.9462
0.015712.0900000.46620.9442
0.012413.0975000.48640.9438
0.005514.01050000.49120.9457
0.010215.01125000.50400.9446
0.004516.01200000.52000.9441
0.003817.01275000.53740.9467
0.001218.01350000.56050.9459
0.000519.01425000.58090.9455
0.000320.01500000.57540.9467

Framework versions

  • —Transformers 4.33.2
  • —Pytorch 2.0.1+cu117
  • —Datasets 2.14.5
  • —Tokenizers 0.13.3