CoolFace
Modelpublic

parseny/youtube_comment_generation_model

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes14downloads
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. -->

youtube video comment generation

This model is a fine-tuned version of gpt2-large on the US_Video_Comment dataset. It achieves the following results on the evaluation set:

  • Loss: 2.0918
  • Accuracy: 0.6277

Model description and usage

This model can create a comment on a provided Youtube video title. To test this model you can visit space but most likely it is down due to tariffs of hosting.

You also can check how the model works in the Inference API, just insert the Youtube video title.

Intended uses & limitations

More information needed

Training and evaluation data

Dataset consisted of English Youtube videos titles and comments to them. Dataset link US_Video_Comment

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 1e-05
  • trainbatchsize: 8
  • evalbatchsize: 8
  • seed: 42
  • distributed_type: multi-GPU
  • num_devices: 4
  • gradientaccumulationsteps: 4
  • totaltrainbatch_size: 128
  • totalevalbatch_size: 32
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • training_steps: 2000

Training results

Training LossEpochStepValidation LossAccuracy
2.12011.535002.11520.6220
2.0163.0710002.09570.6254
1.93834.615002.08980.6271
1.88236.1420002.09180.6277

Framework versions

  • Transformers 4.29.0.dev0
  • Pytorch 2.0.0-rc1
  • Datasets 2.11.0
  • Tokenizers 0.13.3