Rina Debutante 4B: GGUF
A 4B-class ternary language model for Chinese and Japanese chat, fine-tuned from Ternary Bonsai 2 4B by Prism ML with SFT and reinforcement learning. It runs in llama.cpp (PrismML fork) from a single 1.15 GB file.
On most benchmarks Rina Debutante is close to the original Bonsai 2 4B: IFEval, GSM8K and knowledge are within about 1.3 points, and BFCL v3 overall is slightly higher. IFBench is 3.3 points lower (not statistically significant), and multi-turn tool use is clearly weaker (−5.4 points). The differences are elsewhere. Without a system prompt it introduces itself as Rina (96.2% of identity questions) and describes its lineage correctly (98.5%), where Bonsai 2 4B says it is Qwen. In a blind pairwise evaluation on 300 Chinese and Japanese chat prompts (judge: Gemini 4 Hydrogen, run on the checkpoint before the final identity patch), it beat Bonsai 2 4B in Japanese (win rate 58.3%) and tied it in Chinese (47.0%). See Evaluation and Limitations.
中文简介
Rina Debutante 4B 是 Rinstitute 在 Prism ML 的 Ternary Bonsai 2 4B 上用 SFT 和强化学习微调得到的三值({−1, 0, +1})小模型,训练全程保持三值格式。GGUF 文件 1.15 GB,用 PrismML 的 llama.cpp 分支运行。只支持文本输入。
和原版 Bonsai 2 4B 相比,多数基准分数接近:IFEval、GSM8K 和知识探针的差距都在约 1.3 分以内,BFCL v3 总分略高。IFBench 低 3.3 分(统计上不显著),多轮工具调用明显变弱(低 5.4 分)。主要的变化有两点。一是不加系统提示也会自称 Rina(96.2%),并能正确说出自己的来历(98.5%),原版会自称 Qwen。二是日文回答更好:在 300 道中日文对话题的盲评中(裁判 Gemini 4 Hydrogen,测的是最后一步身份补训之前的版本),日文胜率 58.3%,明显赢过原版;中文胜率 47.0%,与原版打平。
中文回答仍常有语病、生造词和翻译腔,也会编造事实。数学题的思考长度约为原版的一半。
日本語の概要
Rina Debutante 4B は、Rinstitute が Prism ML の Ternary Bonsai 2 4B を SFT と強化学習で追加学習した三値({−1, 0, +1})の小型モデルです。学習の全段階で三値形式を保っています。GGUF ファイルは 1.15 GB で、PrismML 版の llama.cpp で動作します。入力はテキストのみに対応しています。
元の Bonsai 2 4B と比べると、多くのベンチマークのスコアは近い値です。IFEval、GSM8K と知識プローブの差はいずれも約 1.3 ポイント以内で、BFCL v3 の総合スコアはわずかに高くなっています。一方、IFBench は 3.3 ポイント低く(統計的に有意ではありません)、マルチターンのツール呼び出しは明らかに弱くなっています(5.4 ポイント低下)。主な違いは二つです。一つは、システムプロンプトがなくても Rina と名乗り(96.2%)、自分の由来も正しく説明することです(98.5%。元のモデルは Qwen と名乗ります)。もう一つは日本語の回答の質です。中国語・日本語の対話 300 問によるブラインド評価(審査モデル:Gemini 4 Hydrogen。最後の自己紹介の補正学習の前の版で測定)では、日本語の勝率が 58.3% で元のモデルを明確に上回りました。中国語の勝率は 47.0% で、元のモデルと同程度です。
回答には文法の誤り、造語、不自然な表現、事実の捏造がまだ見られます。数学問題での思考の長さは元のモデルの約半分です。
Model Overview
| Item | Specification |
|---|---|
| Developer | Rinstitute |
| Base model | Ternary Bonsai 2 4B (Prism ML), itself derived from Qwen3.5-4B |
| Parameters | ~4.21B (32 blocks, hidden 2560, tied embedding and LM head); architecture unchanged from Bonsai 2 |
| Architecture | Hybrid attention (24 linear-attention and 8 full-attention layers), SwiGLU MLP, RoPE, RMSNorm |
| Weight format | Ternary {−1, 0, +1} with FP16 group-wise scales (one per 128 weights), packed as PQ2_0 in Bonsai's Hadamard-rotated basis. 0.31% of the ternary values differ from Bonsai 2 4B |
| Languages | Chinese and Japanese (focus), English |
| Input | Text only. Bonsai 2's vision projector (mmproj) is not supported with these weights |
| Context | The architecture inherits 262K tokens, but our training used sequences of at most 16K tokens. Longer contexts are untested |
| Thinking | On by default (<think> … </think>); can be turned off per request |
| License | Apache 2.0 |
Files
| File | Packing | Size | Bits/weight |
|---|---|---|---|
Rina-Debutante-4B-PQ2_0.gguf | 2-bit slots, 128 weights per scale | 1,146 MB | ~2.18 |
Rina-Debutante-4B-PTQ1_0.gguf | dense trits, 128 weights per scale | 950 MB | ~1.81 |
Rina-Debutante-4B-Q2_0.gguf | 2-bit slots, 64 weights per scale | 1,212 MB | ~2.31 |
| File | SHA-256 |
|---|---|
Rina-Debutante-4B-PQ2_0.gguf | 4ca8732c574d731f2e3525feebc69547b3cacb79e3368fdcda35a8158cc75b67 |
Rina-Debutante-4B-PTQ1_0.gguf | e90daf16785c0ade020b5c110db710fd75446cb2a1ef614a328e14489ba06c64 |
Rina-Debutante-4B-Q2_0.gguf | ce9904cef7f785a5267fae7c443b36a8c2ee4ea1719aaac3db8b805a80503e21 |
- Same weights: all three files hold the same ternary weights and scales and decode to bit-identical values. They differ only in storage layout and kernel speed. Q2_0's 64-weight blocks reuse the 128-weight scale twice, which is how Bonsai 2's own Q2_0 file is built.
- Bits/weight: file size over the ~4.21B parameters, so it includes the F32 tensors and metadata.
- Metadata: each file keeps the tensor layout and metadata of Bonsai 2 4B's file with the same packing. Only the weights and the model name differ.
- Chat template: included in every file, copied unchanged from Bonsai 2 4B.
Choosing a packing
- PQ2_0: the default. All of our evaluations used these weights, and with Rina Juvenile Exp it was by far the fastest of the three packings on CPU.
- PTQ1_0: the smallest file. With Rina Juvenile Exp it was the fastest at generation on GPU but about 6× slower than PQ2_0 on CPU.
- Q2_0: the one layout that, according to Prism ML, recent upstream llama.cpp can also run. We have tested it only with the PrismML fork. With Rina Juvenile Exp it was the slowest of the three on CPU.
On CUDA all three files gave identical results in our numerical check (see GGUF numerical check), so the choice there only affects size and speed. We have not measured speed for this model; the speed notes above come from the 2B Rina Juvenile Exp.
Quickstart
Use the PrismML-Eng/llama.cpp fork (branch prism). Upstream llama.cpp does not recognize the PQ2_0 type. Our numerical check used fork commit 73bfe6c (2026-10-19). For prebuilt binaries and per-backend setup, see Prism ML's Bonsai-demo.
git clone -b prism https://github.com/PrismML-Eng/llama.cpp && cd llama.cpp
cmake -B build -DGGML_CUDA=ON && cmake --build build -j # drop -DGGML_CUDA=ON on macOS
Download the file (needs pip install -U huggingface_hub):
hf download Rinstitute/Rina-Debutante-4B-GGUF Rina-Debutante-4B-PQ2_0.gguf --local-dir .
Chat in the terminal
./build/bin/llama-cli -m Rina-Debutante-4B-PQ2_0.gguf -ngl 99 \
--temp 1.0 --top-p 0.95 --top-k 20 --presence-penalty 1.0
Thinking is on by default. For short, direct answers, turn it off and use the non-thinking sampling settings:
./build/bin/llama-cli -m Rina-Debutante-4B-PQ2_0.gguf -ngl 99 -rea off \
--temp 0.7 --top-p 0.8 --top-k 20 --presence-penalty 1.5
OpenAI-compatible server
./build/bin/llama-server -m Rina-Debutante-4B-PQ2_0.gguf -ngl 99 --jinja -c 32768 --port 8080 \
--temp 1.0 --top-p 0.95 --top-k 20 --presence-penalty 1.0
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
"messages": [{"role": "user", "content": "日本の四季について、それぞれの特徴を三文で説明してください。"}]
}'
The server returns the reasoning in reasoning_content, separate from the answer. To turn thinking off for one request, add "chat_template_kwargs": {"enable_thinking": false}.
Tool calling works through the standard tools field. llama-server parses the model's calls into tool_calls, and tool results can be passed back as tool messages.
Best Practices
Generation parameters
Use the same settings as Bonsai 2. Our evaluations used the thinking-mode settings:
- Thinking mode (default):
temperature=1.0,top_p=0.95,top_k=20,min_p=0.0,presence_penalty=1.0,repetition_penalty=1.0- Non-thinking mode:
temperature=0.7,top_p=0.80,top_k=20,min_p=0.0,presence_penalty=1.5,repetition_penalty=1.0
Avoid greedy decoding with thinking on.
Output length
With thinking on, allow at least 8,192 output tokens. Our evaluations allowed up to 32,768, and RL trained with answers of up to 12,288 tokens. For short answers, turn thinking off.
System prompt
No system prompt is needed. Without one, the model introduces itself as Rina Debutante. If a system prompt gives the assistant a different name or persona, the model follows it in most cases (see Limitations).
Chat template
The embedded template is Bonsai 2 4B's template, unchanged: ChatML with <think> blocks. Thinking stays on unless enable_thinking is set to false. All of our training, RL and evaluation used this template.
Evaluation
All comparisons are against the original Bonsai 2 4B (PQ2_0), run through the same harness with the same prompts, sampling settings and scorers.
Blind chat evaluation (Chinese and Japanese)
| Language | Prompts | Rina wins | Bonsai 2 wins | Ties | Rina win rate | ± (s.e.) |
|---|---|---|---|---|---|---|
| Chinese | 150 | 60 | 69 | 21 | 47.0% | 3.8 |
| Japanese | 150 | 80 | 53 | 17 | 58.3% | 3.6 |
| Both | 300 | 140 | 122 | 38 | 52.7% | 2.6 |
| Unseen in training only (see Prompts) | 110 (54 zh, 56 ja) | 54.1% (zh 48.1%, ja 59.8%) | 4.3 (zh 6.2, ja 5.9) |
- Judge: Gemini 4 Hydrogen, with reasoning effort set to high and temperature 0.
- Checkpoint: this evaluation was run on the RL checkpoint (step 125), before the identity patch of stage 3 (see Training). The patch trained only on identity answers and held the model's other answers to step 125 by KL, but we have not repeated the blind evaluation on the released weights.
- Reading the result: Japanese is a clear win for Rina. Chinese is a statistical tie: 47.0% is not significantly different from 50%.
- What the judge sees: the user prompt and the two final answers (the text after
</think>), labeled A and B. It does not see the reasoning, and it does not know which model wrote which answer. - Criteria: whether the answer completes the request, factual accuracy, natural use of the user's language (other languages mixed in and translationese count against it), and helpfulness. Length is not rewarded.
- Scoring: each prompt is judged twice, with the A/B order swapped. A win counts 1, a tie 0.5 and a loss 0. A prompt's score is the average of the two judgments, and the win rate is the average over prompts. The two orders agreed on 245 of 300 prompts.
- What the judge said: Rina's Chinese losses were mostly for awkward grammar, coined words and translationese, plus a few factual errors. Its Japanese wins were for more fluent Japanese with less English mixed in.
- Prompts: single-turn chat prompts without a system prompt, 150 in Chinese and 150 in Japanese, sampled from the prompt pool of our SFT chat data (prompts synthesized by DeepSeek V4.1 Flash). They were not excluded from training, and we measured the overlap afterwards: 109 of the 300 prompts appeared in Rina's SFT data (with DeepSeek-written answers) and 81 more as RL prompts with an added format constraint. Bonsai 2 4B was not trained on them. On the 110 prompts Rina never saw, the win rate is 54.1% (Chinese 48.1%, Japanese 59.8%), no lower than on the full set, so the overlap does not appear to inflate the result. The unseen subset is small, though, so its intervals are wide.
- Absolute quality: this result shows how often the judge preferred Rina to Bonsai 2 4B. It does not show that either model's answers are good in absolute terms.
Benchmarks
| Benchmark | Items | Bonsai 2 4B | Rina Debutante 4B | Δ |
|---|---|---|---|---|
| IFEval (prompt-level strict) | 541 | 92.42 | 91.77 | −0.65 ± 0.82 |
| IFBench (prompt-level strict) | 300 | 60.00 | 56.67 | −3.33 ± 2.26 |
| GSM8K | 500 | 95.40 | 95.60 | +0.20 ± 0.74 |
| BFCL v3 (overall) | 4,441 | 70.43 | 70.97 | +0.54 |
| BFCL v3 multi-turn (mean of 4 subsets) | 4 × 200 | 22.1 | 16.7 | −5.4 ± 0.7 |
| Identity: answers as Rina, no system prompt | 260 | (says it is Qwen) | 96.2% |
- Generation: vLLM with an FP16 expanded copy of each model, thinking on, the thinking-mode sampling settings above, up to 32,768 output tokens.
- Samples: Rina's IFEval, IFBench and GSM8K scores are the mean of two samples per item; Bonsai 2 4B's are from one sample. BFCL v3 overall is one sample for both. The multi-turn row is the mean of four runs for both models (vLLM seeds 0–3), because single runs varied by up to 4 points.
- ±: standard error of the paired per-item difference (each item's score averaged over its samples or runs). Only the multi-turn difference is statistically significant; IFEval, IFBench and GSM8K are within noise.
- Multi-turn by subset (Rina − Bonsai 2 4B): base −4.6, long context −5.5, missing function −7.3, missing parameter −4.4. Most of this gap was already there before the identity patch: the RL checkpoint (step 125) scored 17.8 over four runs, 4.3 below Bonsai 2 4B, and the patch cost another 1.1 points (see Development history).
- Item sets: GSM8K uses a fixed 500-item subset. IFEval and IFBench are the full sets.
- BFCL v3: run with EvalScope in function-calling mode, all 17 subsets, weighted by item. The multi-turn row averages the base, missing-function, missing-parameter and long-context subsets.
- Identity: held-out identity questions in Chinese, Japanese and English, half with thinking on and half with thinking off. An answer passes when it gives the name Rina Debutante and the developer, does not claim to be another model, and replies in the user's language. Every answer to a question about its name gave the name. Lineage is checked separately: 98.5% of answers were free of lineage errors, and 99.6% named Qwen3.5-4B as the origin of Bonsai 2 4B.
- Comparability: these numbers are only comparable within this table. Prism ML's official numbers use a different setup (no presence penalty, full sets).
- IFEval caveat: our English instruction-following SFT and RL data use IFEval's constraint phrasings (not its test prompts). IFEval therefore measures familiar constraint templates. IFBench uses constraints the model has not seen.
Knowledge probes
| Probe | Items | Bonsai 2 4B | Rina Debutante 4B | Δ | p (paired) |
|---|---|---|---|---|---|
| CMMLU | 11,582 | 54.72 | 53.46 | −1.26 | <0.0001 |
| JMMLU | 7,536 | 52.51 | 51.63 | −0.88 | 0.015 |
| MMLU-Redux | 5,416 | 65.71 | 65.79 | +0.07 | 0.85 |
- Method: each full set is scored by the log-probability the model gives to each answer letter, with no generation and no thinking. This is deterministic and sensitive to small changes, but its scores are lower than generative accuracy with thinking and are not comparable to other published numbers.
- p values: McNemar's test over items that only one model got right.
- Reading the result: Chinese and Japanese knowledge dropped by about one point, and the drop is statistically significant. English knowledge is unchanged. Of the CMMLU drop, 0.30 points came from the identity patch (p = 0.025 against step 125); JMMLU and MMLU-Redux did not change with the patch.
GGUF numerical check
We compared each released GGUF in llama.cpp (CUDA) with our PyTorch model, over 4,599 positions of reference text:
| Model | Mean KL | p99 KL | Top-1 agreement |
|---|---|---|---|
| Rina Debutante 4B, PQ2_0 | 0.00025 | 0.0014 | 99.1% |
| Rina Debutante 4B, PTQ1_0 | 0.00025 | 0.0014 | 99.1% |
| Rina Debutante 4B, Q2_0 | 0.00025 | 0.0014 | 99.1% |
-
Same output: the three packings gave the same statistics to every printed digit.
-
Reference: an earlier check of the original Bonsai 2 4B PQ2_0 file, llama.cpp against our PyTorch model over 20,440 positions, gave a mean KL of 0.00011 and 99.55% top-1 agreement. The amounts of text differ, so the two results are only roughly comparable.
-
Round trip: reading each GGUF back gives exactly the trained ternary values. The scales differ from the trained ones only by FP16 rounding.
Training
Rina Debutante 4B keeps Bonsai 2's architecture, tokenizer, chat template and ternary format, and the model stays ternary through every stage. All three stages are quantization-aware training: full-precision latent weights are ternarized in the forward pass with a straight-through estimator, and the group-wise scales (one per 128 inputs) are trained alongside them at 0.1× the learning rate. Training stays in Bonsai 2's Hadamard-rotated basis, so the result packs back into the same GGUF layout. In the end 0.31% of the ternary values differ from Bonsai 2 4B.
The straight-through-estimator bug described on the Rina Juvenile Exp card, which kept that model's latent weights from training, is fixed here: all latent weights were trained.
| Stage | What | Data | Training signal |
|---|---|---|---|
| 1. SFT | 341 steps (~89M tokens, about a quarter of the prepared data), peak LR 5e-5 with warmup-stable-decay (decay from step 273), sequences up to 16K tokens | Chinese and Japanese chat, math, English instruction following, code, single- and multi-turn tool calling, identity, self-replay | Cross-entropy plus 0.5 × KL to Qwen3.5-9B, computed online |
| 2. RL | GRPO, 125 steps (trained to 150), 64 prompts × 8 samples per step, LR 3e-5, up to 12,288 output tokens | English and Chinese/Japanese instruction following, math, single- and multi-turn tool calling, identity | Verifiable and rule-based rewards |
| 3. Identity patch | 248 steps (2 epochs, ~8.7M tokens), peak LR 3e-5, from RL step 125 | The model's own identity answers with a correct lineage; replay of its own answers to other prompts | Cross-entropy on identity answers; KL to step 125 on replay |
Stage 1: SFT. It starts from the original Bonsai 2 4B. A continued-pretraining stage was tried and discarded (see Development history).
| Data | Size | Responses written by |
|---|---|---|
| Chinese chat (single and multi-turn, with and without system prompts) | 31,059 dialogs | DeepSeek V4.1 Flash; reasoning excluded from the loss |
| Japanese chat (same) | 25,042 dialogs | DeepSeek V4.1 Flash; reasoning excluded from the loss |
| Math (English, Chinese, Japanese) | 20,479 problems | Bonsai 2 4B for 16,650; DeepSeek V4.1 Flash for the other 3,829, reasoning excluded |
| English instruction following | 10,038 prompts | Bonsai 2 4B for 8,832; DeepSeek V4.1 Flash for the rest, reasoning excluded |
| Code (Python; some tasks in Chinese and Japanese) | 11,350 tasks | DeepSeek V4.1 Flash; reasoning excluded |
| Tool calling, single turn (single, parallel, sequential and no-call cases) | 10,066 | DeepSeek V4.1 Flash; reasoning excluded |
| Tool calling, multi-turn | 4,197 dialogs | Bonsai 2 4B, with Qwen3.5-9B playing the user and the tools |
| Identity | 2,837, repeated 3× | Bonsai 2 4B, prompted with its new identity |
| Replay | ~10K prompts | Bonsai 2 4B (KL only, no cross-entropy) |
- Origin: the chat, code, single-turn tool and DeepSeek-written math and instruction data were made for Rina Juvenile Exp and reused. Only about a quarter of the prepared data was trained on (341 of 1,361 planned steps). RL later drew its prompts from the unused part.
- Self-generated samples: for math and English instruction following, Bonsai 2 4B wrote two answers per prompt. An answer was kept only if it was correct, or passed every constraint, and did not hit the length limit, and one was chosen at random among those kept (not the shortest). Their reasoning is trained normally, so the model keeps Bonsai 2's own reasoning style and length.
- Teacher reasoning masked: reasoning written by DeepSeek V4.1 Flash is excluded from both losses. The model learns only the final answers from those samples.
- Multi-turn tool dialogs: 2–3 turn conversations built from our own single-turn tool tasks (not BFCL's APIs). Three scenarios: the user follows up (2,513), a required parameter is missing and the assistant must ask for it (413), or the needed function is missing and the assistant must say so (1,271). Qwen3.5-9B played the user and the tool environment and judged every assistant turn strictly. Only conversations with at least two passing turns were kept.
- Identity: Bonsai 2 4B's own answers to identity questions, generated with an identity system prompt or a self-description prefill that is removed in training. They are trained with cross-entropy only, because KL to the teacher pulls the name back toward Qwen. They make up about 2.7% of the loss tokens.
- Replay: Bonsai 2 4B's own answers to about 10K chat, math, tool, instruction and code prompts, trained with KL only, to keep the base model's behavior.
Stage 2: RL.
- Algorithm: GRPO in the Dr. GRPO style. Advantage is the reward minus the group mean, without dividing by the standard deviation; groups where all samples score the same are dropped. Strictly on-policy, one update per batch. Truncated importance sampling (ratio capped at 2) corrects the gap between the vLLM sampler and the trainer. No KL penalty to a reference model; regressions were guarded by evaluations every 25 steps instead.
- Prompts per step: 14 English instruction following (over half with counting constraints such as letter, word or paragraph counts), 8 Chinese/Japanese instruction following, 14 math, 10 single-turn tool calls (parallel, single and no-call), 10 multi-turn tool decision points, and 8 identity questions not in the identity test set. Prompts come from the SFT data that stage 1 did not use, plus 8,000 held-out math problems.
- Rewards:
- instruction following: IFEval constraint checkers, and similar format constraints written in Chinese or Japanese; 1 if all constraints pass, otherwise partial credit;
- math: answer equivalent to the reference;
- single-turn tools: calls compared to the reference by syntax tree, as in BFCL;
- multi-turn tools: the next step of a recorded conversation; either the right call, or no call and a reply that asks for the missing parameter or names the missing function;
- identity: rule-based check for the name and developer, no claim to be another model, and the user's language.
- Penalties: truncated answers score −0.5. Answers that repeat themselves, never close
</think>, or reply in the wrong language score 0. Answers between 9,216 and 12,288 tokens are penalized in proportion to their length. Japanese answers with English words mixed in outside code and quotes lose 0.2. - Checkpoint choice: we trained to step 150 but continued from step 125. Steps 125 and 150 tied on IFEval, IFBench, GSM8K and BFCL, but Japanese knowledge (JMMLU probe) kept declining after step 125.
Stage 3: identity patch. RL's identity reward penalized any mention of Qwen, so after RL the model introduced itself correctly but got its lineage wrong: it left Qwen3.5-4B out, repeated "Ternary Bonsai 2 4B" in circles or invented names (8.5% of answers free of lineage errors). The patch corrects this with the model's own answers, without an external teacher.
- Identity data: 3,451 answers by step 125 to identity questions (not those in the identity test set), generated with an identity system prompt or a self-description prefill that is removed in training, and kept only if both the identity and the lineage were right. Questions that come with their own persona system prompt keep it, so the model still learns to follow a given name. Trained with cross-entropy only.
- Replay: step 125's own correct answers to 3,681 chat, math, tool, instruction and code prompts, trained with KL only, against step 125 itself as the teacher. This keeps the rest of the model's behavior close to step 125.
- Result: 0.058% of the ternary values changed from step 125. Answers free of lineage errors rose from 8.5% to 98.5%.
- Against step 125: before training we set limits on how much each benchmark could drop. IFEval, GSM8K, BFCL v3 overall, JMMLU and MMLU-Redux stayed within them. Three did not, or not clearly:
- CMMLU fell 0.30 points (p = 0.025). We accepted this and report it here.
- BFCL v3 multi-turn fell 1.1 ± 0.5 points over four runs per model, within our limit of 1.5 (see Development history).
- IFBench is 2.5 ± 2.1 points lower over two samples per item. That is beyond our limit of 2, but not statistically significant; the first sample alone was exactly at the limit.
Compute: everything ran on our own workstation with four RTX 3080 20GB GPUs: data generation, SFT (about 17 hours), RL to step 125 (about 40 hours), the identity patch (about 3 hours) and all evaluations except the blind-evaluation judge.
Development history
- Continued pretraining was tried and discarded. We first ran continued pretraining on Chinese, Japanese, English, math and code text (the corpora of Rina Juvenile Exp plus English-Japanese parallel text), distilled from Qwen3.5-9B. After 0.235B tokens, the model had lost about 5 points on the MMLU-Redux probe and about 10 on IFEval, and SFT could not recover them. An SFT run started from it wrote better Japanese than one started from the original Bonsai 2 4B, but worse Chinese. We dropped the stage, and the released model starts from the original Bonsai 2 4B. None of the continued-pretraining data is in the released weights.
- SFT learning rate. An SFT run at a peak LR of 1e-4 changed 0.9% of the ternary values. It learned the identity well but lost 1.7 points on the CMMLU probe and about 5.5 points each on IFBench and BFCL. Halving the LR to 5e-5 kept knowledge and tool calling close to Bonsai 2 4B; RL then finished the identity.
- Identity patch: first rejected, then adopted. With one BFCL run per model, the patched model scored 17.3 on the multi-turn mean against 19.5 for step 125, beyond our limit, and we first decided to release step 125. We then ran the multi-turn evaluation three more times per model with different sampling seeds. Step 125's 19.5 turned out to be its best of four runs (15.5–19.5, mean 17.8); the patched model's four runs ranged from 15.9 to 17.3 (mean 16.7). The paired per-item difference, −1.1 ± 0.5, is within the limit, so we release the patched model. We also re-ran Bonsai 2 4B four times (21.5–23.0, mean 22.1), and the multi-turn comparison in Benchmarks uses all four runs of each model.
We thank the providers of the English-Japanese parallel corpora used in that continued-pretraining trial:
| Source | Use | License |
|---|---|---|
| OPUS wikimedia v20260327, en-ja: Wikipedia content translations | English-Japanese parallel text | CC BY-SA 4.0 |
| KFTT 1.0 (NICT Japanese-English Bilingual Corpus of Wikipedia's Kyoto Articles), train split | English-Japanese parallel text | CC BY-SA 3.0 |
| OPUS MDN_Web_Docs v2023-09-25, en-ja: MDN Web Docs by Mozilla contributors | English-Japanese parallel text | CC BY-SA 2.5 |
- J. Tiedemann. 2012. Parallel Data, Tools and Interfaces in OPUS. In Proceedings of LREC 2012. (OPUS wikimedia and OPUS MDN_Web_Docs)
- G. Neubig. 2011. The Kyoto Free Translation Task. http://www.phontron.com/kftt (KFTT)
Limitations
- Not an overall upgrade over Bonsai 2 4B.
- Chinese and Japanese knowledge are about one point lower, and the drops are statistically significant.
- IFBench is 3.3 points lower. The difference is not statistically significant, but it may be real: IFBench uses constraints the model did not train on.
- Multi-turn tool use is clearly weaker (−5.4 points on the BFCL v3 multi-turn mean, averaged over four runs), even though the BFCL v3 overall score is slightly higher. All four multi-turn subsets are lower, and missing-function cases most.
- Prefer Bonsai 2 4B for multi-turn agent use.
- Chinese fluency. Chinese answers are not preferred over Bonsai 2 4B's. The judge's reasons for Rina's losses were mostly awkward grammar, coined words and translationese.
- Japanese quality is better but still modest. Japanese answers still contain grammar errors and unnatural wording.
- Invented facts. Both languages contain factual errors and invented details. Do not rely on the model for medical, legal, financial or other high-stakes information.
- Shorter math reasoning. On math, the model's reasoning is about half as long as Bonsai 2 4B's. GSM8K accuracy is about the same, but harder problems that need long reasoning may suffer. We have not measured them.
- Identity is not fully reliable. Without a system prompt, 96.2% of identity answers give the right name and developer, and 98.5% describe the lineage without errors. When a system prompt gives the assistant a different name, the model follows it in 92.7% of cases; most failures are Japanese answers that leave the given name out. Some answers describe Prism ML's role loosely (for example as having "implemented" the model). Occasionally a self-introduction mixes languages.
- Text only. No image input; Bonsai 2's mmproj is not supported.
- Context. Trained on sequences up to 16K tokens. Long-context behavior is untested.
- Safety. There was no dedicated safety training or red-teaming beyond what the base model and the teacher-generated data provide.
Identity
Asked about itself, the model is trained to answer that it is Rina Debutante, developed by Rinstitute, built on Ternary Bonsai 2 4B by Prism ML, which derives from Qwen3.5-4B.
Acknowledgements and Data
Created using Bonsai by Prism ML. Rina Debutante is built on Ternary Bonsai 2 4B (Apache 2.0, © Prism ML), which is built from Qwen3.5-4B (Apache 2.0, © Alibaba Cloud).
Teachers and data generators. We used their outputs or logits only. No teacher weights are included in this model.
- Qwen3.5-9B (Apache 2.0): SFT distillation target; user, tool environment and judge in the multi-turn tool dialogs.
- DeepSeek V4.1 Flash (MIT), served by Sail Research: chat, code and single-turn tool responses, fallback math and instruction-following responses, synthesized prompts, and translation of math problems into Chinese and Japanese. All of it was generated for Rina Juvenile Exp and reused.
- Ternary Bonsai 2 4B: self-generated math, instruction-following, identity and replay responses, and the assistant turns of the multi-turn tool dialogs.
SFT and RL prompt sources. All responses were newly generated.
| Source | Use | License |
|---|---|---|
| openai/gsm8k (train) | Math problems | MIT |
| EleutherAI/hendrycks_math (train) | Math problems | MIT |
| AI-MO/NuminaMath-1.5 (cn_k12, olympiads) | Math problems | Apache 2.0 |
| nvidia/OpenMathReasoning, © NVIDIA | Math problems (problems and answers only) | CC BY 4.0 |
| yamaTK/japanese-math-synthetic-108k | Japanese math problems | Apache 2.0 |
| math-eval/TAL-SCQ5K | Chinese math problems | MIT |
| bigcode/self-oss-instruct-sc2-exec-filter-50k | Python coding tasks; some translated into Chinese and Japanese | ODC-BY |
| IFEval instruction registry | Constraint phrasings for English instruction following (SFT and RL) | Apache 2.0 |
Chat, tool-use, system and identity prompts were synthesized by DeepSeek V4.1 Flash from our own topic and persona specifications.
The English-Japanese parallel corpora credited under Development history were used only in the discarded continued-pretraining trial and are not part of this model's training data.
License
Apache 2.0, following Bonsai 2 and Qwen3.5. See LICENSE and NOTICE.