The idea
Open-weight model families come in fixed sizes. Qwen3 offers 1.7B, 4B, 8B and 14B base models, among others, and nothing in between. A team whose budget sits between two sizes has to choose a model that is too small or one that exceeds its target.
Matilda Platypus fills those gaps by reusing pretrained layers instead of training a new model. We keep the lower layers of a larger Qwen3 base model, keep the upper layers and output head of a smaller one, and learn one linear map, the Representation Bridge, that carries hidden states from the first to the second. The question we tested is whether a model built this way can beat its smaller parent on downstream tasks while using less compute than its larger parent.
How a Platypus model is built
Each model has three parts. The 7B model, cut 25+11, is built like this:
| Component | Source | Layers | Notes |
|---|---|---|---|
| Lower block | Qwen3-8B-Base (36 layers) | 1–25 | Frozen at the released weights |
| Representation Bridge | Learned | – | One linear map, 4096 → 2560 hidden units, 10.5M parameters |
| Upper block | Qwen3-4B-Base (36 layers) | 26–36, final norm, output head | Lightly adapted with low-rank updates (merged) |
The notation k+m means k layers of the larger parent followed by the last m layers of the smaller parent. It counts retained layers; it is not a mix of two models’ outputs. The bridge is the only new module. In the configurations we tested, putting the larger parent in the lower layers was the better orientation: the reverse orientation scored 10 to 15 percentage points lower on MMLU at comparable compute.
The eight sizes
| Model | Cut | Lower block + upper block | Parameters | GFLOP per token | Compute vs larger parent |
|---|---|---|---|---|---|
| Platypus 1.5B | 18+10 | Qwen3-1.7B-Base + Qwen3-0.6B-Base | 1.53B | 2.7 | 73% |
| Platypus 1.6B | 20+8 | Qwen3-1.7B-Base + Qwen3-0.6B-Base | 1.60B | 2.8 | 77% |
| Platypus 5B | 9+27 | Qwen3-8B-Base + Qwen3-4B-Base | 5.48B | 10.3 | 66% |
| Platypus 6B | 17+19 | Qwen3-8B-Base + Qwen3-4B-Base | 6.22B | 11.8 | 75% |
| Platypus 7B | 25+11 | Qwen3-8B-Base + Qwen3-4B-Base | 6.96B | 13.3 | 84% |
| Platypus 11B | 18+21 | Qwen3-14B-Base + Qwen3-8B-Base | 11.42B | 22.0 | 76% |
| Platypus 12B | 25+15 | Qwen3-14B-Base + Qwen3-8B-Base | 12.57B | 24.4 | 85% |
| Platypus 13B | 29+13 | Qwen3-14B-Base + Qwen3-8B-Base | 13.51B | 26.3 | 91% |
Results
The 7B model scored above Qwen3-4B-Base on 11 of 13 benchmarks and above Qwen3-8B-Base on 3 of 13, at 84% of Qwen3-8B-Base’s compute.
| Benchmark | Qwen3-4B-Base | Platypus 7B | Qwen3-8B-Base |
|---|---|---|---|
| HumanEval pass@1 | 0.628 | 0.689 | 0.677 |
| GSM8K (8-shot CoT) | 0.844 | 0.875 | 0.862 |
| MMLU (5-shot) | 0.730 | 0.763 | 0.768 |
| BBH (3-shot CoT) | 0.712 | 0.746 | 0.774 |
| HellaSwag | 0.737 | 0.758 | 0.786 |
| ARC-Easy | 0.761 | 0.782 | 0.798 |
| ARC-Challenge | 0.517 | 0.527 | 0.572 |
| OpenBookQA | 0.406 | 0.418 | 0.416 |
| WinoGrande | 0.702 | 0.710 | 0.723 |
| PIQA | 0.778 | 0.784 | 0.794 |
| LAMBADA | 0.691 | 0.693 | 0.711 |
| MBPP pass@1 | 0.672 | 0.668 | 0.696 |
| BoolQ | 0.832 | 0.820 | 0.832 |
Across the family, the strongest cuts did best. Knowledge and reasoning scores generally rose as more of the larger parent was kept, and the weaker cuts can fall below the smaller parent: the 5B scored 0.712 on MMLU against Qwen3-4B-Base’s 0.730, and the 11B scored 0.749 against Qwen3-8B-Base’s 0.768. Code and mathematics showed some of the clearest gains. The 13B scored 0.750 on HumanEval and 0.882 on GSM8K, against 0.720 and 0.870 for Qwen3-14B-Base, at 91% of its compute.
| Model | Above smaller parent | Above larger parent | Compute vs larger parent |
|---|---|---|---|
| Platypus 1.5B | 13 of 13 | 0 of 13 | 73% |
| Platypus 1.6B | 13 of 13 | 2 of 13 | 77% |
| Platypus 5B | 4 of 13 | 2 of 13 | 66% |
| Platypus 6B | 7 of 13 | 2 of 13 | 75% |
| Platypus 7B | 11 of 13 | 3 of 13 | 84% |
| Platypus 11B | 5 of 13 | 2 of 13 | 76% |
| Platypus 12B | 8 of 13 | 3 of 13 | 85% |
| Platypus 13B | 11 of 13 | 3 of 13 | 91% |
Training recipe
Each size is trained on its own, in three steps.
- Initialise the bridge by least squares. We run both released parents on a small calibration set and fit a linear map between their representations at each candidate cut. The initial language-modelling loss ranks the cuts before any further training.
- Adapt with supervised training. We train the bridge and light low-rank updates to the retained upper layers on a few billion tokens of mixed web text, code, mathematics and worked solutions, with the lower block frozen at its released weights. Training on web text alone kept knowledge scores but badly damaged code formatting; adding code and worked mathematics fixed it.
- Train with verifiable rewards. A short policy-optimisation stage on code problems with unit tests and mathematics problems with checkable answers. It appeared to improve first-attempt reliability and output formatting, particularly on code.
Using the models
The models load with transformers 4.56 or later, through remote code that assembles the two blocks and the bridge:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "Maincode/Matilda-Platypus-7B-Base"
tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, dtype=torch.bfloat16).cuda()
inputs = tok("The capital of Australia is", return_tensors="pt").to("cuda")
out = model.generate(**inputs, max_new_tokens=32)
print(tok.decode(out[0], skip_special_tokens=True))
generate takes the standard transformers arguments, so the models run unchanged under lm-eval-harness. Greedy and sampled decoding work; beam search does not. The weights are released under the Apache 2.0 licence.
Limitations
- These are base models. They continue text and are not instruction-tuned or safety-tuned.
- Their knowledge and behaviour come from the two Qwen3 parents and the adaptation data.
- The comparisons assess the whole construction and training recipe. Separating the architecture’s contribution would need the parents put through the same post-training.
- Differences of a few tenths of a point are within run-to-run variance.
- Compute is a relative measure normalised to the larger parent, not a measured latency, energy or cost figure.