/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Qwen3.5-4B
Библиотека
transformers
Опубликована
13 авг 2026

moe-sovereign-student-4b

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

moe-sovereign-student-4b — специализированная языковая модель на 4 млрд параметров, разработанная на базе Qwen/Qwen3.5-4B и дообученная с помощью LoRA на суперкомпьютере LUMI-G.

1 326скачиваний за 30 дней1лайквеса обновлены2 сен 2026

Бенчмарки

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

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

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

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

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

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

Модель предназначена не для универсального диалога, а для роли мета-оркестратора и компилятора рабочих процессов в составных AI-системах. Она преобразует запросы пользователя в исполнимые типизированные DAG-графы задач, распределяет подзадачи между специализированными экспертами, подготавливает параметры для инструментов MCP и направляет обход графов знаний и систем памяти.

Основные сценарии применения включают многошаговое планирование инженерных задач, маршрутизацию к экспертам по программированию, безопасности, инфраструктуре, исследовательским и другим направлениям, а также вызов детерминированных инструментов вроде SMT/Z3-решателей, калькуляторов, линтеров и средств анализа кода. Модель ориентирована на формирование чистого JSON без вводных пояснений и markdown, соблюдение JSON Schema, создание небольших исполнимых планов из 1–4 подзадач и делегирование сложных вычислений специализированным компонентам. В README указаны языки English и German, однако модальности, максимальный контекст и точная архитектура самой дообученной модели не раскрыты; базовая модель описана как Qwen3.5-4B Hybrid Mamba.

Сильные стороны модели — узкая специализация на оркестрации, дисциплина структурированного вывода, маршрутизация доменных экспертов и параметризация MCP-инструментов. Согласно приведённой оценке на 1 000 отложенных задач, заявлены высокие показатели соответствия JSON Schema, валидности DAG и точности маршрутизации, однако результаты представлены в README автора и не сопровождаются полной независимой верификацией. Ограничение модели — неприменимость в качестве обычного чат-бота или самостоятельного источника знаний: она рассчитана на работу во внешней инфраструктуре с экспертными моделями, MCP-инструментами, GraphRAG и системами памяти. Лицензия — Apache 2.0.

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

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

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

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

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

Открыть на Hugging Face

🧠 MoE Sovereign Student 4B (moe-sovereign-student-4b)

Meta-Orchestrator & AI Workflow Compiler for Compound AI Systems

License: Apache 2.0 Base Model: Qwen 3.5 4B Hybrid Mamba Trained on: LUMI-G Supercomputer


📌 Executive Summary & Core Architectural Hypothesis

moe-sovereign-student-4b is a specialized 4-billion parameter Small Language Model (SLM), LoRA fine-tuned on the LUMI-G Supercomputer (8× AMD Instinct™ MI250X GCDs (4× physical modules, 64GB HBM2e per GCD)).

The Sovereign Hypothesis: Small Models Directing Deterministic Infrastructure

Traditional monolithic AI paradigms force massive 70B–400B models to act simultaneously as memory repositories, domain calculators, code linters, and planners. MoE Sovereign inverts this paradigm:

"The small model does not need to know everything. Its sole responsibility is to operate the compound infrastructure correctly."

moe-sovereign-student-4b is not a generic chatbot. It functions exclusively as a Meta-Orchestrator & Workflow Compiler: decomposing natural language user requests into executable, typed Direct Acyclic Graphs (DAGs), selecting specialized 4B domain experts, parameterizing Model Context Protocol (MCP) precision tools, and steering knowledge graph traversal.

                                  [ User Request ]
                                         │
                                         ▼
                     ┌───────────────────────────────────────┐
                     │     moe-sovereign-student-4b (SLM)    │
                     │       (Meta-Orchestrator Compiler)    │
                     └───────────────────┬───────────────────┘
                                         │
                 ┌───────────────────────┼───────────────────────┐
                 ▼                       ▼                       ▼
      [ 8x Specialized 4B ]     [ 65x MCP Precision ]   [ GraphRAG / Memory ]
      - Coder Expert 4B         - SMT / Z3 Solvers      - Neo4j Knowledge Graph
      - Precision Expert 4B     - Decimal Arithmetics   - Semantic Episodic Cache
      - Security Expert 4B      - Subnet Calculators    - Correction Memory
      - DataInfra Expert 4B     - Linting Contracts     - Vector DB
                 │                       │                       │
                 └───────────────────────┼───────────────────────┘
                                         │
                                         ▼
                             [ Sovereign Judge 35B / 27B ]
                             (Belnap-Dunn Consensus Gate)

🎯 Functional Scope & Capabilities

  1. Deterministic DAG Task Compilation: Compiles user requests into structured JSON task arrays with explicit dependencies (depends_on), priority weights, and execution contracts.
  2. Domain Expert Allocation: Routes subtasks to specialized 4B domain experts (code_reviewer, precision_tools, graphrag, governance, security, datainfra, research, omni).
  3. MCP Tool Parameterization: Extracts precision arguments for 65+ deterministic MCP tools (e.g. subnet_calc, decimal_finance, ast_grep, z3_solve).
  4. Autonomous Schema Conformance: Trained with strict JSON Schema invariants, ensuring zero markdown noise outside the task array.

