Edit model card

gpt_model

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.1091
  • Precision: 0.4781
  • Recall: 0.4102
  • F1: 0.4415
  • Accuracy: 0.9601

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

Training results

Training Loss Epoch Step Validation Loss Precision Recall F1 Accuracy
No log 1.0 250 0.1237 0.4231 0.3799 0.4003 0.9566
0.2052 2.0 500 0.1117 0.4723 0.3790 0.4205 0.9598
0.2052 3.0 750 0.1102 0.4800 0.3928 0.4321 0.9601
0.1115 4.0 1000 0.1091 0.4781 0.4102 0.4415 0.9601

Framework versions

  • Transformers 4.44.2
  • Pytorch 2.4.0+cu121
  • Datasets 3.0.0
  • Tokenizers 0.19.1
Downloads last month
9
Safetensors
Model size
124M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for danieladeeko/gpt_model

Finetuned
(1108)
this model