Team Ai
Modelpublic

JasonLi23/text-classification-finetuned

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes17downloads
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. -->

text-classification-finetuned

This model is a fine-tuned version of openai-community/gpt2 on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.9695
  • —Accuracy: 0.7991

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: 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

Training results

Training LossEpochStepValidation LossAccuracy
No log1.2300.50370.7630
No log2.4600.46380.7840
No log3.6900.48400.7978
No log4.81200.71060.7958
No log6.01500.72370.7899
No log7.21800.96730.7905
No log8.42100.98180.8011
No log9.62400.96950.7991

Framework versions

  • —Transformers 5.0.0
  • —Pytorch 2.10.0+cpu
  • —Datasets 4.8.3
  • —Tokenizers 0.22.2