AIToday
Large Language ModelsOpen-Source AIGIGAZINE AIPublished: Nov 3, 2026, 01:00 JST

nanochat-jp bundles Japanese tokenizer, data and benchmarks for nanochat

Send on LINE
nanochat-jp bundles Japanese tokenizer, data and benchmarks for nanochat

3 Key Points

  1. What happened

    The tohoku-nlp repository adds a SentencePiece Unigram tokenizer, Japanese pretraining corpus, SFT and RL data, CORE/ChatCORE benchmarks and a Hugging Face Transformers converter to Andrej Karpathy's nanochat, with training run via speedrun.sh.

  2. Why it matters

    Developers building Japanese AI models from scratch can now get tokenizer training, pretraining, fine-tuning, evaluation and inference from a single repository instead of assembling separate pipelines, though standard training still requires a high-performance GPU environment.

WHO IT HITSDevelopers and researchers who want to build or study small Japanese-language AI models from scratch benefit most, since they can reuse the bundled tokenizer, corpus, SFT/RL data and evaluation scripts instead of building each step separately.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

nanochat-jp builds on nanochat, which Andrej Karpathy published in October 2025 as a single codebase covering pretraining, conversation fine-tuning and inference. The fork, hosted under the tohoku-nlp GitHub organization, keeps that structure but replaces the language-specific pieces with Japanese ones: a SentencePiece Unigram tokenizer, a Japanese pretraining corpus, Japanese SFT and RL data, and CORE/ChatCORE benchmarks for measuring Japanese ability. It also adds a converter to Hugging Face Transformers format.

The repository organizes training around the included speedrun.sh script, which runs tokenizer training and evaluation, pretraining, SFT and report generation in sequence. Reinforcement learning is provided but treated as an optional step in the standard script, and separate scripts handle evaluation of the pretrained model (base_eval.sh) and the chat model (chat_eval.sh).

Beyond the code, the developers published checkpoints for nanochat-jp-v4 and v3, SFT models in Hugging Face Transformers format, and a vLLM plugin for serving trained models. Their benchmark results state that the standard-setting model reached Japanese performance comparable to Qwen3.5-0.8B, with v4 improving on v3 in 4 of 5 metrics; the Qwen3.5 comparison models were evaluated with thinking disabled. The project is positioned for researching how Japanese AI works or checking the performance of custom models, though standard training requires a high-performance GPU environment.

FAQ
What is nanochat-jp based on?
It is a Japanese-language fork of nanochat, the project Andrej Karpathy released in October 2025 that combines pretraining, conversation fine-tuning and inference in a single codebase.
How well does the trained model perform in Japanese?
The developer's benchmark results say the standard-setting model showed Japanese performance comparable to Qwen3.5-0.8B, and nanochat-jp-v4 improved its score on 4 of 5 metrics versus v3.
Are pretrained models available for use?
Yes, checkpoints for nanochat-jp-v4 and nanochat-jp-v3 are published, along with SFT models converted to Hugging Face Transformers format and a vLLM plugin for serving.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleTrump backs Nvidia's Jensen Huang after spy plot report