Show HN: My lunch-break transformer in C became a book about my toddlers
Category: ai-ml
Tags: transformer, c-engine, educational
Score: 6.5/10 (Innovation: 6, Technical: 8, Documentation: 7, Utility: 5)
TRiP is a from-scratch C engine for transformer AI models supporting inference, training, tokenizer creation, chat, and vision. Built over 18 months during lunch breaks, it prioritizes educational clarity over performance, with paired forward/backward operations and extensive comments. It uniquely combines a hands-on transformer implementation with a reflective book about AI's nature.
Target audience: ai researchers, machine learning engineers, backend devs
Repository: https://github.com/carlovalenti/TRiP/blob/main/My_TRiP_through_AI-Chapter3.md · C · NOASSERTION · 78 stars
View on Hacker News