joennlae/tensorli
View on GitHub ↗ ★ 251 Python
Absolute minimalistic implementation of a GPT-like transformer using only numpy (<650 lines).
4 mentions on Hacker News by 1 person: 3 stories, 1 comment · first 2023-11-13 · latest 2024-05-16
20082026
-
Trainable Llama-like transformer (with backpropagation) in numpy only (~600 lines) https://github.com/joennlae/tensorli
comment by joennlae · 2024-05-16 · in Llama 3 implemented in pure NumPy