mplekh/rust-microgpt
Port of Andrej Karpathy's python microGPT to Rust
This tool helps you train a small text generation model directly on your computer. You provide a text file containing short strings like names, song lyrics, or code snippets, and it learns the patterns within that text. After training, it generates new, similar strings based on what it learned. This is for hobbyists or researchers who want to quickly experiment with generating short, patterned text from a custom dataset.
Use this if you want to quickly train a small model to generate short, patterned text strings based on your own input file, without needing extensive machine learning setup or cloud resources.
Not ideal if you need to generate long, coherent articles, complex stories, or if you require state-of-the-art performance on large, diverse datasets.
Stars
36
Forks
8
Language
Rust
License
—
Category
Last pushed
Mar 07, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/mplekh/rust-microgpt"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
trymirai/uzu
A high-performance inference engine for AI models
justrach/bhumi
⚡ Bhumi – The fastest AI inference client for Python, built with Rust for unmatched speed,...
lipish/llm-connector
LLM Connector - A unified interface for connecting to various Large Language Model providers
keyvank/femtoGPT
Pure Rust implementation of a minimal Generative Pretrained Transformer
ShelbyJenkins/llm_client
The Easiest Rust Interface for Local LLMs and an Interface for Deterministic Signals from...