Model Card for Model ID
Summary
This is supervised fine-tuned model for text summarization based on GPT-2 (large). It has been finetuned on the filtered version of TL;DR train dataset, which can be found and downloaded from here: https://github.com/openai/summarize-from-feedback.
Model Description
- Developed by: Course Organizers
- Finetuned from model: openai-community/gpt2-large
Training Details
This model has been trained using the TLR library and SFTTrainer class from Huggingface.
Training Data
The filtered version of TL;DR train dataset, which can be found and downloaded from here: https://openaipublic.blob.core.windows.net/summarize-from-feedback/datasets/tldr_3_filtered/train.jsonl.
Training Hyperparameters
The following hyperparameters were used during training:
- learning_rate: 1e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 2024
- distributed_type: multi-GPU
- num_devices: 8
- gradient_accumulation_steps: 1
- total_train_batch_size: 64
- total_eval_batch_size: 64
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- num_epochs: 1
Framework Versions
- accelerate==0.26.1
- datasets==2.16.1
- transformers==4.45.2
- trl==0.11.2
Compute Infrastructure and Hardware
Slurm cluster with 8 x H100 Nvidia GPUs.
- Downloads last month
- 527
Model tree for course-genai-w24/week4-gpt2-sft-tldr
Base model
openai-community/gpt2-large