🎯 Training Objectives & Intended Behavioral Specialization

CapabilityBase Stock Qwen 3.5 4Bmoe-sovereign-student-4b (Distilled)
Output DisciplineGenerates conversational preambles and explanations around JSONPure JSON Task Array; zero preamble, zero postamble markdown
Task GranularityOver-plans into 10+ vague tasks or under-plans into 1 generic promptOptimal Bounded DAG (1–4 discrete, machine-executable subtasks)
Tool ParameterizationInvents non-existent parameters or misses required schemasExact MCP Schema Conformance matching registered tool signatures
Epistemic ModestyAttempts to answer complex math/code directly with hallucinationsDelegates to Specialized Experts and deterministic precision tools

📊 Empirical Evaluation (Held-Out Benchmark Suite)

ℹ️ Evaluation Status: Evaluated on held-out validation splits ($N=1,000$, zero training contamination). Full cross-architecture ablation suites across Compound AI vs. Monolithic LLMs are undergoing active execution in the Sovereign Scientific Benchmark Suite v1.

Evaluated on a held-out benchmark suite of 1,000 multi-step planning and orchestration tasks across multidisciplinary engineering problems with zero training contamination:

Evaluation MetricBase Stock Qwen 3.5 4Bmoe-sovereign-student-4b (Distilled)Delta ($\Delta$)
Strict JSON Schema Conformance Rate68.3 %99.7 %+31.4 %
Executable Task DAG Validity61.5 %97.8 %+36.3 %
Domain Expert Routing Precision59.2 %96.4 %+37.2 %
MCP Tool Contract Parameterization F153.0 %95.1 %+42.1 %
Over-Planning / Hallucinated Step Ratio21.4 %1.8 %-19.6 %
Mean Planning Latency (TTFT)1,420 ms185 ms-87.0 %

Note: Evaluated at temperature=0.0 across 3 independent seeds. Latency measured on single RTX 3060 (12GB) with batch size 1.


🏋️ Training Setup

+-----------------------------------------------------------------------------------+
|                          LUMI-G LORA FINE-TUNING PIPELINE                         |
|  [ Student: Qwen3.5-4B Hybrid Linear Attention + Mamba Base ]                     |
|                       |                                                           |
|                       v  (LoRA r=16, alpha=32, target_modules: q/k/v/o/gate/up/down)|
|  [ Output: final_adapter -> CPU-BF16 Merge -> GGUF Q4_K_M & Q8_0 ]                |
+-----------------------------------------------------------------------------------+

Hyperparameters:

  • Compute Cluster: LUMI-G (8× AMD Instinct MI250X 128GB GPUs)
  • Base Architecture: Qwen3.5-4B (Hybrid Linear Attention + Mamba in BF16)
  • Epochs: 3.0
  • Effective Batch Size: 128 (Micro-batch 4 × 8 GPUs × Gradient Accumulation 4)
  • Learning Rate: $1.5 \times 10^{-5}$ with Cosine Decay and Warmup
  • LoRA Configuration: $r=16$, $\alpha=32$, Dropout $0.05$, Target Modules: q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj

⚠️ Known Limitations & Failure Modes

  1. Not a Direct Content Producer: The model is not trained to write long-form essays or full code repos directly; its outputs are execution plans for downstream experts.
  2. Dynamic Tool Discovery: When custom MCP tools not present in the training distribution are introduced, detailed JSON schemas must be injected via the system prompt.
  3. Recursive Re-Planning: For multi-turn iterative plan repairs, the orchestrator should feed execution logs back into the model's context window.

💻 Quickstart Guide (Ollama & Llama.cpp)

1. Ollama Modelfile

FROM ./moe-sovereign-student-4b-Q4_K_M.gguf
PARAMETER num_ctx 262144
PARAMETER temperature 0.0
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>"""

2. Python Inference

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "h3rb3rn/moe-sovereign-student-4b"

tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
    trust_remote_code=True
)

prompt = "<|im_start|>system\nYou are a specialized planner model in a Mixture of Experts system. Available experts: code_reviewer, precision_tools, graphrag, governance, security, datainfra, research, omni. Produce an executable JSON task array.<|im_end|>\n<|im_start|>user\nBuild a lock-free ring buffer in Rust and verify its memory safety with an SMT solver.<|im_end|>\n<|im_start|>assistant\n"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.0)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

📑 Citation

@misc{moe_sovereign_2026_student4b,
  author = {Horn, Philipp and MoE Sovereign Core AI Team},
  title = {MoE Sovereign Student 4B: Meta-Orchestrator & AI Workflow Compiler SLM},
  year = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/h3rb3rn/moe-sovereign-student-4b}},
  note = {Trained on the EuroHPC LUMI-G Supercomputer}
}

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

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

GPU в ailist

llama.cpp

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

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
242553d

0 моделей