CoolFace
Modelpublic

pszemraj/electra-small-discriminator-zeroshot-v1.1

sourceHugging Faceapache-2.0updated 9mo agoView on Hugging Face
1likes59downloads
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. -->

electra-small-discriminator-zeroshot-v1.1-none

This model is a fine-tuned version of google/electra-small-discriminator on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.3747
  • —F1 Macro: 0.4125
  • —F1 Micro: 0.4620
  • —Accuracy Balanced: 0.4701
  • —Accuracy: 0.4620
  • —Precision Macro: 0.5162
  • —Recall Macro: 0.4701
  • —Precision Micro: 0.4620
  • —Recall Micro: 0.4620

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

Datasetsmnli_mmnli_mmfevernlianli_r1anli_r2anli_r3wanlilingnliwellformedqueryrottentomatoesamazonpolarityimdbyelpreviewshatexplainmassivebanking77emotiondairemocontextempatheticagnewsyahootopicsbiasframes_sexbiasframes_offensivebiasframes_intentfinancialphrasebankappreviewshateoffensivetrueteacherspamwikitoxic_toxicaggregatedwikitoxic_obscenewikitoxic_identityhatewikitoxic_threatwikitoxic_insultmanifestocapsotu
Accuracy0.8530.8610.8380.5830.5920.5880.7090.7870.6030.750.8630.8080.8790.4320.4970.3910.5460.6070.2340.8010.5620.770.6390.6280.6290.8610.370.5020.8140.7440.7980.7860.7670.7780.0960.462
Inference text/sec (A100, batch=64)4180.04161.02824.03233.03243.03239.04494.04288.05222.04396.02563.0888.01035.04326.05447.05221.04871.04971.02852.03946.01585.04274.04097.04109.04229.03468.04476.01198.04514.01360.01267.01287.01232.01314.03936.04116.0

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 5e-05
  • —trainbatchsize: 64
  • —evalbatchsize: 64
  • —seed: 80085
  • —optimizer: Adam with betas=(0.9,0.98) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.04
  • —num_epochs: 3

Training results

Training LossEpochStepValidation LossF1 MacroF1 MicroAccuracy BalancedAccuracyPrecision MacroRecall MacroPrecision MicroRecall Micro
0.47650.3250000.53000.73260.75280.73290.75280.73220.73290.75280.7528
0.44080.65100000.50990.74020.7650.73590.7650.74630.73590.7650.765
0.41690.97150000.49760.74730.77020.74390.77020.75170.74390.77020.7702
0.3871.3200000.49430.75250.77420.74980.77420.75590.74980.77420.7742
0.39051.62250000.49310.75220.7750.74840.7750.75720.74840.7750.775
0.40011.95300000.49240.75440.77520.75240.77520.75680.75240.77520.7752
0.39952.27350000.49000.75430.77580.75170.77580.75760.75170.77580.7758
0.39812.6400000.49060.75290.77420.75040.77420.75580.75040.77420.7742
0.42322.92450000.49040.75440.7760.75160.7760.75790.75160.7760.776

Framework versions

  • —Transformers 4.33.3
  • —Pytorch 2.1.2+cu121
  • —Datasets 2.16.1
  • —Tokenizers 0.13.3