CoolFace
Modelpublic

Mardiyyah/CeLLaTe-ner-2class-pubmedbert-tapt-tokenizer-adapted-spanmask-gazetters-lr_2.16

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

CeLLaTe-ner-2class-pubmedbert-tapt-tokenizer-adapted-spanmask-gazetters-lr_2.16

This model is a fine-tuned version of Mardiyyah/CeLLaTe-tapt-pubmedbert-tokenizer-adapted-spanmask on the OTAR3088/CeLLaTe-ner-2class-iob_final dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0961
  • —Precision: 0.7974
  • —Recall: 0.7480
  • —Micro F1: 0.7720
  • —Weighted F1: 0.7721
  • —Macro F1: 0.7820
  • —Accuracy: 0.9845

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: 2.1601722686e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 3407
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 32
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.02
  • —num_epochs: 20
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossPrecisionRecallMicro F1Weighted F1Macro F1Accuracy
0.14861.010520.05860.74530.73720.74120.74180.75420.9827
0.01562.021040.08230.73140.75830.74460.74520.75890.9812
0.00663.031560.08740.76430.74860.75640.75670.76680.9825
0.00384.042080.09610.79740.74800.77200.77210.78200.9845
0.00265.052600.11340.69590.78290.73680.73740.74750.9806
0.00226.063120.11190.75330.76010.75670.75670.75830.9833
0.00157.073640.11150.78870.75890.77350.77350.78010.9838
0.00148.084160.10530.74060.76730.75370.75400.76260.9830
0.0019.094680.12080.75910.76730.76320.76350.77300.9835

Framework versions

  • —Transformers 4.48.2
  • —Pytorch 2.4.1+cu121
  • —Datasets 3.0.2
  • —Tokenizers 0.21.0