File size: 688 Bytes
152186e
6ec00a8
 
152186e
 
 
 
6ec00a8
152186e
 
6ec00a8
 
 
 
 
 
 
 
 
f82ff10
6ec00a8
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: Story GPT Python
colorFrom: yellow
colorTo: red
sdk: gradio
app_file: app.py
pinned: false
license: mit
---

# Story GPT Python

This is a tiny story-writing GPT-style language model project written in Python from scratch.

## What it includes

- Word-level tokenizer
- Causal transformer decoder with self-attention
- Story-focused local training corpus
- Structured local story composer for cleaner paragraph output
- Local CPU training loop
- Checkpoint save and load
- Gradio user interface

## Important

- No external pretrained LLM is used
- This is a small educational GPT-like story model
- The first generate or train call will initialize and train the model locally