CoolFace
Modelpublic

Terrasse/flan-t5-small-ecommerce-text-classification

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

flan-t5-small-ecommerce-text-classification

This model is a fine-tuned version of google/flan-t5-small on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 1.3475
  • Precision: 0.5168
  • Recall: 0.5168
  • F1: 0.5168
  • Precision Relaxed: 0.7526
  • Recall Relaxed: 0.7526
  • F1 Relaxed: 0.7526

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

Training results

Training LossEpochStepValidation LossPrecisionRecallF1Precision RelaxedRecall RelaxedF1 Relaxed
1.33260.586540001.34690.49620.49620.49620.71810.71810.7181
1.23571.173080001.30940.51260.51260.51260.73210.73210.7321
1.20721.7595120001.29190.51210.51210.51210.74590.74590.7459
1.15472.3460160001.30030.51610.51610.51610.74530.74530.7453
1.14382.9326200001.30290.52040.52040.52040.74760.74760.7476
1.07993.5191240001.33930.51790.51790.51790.75060.75060.7506

Framework versions

  • Transformers 4.40.2
  • Pytorch 2.3.0+cu121
  • Datasets 2.19.1
  • Tokenizers 0.19.1