Skip to content

A lightweight, educational implementation of Byte-Pair Encoding (BPE) tokenization with integrated Skip-Gram style embeddings, built from scratch in Python. Built for educational purposes and to explore how an LLM works using Shakespearian text for training.

Notifications You must be signed in to change notification settings

devinstanley/simple-LLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a Simple LLM from Scratch

Tokenizer

Embeddings

About

A lightweight, educational implementation of Byte-Pair Encoding (BPE) tokenization with integrated Skip-Gram style embeddings, built from scratch in Python. Built for educational purposes and to explore how an LLM works using Shakespearian text for training.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages