CoolFace
Modelpublic

andi611/distilbert-base-uncased-ner-agnews

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
3likes10downloads
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. -->

distilbert-base-uncased-agnews

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

  • —Loss: 0.1652
  • —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: 3e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 1000
  • —num_epochs: 2.0

Training results

Training LossEpochStepValidation LossAccuracy
0.19161.033750.17410.9412
0.1232.067500.16310.9483

Framework versions

  • —Transformers 4.8.2
  • —Pytorch 1.8.1+cu111
  • —Datasets 1.8.0
  • —Tokenizers 0.10.3