Downloads · 30 days
0
popboat1/gpt2-summarizer-models
gpt2-summarizer-models is a summarization model from popboat1. Use it when you need a shorter version of a longer text. It is set up for pytorch. The card lists the license as mit.
This repository contains the model weights for a custom GPT-2 (124M) model trained entirely from scratch, then aligned using Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) with Prox…
Downloads · 30 days
0
Access
Public
Updated Jun 12, 2026
Repo size
2.1 GB
Likes
0
Public
Click a slice to open those files.
.pt2.1 GB · 100%
From the Hugging Face model README
This repository contains the model weights for a custom GPT-2 (124M) model trained entirely from scratch, then aligned using Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) with Proximal Policy Optimization (PPO).
en)summarization)The model was developed through a complete, three-stage modern alignment pipeline, trained locally on a dual T4 GPU environment.
The raw base model was trained from a random initialization on the FineWeb-Edu dataset.
To teach the model how to summarize, it was fine-tuned on the OpenAI Summarize TL;DR dataset.
best_sft.ptA Reward Model was trained on human preference data using OpenAI Summarize Comparisons. The SFT model was then fine-tuned using PPO to maximize the reward signal while penalizing KL-divergence from the reference model to prevent the language from degrading.
ppo_latest.ptThe model has been evaluated qualitatively against its SFT baseline. PPO alignment successfully prevents the model from hallucinating or copying text verbatim, resulting in highly abstractive and concise summaries.
Input Post: I have a roommate who keeps eating my food without asking. Every single time I buy groceries, half of it disappears within 48 hours. I tried talking to him politely but he just laughs it off and says he will replace it, but he never does. Should I get a mini-fridge for my room or confront him one last time more aggressively?
PPO Summary: I have a roommate who keeps eating my groceries without asking, and I don't want him to do it again. Should I confront him?
Because this model was built from scratch without relying on transformers high-level abstraction, it requires a custom inference loop. The weights are provided in raw PyTorch .pt format.
You can interact with the live inference API here: GPT-2 Summarizer App