CoolFace
Modelpublic

aedupuga/fiction_predictor

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

fiction_predictor

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

  • Loss: 0.0011
  • Accuracy: 1.0
  • F1: 1.0
  • Precision: 1.0
  • Recall: 1.0

Model description

This model uses data from jennifee/HW1-aug-text-dataset and predicts whether a book is fiction or not based on review.

Intended uses & limitations

This model was constructed as a practice in training for classification of text datasets.

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • trainbatchsize: 8
  • evalbatchsize: 8
  • 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: 5

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
0.00451.01280.02280.99220.99220.99230.9922
0.00172.02560.00121.01.01.01.0
0.0013.03840.00071.01.01.01.0
0.00074.05120.00051.01.01.01.0
0.00065.06400.00051.01.01.01.0

Framework versions

  • Transformers 4.56.1
  • Pytorch 2.8.0+cu126
  • Datasets 4.0.0
  • Tokenizers 0.22.0