arnabdhar's picture
End of training
3407670
|
raw
history blame
1.66 kB
metadata
language:
  - en
license: mit
base_model: gpt2
tags:
  - pytorch
  - GPT2ForSequenceClassification
  - generated_from_trainer
metrics:
  - accuracy
  - matthews_correlation
model-index:
  - name: GPT2-genre-detection
    results: []

GPT2-genre-detection

This model is a fine-tuned version of gpt2 on the datadrivenscience/movie-genre-prediction dataset. It achieves the following results on the evaluation set:

  • Loss: 1.5267
  • Accuracy: 0.4593
  • Matthews Correlation: 0.1010

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: 2e-05
  • train_batch_size: 8
  • eval_batch_size: 32
  • seed: 85855289
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: cosine
  • lr_scheduler_warmup_ratio: 0.05
  • num_epochs: 2

Training results

Training Loss Epoch Step Validation Loss Accuracy Matthews Correlation
1.5765 1.0 10125 1.5562 0.4589 0.0899
1.5058 2.0 20250 1.5267 0.4593 0.1010

Framework versions

  • Transformers 4.36.2
  • Pytorch 2.1.0+cu121
  • Datasets 2.16.0
  • Tokenizers 0.15.0