Tiny LLM training experiments in Rust/Candle
A hobby project that trains a tiny LLM from scratch using Rust and the Candle framework. It involves constant tweaking with results tracked in a spreadsheet, plus building a ~17 MB training corpus of LLM-generated stories, encyclopedia-style content, and JSON examples. The model can answer simple extractive questions (where the answer appears in the prompt) with up to 75% accuracy, and the goal is learning and fun rather than production use.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Tiny LLM training experiments in Rust/Candle
A hobby project that trains a tiny LLM from scratch using Rust and the Candle framework. It involves constant tweaking with results tracked in a spreadsheet, plus building a ~17 MB training corpus of LLM-generated stories, encyclopedia-style content, and JSON examples. The model can answer simple extractive questions (where the answer appears in the prompt) with up to 75% accuracy, and the goal is learning and fun rather than production use.
Posted by @antoineMoPa · Original source ↗
Source text · @antoineMoPa · · Source ↗
Training a tiny LLM for fun using Rust/Candle - I constantly tweak stuff and keep track of results in a spreadsheet and work on generating a bigger corpus with LLMs. It's a project for fun, so I don't care about finding actual human generated text, I'd rather craft data in the format I want using LLMs
rust-text-experiments (tiny LLM in Rust)
A tiny LLM implemented in Rust using the candle library, built as a hands-on project for learning how AI works.
Problem: Teaching the author AI through direct implementation.
Posted by @antoineMoPa · Original source ↗
Source text · @antoineMoPa · · Source ↗
I'm making a tiny tiny LLM in rust (using candle) to teach myself AI https://github.com/antoineMoPa/rust-text-experiments