CoolFace
Modelpublic

NikhilBITS/pharma_classification_v2

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes5downloads
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. -->

pharma_classification

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

  • Loss: 0.5315
  • Accuracy: 0.9581
  • F1: 0.9506

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: 5e-05
  • trainbatchsize: 8
  • evalbatchsize: 8
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • training_steps: 30000

Training results

Training LossEpochStepValidation LossAccuracyF1
0.00355.9950000.28920.95390.9554
0.013711.98100000.26200.96410.9600
0.017.96150000.40220.96110.9586
0.000123.95200000.38380.96110.9552
0.029.94250000.43630.95750.9490
0.035.93300000.53150.95810.9506

Framework versions

  • Transformers 4.39.0.dev0
  • Pytorch 2.2.0+cu121
  • Datasets 2.18.0
  • Tokenizers 0.15.2