Skip to content

y1yang0/smallgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmallGPT

A minimal GPT implementation from scratch for learning purposes.

Quick Start

Install dependencies:

$ pip install -r requirements.txt

Train the tokenizer:

python tokenizer.py train

Train the model:

python smallgpt.py train

Supervised Fine-tuning:

python tuning.py

About

A minimal GPT implementation from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages