Downloads · 30 days
105
50% of all-time downloads
0rn0/gpt2-125m-tinystories-sft
gpt2-125m-tinystories-sft is a text generation model from 0rn0. Use it when you need the model to write or continue text. It is set up for pytorch. The card lists the license as openrail.
- Architecture: GPT-2 (custom implementation) - Parameters: ~125M - Context Length: 512 tokens - Embedding Dim: 768 - Attention Heads: 12 - Transformer Layers: 12 - Tokenizer: GPT-2 BPE (tiktoken, vocab size 50,257)
Downloads · 30 days
105
50% of all-time downloads
All-time downloads
210
Public
Parameters
200M
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors802 MB · 100%
From the Hugging Face model README
Pre-trained from scratch on the TinyStories dataset for 3 epochs. Pre-trained weights available at 0rn0/gpt2-125m-tinystories.
Fine-tuned for 1 epoch on 0rn0/tinystories-instruct-balanced, a curated instruction-tuning dataset with balanced happy/sad endings (50-50 split, ~325K examples).
SFT Hyperparameters:
This is a custom PyTorch model (not transformers-compatible). Requires source code from the GitHub repository.
git clone https://github.com/aryandeore/monday-morning-moral-sft.git
cd monday-morning-moral-sft
uv sync
Write a story about: {topic}
With: {ending} ending
### Story:
Where {ending} is either happy or sad.
Prompt: Write a story about: a little girl and her dog at the park
Once upon a time there was a little girl and her loyal dog. They were best friends and did everything together. One day they went to the park and they were having lots of fun. Suddenly, the girl saw a big seat. She wanted to sit on it, so she asked her loyal dog, "Can I sit on the seat?" Her dog barked happily and the girl hopped on the seat. They were both very happy and they spent the whole day playing and laughing together. They even saw some other children playing in the park. At the end of the day, the girl and her loyal dog went home. The girl was sure that her loyal dog was always there to protect her and make her feel safe. She hugged him and said, "I love you, my loyal dog!"
Prompt: Write a story about: a boy who lost his favorite toy
The boy said, "Yes, I understand. I lost my toy and I can't find it." The man said, "Don't worry, I'll help you find it." They looked and looked for the toy, but they could not find it. The boy was very sad. The man said, "I'm sorry, I can't find your toy." The boy went home with a sad face, and the man went back to his house with a bad feeling.