CoolFace
Modelpublic

Realgon/N_bert_agnews_padding40model

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_padding40model

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.5661
  • —Accuracy: 0.9474

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.17851.075000.18840.9421
0.13792.0150000.19900.9478
0.11273.0225000.23890.9408
0.08464.0300000.25280.9492
0.05815.0375000.30410.9436
0.04566.0450000.34150.9468
0.04117.0525000.40810.9430
0.02398.0600000.44150.9433
0.02029.0675000.43800.9404
0.012610.0750000.46370.9425
0.017511.0825000.44850.9455
0.012612.0900000.47610.9449
0.004613.0975000.50090.9455
0.003814.01050000.47840.9482
0.003515.01125000.52820.9451
0.004616.01200000.52560.9464
0.002617.01275000.50810.9501
0.000818.01350000.55430.9467
0.000219.01425000.54480.9488
0.001620.01500000.56610.9474

Framework versions

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