nanochat is a Large Language Models (LLMs) tool. Trains chatbot models and explores open-source LLM. Build AI chatbots from scratch with clear code. Key features include Rust Tokenizer, FineWeb-EDU Pretraining, and Supervised Fine-Tuning (SFT). Best for scientists and researchers and software developers and engineers.
About nanochat
Key Features
Rust Tokenizer.
FineWeb-EDU Pretraining.
Supervised Fine-Tuning (SFT).
Reinforcement Learning (GRPO).
KV Cache Inference.
ChatGPT-Like Interface.
Frequently Asked Questions
It costs from around $100 for a quick run to $1,000 for better models, This depends on model size and cloud GPU prices.
It is best with 8xH100 GPUs, each with 80GB VRAM. It can be adapted to single GPUs or 8xA100s, but you need to change some settings.
A nanochat model that costs $1,000 does better than GPT-2 on tests, even though it costs less to train.
The code is free, and you can use Google Colab for small models. But, good models need paid cloud computing services.





