s-chh / PyTorch-Scratch-LLMView on GitHub
Simple and easy to understand PyTorch implementation of Large Language Model (LLM) GPT and LLAMA from scratch with detailed steps. Implemented: Byte-Pair Tokenizer, Rotational Positional Embedding (RoPe), SwishGLU, RMSNorm, Mixture of Experts (MOE). Tested on Taylor Swift song lyrics dataset.
☆11Nov 18, 2024Updated last year

Alternatives and similar repositories for PyTorch-Scratch-LLM

Users that are interested in PyTorch-Scratch-LLM are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.

Sorting:

Are these results useful?