AIToday
Large Language ModelsAI Coding AssistantsAI Safety & AlignmentQiita 機械学習Published: Nov 20, 2026, 22:01 JST

PyTorch-only 900K-param Japanese mini-GPT: 松延's toy RSI scores rise to 97.84

Send on LINE
PyTorch-only 900K-param Japanese mini-GPT: 松延's toy RSI scores rise to 97.84

3 Key Points

  1. What happened

    Matsunobe, a second-year ZEN University student, built a character-level Japanese GPT of about 900,000 parameters (898,425) with 128-dim embeddings, 4 heads and 4 layers, then ran a 3-generation RSI loop whose worst-candidate average score climbed from 80.77 to 97.80.

  2. Why it matters

    He explicitly says the improvement is not proof of a smarter model — the seven RSI evaluation questions were the same ones added to training data, and search temperature was also lowered, so the gain may reflect memorization, not generalization.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The write-up is structured as three incremental steps on the same architecture: a character-level pretraining script that generates continuations, a chat version created by changing only the prompt format and adding a stop token, and an RSI loop. Matsunobe reports that pretraining loss fell from 6.1098 at Step 1 to 0.0683 at Step 800, and chat-tuning loss from 5.5833 to 0.0387 over 1,000 steps, on data of 1,678 and 1,575 characters respectively. Those very low losses are the basis for his own caution: with so little data, he believes the model is largely memorizing rather than generalizing, and he notes no held-out validation was measured.

The RSI section is where the body is most explicit about its own limits. Candidates were generated at N=6 per question, self-scored on a 100-point rule (completeness, format, keyword match up to 30, and the model's own average confidence up to 20), and pairs scoring 75 or above were added as synthetic data before 350 retraining steps. Gen 1 failure examples include a greeting answered with an evening greeting and a role-leak where the reply itself contained "AI: ...". The reported score jump is accompanied by the author's own caveats: reused evaluation questions, self-grading bias, a confounded temperature drop from 0.85 to 0.61, and a single recorded run. The practical takeaway is less about self-improvement than about how easily a closed loop of self-generated data and self-scoring can produce numbers that look like progress.

FAQ
How big is the model and how was it trained?
It has about 900,000 parameters (898,425 for the pretraining version) with 128-dimensional embeddings, 4 attention heads and 4 layers, trained on 1,678 characters of Japanese literature excerpts over 800 steps.
Why does the author say the RSI results are not proof of improvement?
The seven evaluation questions were the same ones whose synthesized answers were added to the training data, so Gen 2 and Gen 3 were re-answering questions they had already seen; lower search temperature was also mixed in without being measured separately.
What did the author identify as next steps?
Separating evaluation questions from training data, using graders other than his own scoring rules, and fixing the temperature so the RSI effect can be isolated.
Qiita 機械学習Read Original Article
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.

By signing up you agree to the Terms of Service and Privacy Policy.

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 articleRTX Spark laptop beats AMD Ryzen AI Halo in AI speed test, but LTT Labs says not worth the price