keyvank/femtoGPT
Pure Rust implementation of a minimal Generative Pretrained Transformer
This project helps software developers understand and implement core concepts of large language models (LLMs). It takes a text file as input and trains a small, custom GPT-style model. The output is a trained model capable of generating new text based on the patterns it learned from your input. It's designed for developers, researchers, or students who want to build and experiment with LLMs from the ground up.
935 stars.
Use this if you are a developer or researcher keen on understanding the low-level mechanics of generative AI models, or if you want to integrate a minimal, custom-trained text generation capability into a Rust application.
Not ideal if you need a high-performance, production-ready LLM for complex tasks, or if you are not a developer and simply want to use a powerful existing language model.
Stars
935
Forks
67
Language
Rust
License
MIT
Category
Last pushed
Oct 21, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/keyvank/femtoGPT"
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
ShelbyJenkins/llm_client
The Easiest Rust Interface for Local LLMs and an Interface for Deterministic Signals from...
rustformers/llm
[Unmaintained, see README] An ecosystem of Rust libraries for working with large language models