CoolFace
Modelpublic

ahmedfarazsyk/bert-base-uncased-finetuned-drugsCom

sourceHugging Faceapache-2.0updated 10mo agoView on Hugging Face
0likes6downloads
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. -->

bert-base-uncased-finetuned-drugsCom

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

  • —Loss: 1.4988
  • —F1: 0.6392
  • —Acc: 0.6798
  • —Pre: 0.6254
  • —Recall: 0.6798

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: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 10
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossF1AccPreRecall
3.05121.012502.42870.44070.53100.41230.5310
1.97652.025001.89970.55360.62210.52600.6221
1.60783.037501.66220.59640.65260.57810.6526
1.22754.050001.54140.61890.66750.59670.6675
1.06275.062501.49880.63920.67980.62540.6798
0.84576.075001.49960.65150.68740.64220.6874
0.70827.087501.50430.66280.69260.64890.6926

Framework versions

  • —Transformers 4.53.3
  • —Pytorch 2.6.0+cu124
  • —Datasets 4.4.1
  • —Tokenizers 0.21.2