Run this model with HF Jobs

Run pranjal0198/fine_tuned_gpt2_clm-model on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/pranjal0198/fine_tuned_gpt2_clm-model. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/pranjal0198/fine_tuned_gpt2_clm-model on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/pranjal0198/fine_tuned_gpt2_clm-model. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/pranjal0198/fine_tuned_gpt2_clm-model. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

fine_tuned_gpt2_clm-model

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

  • Loss: 3.6233
  • Perplexity: 37.46

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

Training results

Training Loss Epoch Step Validation Loss
3.5982 1.0 555 3.6067
3.5546 2.0 1110 3.6103
3.5102 3.0 1665 3.6054
3.4797 4.0 2220 3.6033
3.4634 5.0 2775 3.6053
3.4315 6.0 3330 3.6046
3.4116 7.0 3885 3.6077
3.3934 8.0 4440 3.6121
3.3741 9.0 4995 3.6158
3.3443 10.0 5550 3.6175
3.335 11.0 6105 3.6219
3.3203 12.0 6660 3.6227
3.3123 13.0 7215 3.6206
3.3154 14.0 7770 3.6220
3.3057 15.0 8325 3.6233

Framework versions

  • Transformers 4.32.0
  • Pytorch 2.0.1+cu118
  • Datasets 2.14.4
  • Tokenizers 0.13.3
Downloads last month
41
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for pranjal0198/fine_tuned_gpt2_clm-model

Finetuned
(2,350)
this model

Dataset used to train pranjal0198/fine_tuned_gpt2_clm-model