Team Ai
Modelpublic

Jahanzeb1/BERT-TextClassification

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

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

  • —Loss: 0.3769
  • —Accuracy: 0.841

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
  • —num_epochs: 25

Training results

Training LossEpochStepValidation LossAccuracy
No log1.01250.69280.518
No log2.02500.68340.573
No log3.03750.68080.534
0.69584.05000.67630.533
0.69585.06250.65640.639
0.69586.07500.63680.672
0.69587.08750.60910.699
0.64468.010000.57690.713
0.64469.011250.54340.73
0.644610.012500.51420.748
0.644611.013750.48200.757
0.522412.015000.46380.785
0.522413.016250.43830.792
0.522414.017500.42220.804
0.522415.018750.41210.816
0.423316.020000.39950.826
0.423317.021250.39580.822
0.423318.022500.38860.833
0.423319.023750.38430.832
0.378420.025000.38200.835
0.378421.026250.38040.834
0.378422.027500.37840.836
0.378423.028750.37730.84
0.362124.030000.37710.841
0.362125.031250.37690.841

Framework versions

  • —PEFT 0.10.0
  • —Transformers 4.38.2
  • —Pytorch 2.2.1+cu121
  • —Datasets 2.18.0
  • —Tokenizers 0.15.2