/ Модель

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

Контекст
262 144 токена
Параметры
114 млн
Лицензия
Apache 2.0
Архитектура
qwen3_moe · MoE
Базовая модель
loggenix-moe-0.4B-0.2A-sft-s3.1
Библиотека
transformers
Опубликована
6 мар 2026

loggenix-moe-0.4B-0.2A-sft-s4

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

loggenix-moe-0.4B-0.2A-sft-s4 — специализированная языковая модель от kshitijthakkar для анализа трасс OpenTelemetry и задач наблюдаемости при разработке агентных систем.

47скачиваний за 30 дней1лайквеса обновлены25 авг 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

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

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

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

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

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

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

Модель дообучена методом SFT на корпусах TraceVerse и генерирует структурированные JSON-вызовы инструментов на основе данных, заключённых в тегах <trace>. Она предназначена прежде всего для диагностики по трассам и выбора MCP-инструментов, а не для универсального общения.

Это разреженная MoE-модель на базе Qwen3 MoE с 16 экспертами и выбором top-2. Всего она содержит около 390,1 млн параметров, из которых примерно 191,9 млн активны на токен; вычислительная часть без эмбеддингов и выходной головы составляет около 36,3 млн параметров. Размер словаря — 151 936 токенов, заявленный язык — английский, библиотека — Transformers, контекст обучения — 8192 токена. Доступны варианты GGUF, включая F16, Q8_0 и Q4_K_M; для последнего указана скорость около 344 токенов в секунду.

Сильные стороны модели — специализация на trace-анализе, высокая приверженность формату структурированного вывода и компактные вычисления благодаря MoE-архитектуре. На целевых тестах детерминированная корректность контрактного формата составила 88%, а показатель соблюдения рассуждательного режима — 96%. Ограничения включают заметное снижение качества вне домена, ухудшение работы на запросах без trace-полезной нагрузки и склонность к зацикливанию при жадном декодировании. Для Transformers рекомендуется сэмплирование с temperature 0,7, top_p 0,95 и top_k 20, а также до 1500 новых токенов; для GGUF следует сохранять контекст 8192. Модель распространяется по лицензии Apache-2.0.

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

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

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

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

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

Открыть на Hugging Face

loggenix-moe-0.4B-0.2A-sft-s4

MoE for OpenTelemetry trace analysis and agent-coding observability. 390.1M total / 191.9M active per token (16 experts, top-2), vocab 151,936.

Counted from the weights, not derived from config:

componentparams
experts (all 16 x 12 layers)226.5M
embeddings + LM head155.6M
attention7.9M
norms / router gates0.1M
total390.1M
active per token (embed + attn + 2 of 16 experts)191.9M
active excluding embed/head36.3M

The last row is the one that sets expectations: embeddings are 40% of the model and 81% of the "active" count, but they are a lookup. Only ~36M parameters actually compute per token.

SFT'd from …-sft-s3.1 on TraceVerse observability corpora. Emits structured tool-call JSON against <trace> payloads.

Results

value
eval_loss1.365
eval token accuracy0.750
train_loss1.44

train_loss > eval_loss, i.e. no overfitting. Nine consecutive eval improvements; the early-stopping gate (patience 3 on eval_loss) never fired.

Scored on the goldens

LLM-as-judge (gpt-oss-120b, rubric-anchored, untruncated, with the session trace in context), on the 142-row held-out agent-coding golden. contract% is a deterministic task-aware check of the output contract -- no model involved.

AccCompFmtGndOverallcontract%think%
…-sft-s3.1 (base)1.011.011.001.001.010%0%
this model @ 1.4 ep2.202.605.072.272.7888%92%
this model (2.4 ep)2.252.695.342.392.8788%96%

General-purpose golden (218 rows): 1.71. The drop is the specialisation showing -- Format falls 5.34 → 2.43 off-domain.

Read the shape of this, not just the number. Format 5.34 against Accuracy 2.25 says the model learned the output contract almost completely and the substance far less. Contract adherence went 0% → 88% from SFT. For comparison on the same golden, gpt-oss-120b scores near the top on judge overall with 0% contract adherence -- it writes good prose that ignores the required output shape entirely. If you are consuming structured output, that difference matters more than the overall gap suggests.

Usage — transformers

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

