CoolFace
Modelpublic

Realgon/N_bert_agnews_padding100model

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_padding100model

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.5818
  • —Accuracy: 0.945

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.18151.075000.18910.9421
0.13622.0150000.20130.9446
0.11523.0225000.23810.9443
0.08094.0300000.26460.9453
0.05985.0375000.30890.9425
0.04056.0450000.37080.9391
0.03877.0525000.39040.9418
0.02128.0600000.44480.9432
0.02259.0675000.44650.9429
0.014510.0750000.43740.9445
0.01711.0825000.48950.9438
0.009112.0900000.48480.9443
0.012813.0975000.47640.9455
0.004414.01050000.52630.9449
0.001815.01125000.52520.9447
0.001716.01200000.53240.9468
0.00117.01275000.55030.9457
0.000618.01350000.57480.9458
0.000219.01425000.57150.9459
0.001520.01500000.58180.945

Framework versions

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