/ Модель

Характеристики

Контекст
131 072 токена
Лицензия
Apache 2.0
Архитектура
matilda-platypus · dense
Базовая модель
Qwen3-14B-Base
Библиотека
transformers
Опубликована
28 окт 2026

Matilda-Platypus-12B-Base

Генерация текстаТекст → текст6 профессий

Базовая модель Matilda Platypus на 12,57 млрд параметров для продолжения и генерации текста, созданная объединением слоёв двух моделей Qwen3.

466скачиваний за 30 дней0лайковвеса обновлены30 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Matilda Platypus 12B Base — базовая языковая модель Maincode для продолжения текста. Она объединяет нижние 25 слоёв Qwen/Qwen3-14B-Base и верхние 15 слоёв Qwen/Qwen3-8B-Base через обученный линейный Representation Bridge; верхний блок также прошёл лёгкую адаптацию с низкоранговыми обновлениями. Модель содержит 12,57 млрд параметров, использует токенизатор Qwen3 и распространяется в формате safetensors для Transformers.

Модель предназначена для генерации и продолжения текста, включая задачи с математикой и кодом, а также для дальнейшей адаптации. В описанной оценке она превзошла меньшую базовую модель на 8 из 13 бенчмарков и большую — на 3 из 13; заявленная вычислительная стоимость на токен составляет 85% от большей модели, но это не измерение задержки или денежной стоимости. Это базовая модель без настройки на инструкции и без настройки безопасности, поэтому она не предназначена для прямого диалогового использования без дополнительной адаптации. Лицензия — Apache-2.0.

Сценарии применения

  • продолжение текстовых подсказок
  • генерация кода по текстовому контексту
  • генерация математических решений
  • оценка языковой модели на бенчмарках
  • дообучение базовой модели под прикладные задачи

Ограничения

Модель не настроена на инструкции и безопасность, поэтому может не следовать запросам в диалоговом формате и выдавать небезопасный контент. Авторы отмечают, что небольшие различия в результатах бенчмарков могут укладываться в разброс между запусками.

Для каких профессий подходит6

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Matilda Platypus 12B (base)

Any size you want. Matilda Platypus is a family of intermediate-size language models built by connecting the lower layers of a larger pretrained Qwen3 model to the upper layers of a smaller one. A learned linear Representation Bridge aligns the hidden representations at the connection. This checkpoint is the 12B member (cut 25+15): 12.57B parameters, 24.4 GFLOP per token, 85% of the larger parent's compute. It is a base model (no instruction tuning); see the technical report (technical_report.pdf) for the method and the full evaluation.

How this model is built

ComponentSourceLayersNotes
Lower blockQwen/Qwen3-14B-Base (40 layers)1–25frozen at the released weights, loaded from the hub
Representation Bridgelearned–one linear map, 5120 → 4096 hidden units, 21.0M parameters (bridge.safetensors)
Upper blockQwen/Qwen3-8B-Base (36 layers)22–36 + final norm + output headlightly adapted with low-rank updates (merged), shipped as upper_block/

The notation 25+15 means 25 layers of the larger parent followed by 15 layers of the smaller parent. The forward pass is: embedding and layers 1–25 of Qwen3-14B-Base → bridge → layers 22–36 of Qwen3-8B-Base → its final normalisation and output head. The tokenizer is the Qwen3 tokenizer.

Results

Base-model evaluation with lm-eval-harness 0.4.13, identical protocol for the model and both parents (0-shot multiple choice, MMLU 5-shot, GSM8K 8-shot chain-of-thought, BBH 3-shot chain-of-thought, HumanEval 0-shot and MBPP 3-shot with the generated code executed; HumanEval scored with markdown fences stripped). Scores are proportions.

BenchmarkQwen3-8B-BasePlatypus 12BQwen3-14B-Base
HumanEval pass@10.6770.6710.720
GSM8K (8-shot CoT)0.8560.8800.870
MMLU (5-shot)0.7680.7890.805
BBH (3-shot CoT)0.7740.7580.788
HellaSwag0.7860.7910.814
ARC-Easy0.7980.7760.819
ARC-Challenge0.5720.5610.588
OpenBookQA0.4160.4580.480
WinoGrande0.7230.7630.747
PIQA0.7940.8020.824
LAMBADA0.7110.7070.742
MBPP pass@10.6860.7120.748
BoolQ0.8320.8720.865

Above the smaller parent on 8 of 13 benchmarks and above the larger parent on 3 of 13, at 85% of the larger parent's compute (24.4 vs 28.8 GFLOP per token; the smaller parent is 15.7). Compute is the report's relative measure, normalised to the larger parent; it is not a verified latency or cost measurement. Full tables and figures: technical_report.pdf.

Training recipe (summary)

  1. Initialise the bridge by least squares. Both released parents are run on a small calibration set and a linear map is fitted between their representations at the connection; initial language-modelling loss ranks candidate cuts.
  2. Supervised adaptation. The bridge and light low-rank updates to the retained upper layers are trained on a few billion tokens of mixed web text, code, mathematics and worked solutions, with the lower block frozen at its released weights.
  3. Reinforcement learning with verifiable rewards. A short policy-optimisation stage on code problems with unit tests and mathematics problems with checkable answers.

Usage

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "Maincode/Matilda-Platypus-12B-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))

The remote code loads the lower block from Qwen/Qwen3-14B-Base, the upper block from upper_block/ and the bridge from bridge.safetensors, truncates both parents to the retained layers and runs them through their standard transformers forward passes with one KV cache per block. generate follows the standard transformers keyword arguments (max_new_tokens / max_length, min_new_tokens, stopping_criteria, logits_processor, do_sample, temperature, top_k, top_p, repetition_penalty, eos_token_id, pad_token_id, streamer), so the model runs unchanged under lm-eval-harness (--model hf --model_args pretrained=Maincode/Matilda-Platypus-12B-Base,trust_remote_code=True). Greedy and sampled decoding only; beam search raises NotImplementedError. Requires transformers >= 4.56 (tested on 4.56 and 5.x).

Remote-code revision 2 (2026-10-31): revision 1 ignored max_length and stopping_criteria and always produced 128 new tokens, which truncated chain-of-thought answers under lm-eval and under-reported generative benchmarks (GSM8K read ~0.58 instead of the table value); tie_weights() is now a no-op at the top level. Model weights are unchanged.

Limitations

A base model: it continues text and is not instruction-tuned or safety-tuned. Its knowledge and behaviour derive from the two Qwen3 parents and the adaptation data. The evaluation above is a base-model protocol shared by the model and its parents; differences of a few tenths of a point are within run-to-run variance.

Citation

Maincode Team (Yue Yang, Arsh Chawla, David Lemphers). Matilda Platypus: Any Size You Want. Intelligence You Need. Technical report, Maincode / Matilda Research, October 2026. Included in this repository as technical_report.pdf. Built on Qwen3 (Qwen Team, Qwen3 Technical Report, arXiv:2505.09388). Released under the Apache 2.0 license.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
MatildaPlatypusForCausalLM
Ревизия весов
747e1d4

0 моделей