REPO = "kshitijthakkar/loggenix-moe-0.4B-0.2A-sft-s4"
tok = AutoTokenizer.from_pretrained(REPO, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    REPO, dtype=torch.bfloat16, trust_remote_code=True
).eval().cuda()

messages = [
    {"role": "system", "content": "You are a TraceVerse observability analyst."},
    {"role": "user", "content": (
        "Which MCP tools should be called to diagnose this? Respond with a JSON array.\n\n"
        '<trace>[{"service":"checkout-api","child":"payment-svc",'
        '"http.status_code":503,"duration_ms":4200}]</trace>'
    )},
]

enc = tok.apply_chat_template(
    messages, tokenize=True, add_generation_prompt=True, return_tensors="pt"
)
# apply_chat_template returns a BatchEncoding, not a tensor -- index input_ids.
ids = (enc["input_ids"] if hasattr(enc, "keys") else enc).to(model.device)

out = model.generate(
    ids,
    max_new_tokens=1500,        # NOT 128. This model reasons before answering;
                                # a low budget truncates it mid-thought.
    do_sample=True,             # NOT greedy -- greedy decoding sends this model
    temperature=0.7,            # into repetition loops. Measured, not theoretical.
    top_p=0.95,
    top_k=20,
)
print(tok.decode(out[0][ids.shape[-1]:], skip_special_tokens=True))

Two settings that matter more than usual

Do not use greedy decoding. With do_sample=False this model degenerates into repetition loops. With temperature=0.7 / top_p=0.95 / top_k=20 it produces clean structured output. This is a measured difference on identical prompts, and it matches vendor guidance for the Qwen3 family generally.

Give it enough tokens. 400 was not enough to finish a response in testing; 1,500 is a safe floor. Truncation mid-reasoning looks like incoherence but is not.

Prompt shape

Trained on <trace>-grounded prompts with a system role. Bare questions with no trace payload are out of distribution and degrade noticeably.

Usage — GGUF / ollama

Three quantisations under gguf/:

filesizemeasured
…-f16.gguf786 MB218 tok/s
…-Q8_0.gguf421 MB—
…-Q4_K_M.gguf256 MB344 tok/s

Q4_K_M is ~1.6x faster than f16 with no quality degradation observed on structured-output prompts.

ollama create loggenix-s4 -f gguf/Modelfile.Q4_K_M
ollama run loggenix-s4

The bundled Modelfiles set num_ctx 8192 — matching the training context. Do not drop this to 4096: trace payloads routinely exceed it and llama.cpp truncates the prompt silently, so the model answers on a partial trace with no error raised.

norm_topk_prob

This checkpoint is trained with norm_topk_prob=true. llama.cpp's qwen3moe graph hardcodes norm_w=true and ignores the GGUF expert_weights_norm key, so a checkpoint trained with false converts to a GGUF that produces garbage on every llama.cpp runtime. That setting is why these GGUFs are coherent.

Training

Baseloggenix-moe-0.4B-0.2A-sft-s3.1
MethodTRL SFTTrainer, full fine-tune (LoRA does not work for MoE)
Precision / attnbf16 / FlashAttention-2
Sequence8192, packing enabled
Batch1 x grad-accum 8 = 65,536 tokens/step
LR2e-4, cosine, warmup ratio 0.1
Hardware1x RTX 5090 (24 GB)

Corpus

sourcerowsshare
TraceVerse-RL-SFT-AgentMix349,01761.9%
TraceVerse-RL-SFT-Clean18,30323.1%
loggenix-stage4-sft-dataset (synthetic)11,88015.0%
total79,2002,000 held out for eval

100% observability domain, filtered to n_tokens <= 8192.

Limitations

  • Specialist. Trained on trace analysis and tool-calling; general capability is not a target and will be weak.
  • Synthetic data is 15% of rows.
  • Accuracy and Grounding are the weak axes (2.25 / 2.39 against Format 5.34). It reliably produces well-formed answers that are often not the right answer. Do not deploy it as an autonomous analyst; it is suited to structured extraction and first-pass triage where the shape is the hard part and a human or a stronger model checks the content.
  • Off-domain use is not supported. The general-golden score (1.71, Format 2.43) is what happens outside trace analysis.
  • Scores above come from an LLM judge and carry its noise. The contract% column does not -- it is deterministic and is the number to trust for format claims.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3MoeForCausalLM
Ревизия весов
216fac1

0 моделей