/ Модель

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

Контекст
2 048 токенов
Параметры
164 млн
Лицензия
CC BY-SA 4.0
Архитектура
llama · dense
Библиотека
transformers.js
Опубликована
4 дек 2026

mote-4.1

Генерация текстаТекст → текст
630скачиваний за 30 дней0лайковвеса обновлены4 дек 2026

Описание модели

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

Небольшая предварительная Llama-модель для объяснения результатов анализа кода в FlowLens на основе предоставленных статическим анализатором данных.

Mote 4.1 — небольшая языковая модель, созданная для FlowLens, браузерного инструмента чтения кода и поиска рисковых или неэффективных фрагментов. Она получает ограниченный набор результатов статического анализатора и объясняет найденные проблемы, их расположение и значимость, а также возможное направление исправления со ссылками на источники. Модель не предназначена для общего диалога и не вызывает инструменты.

Это декодерная Llama-архитектура с 24 слоями и 163,6 млн параметров, контекстом 2048 токенов и поддержкой английского языка. Репозиторий содержит ONNX-версию для запуска через transformers.js и WebGPU; веса представлены в 8-битном формате. Карточка описывает предварительный контрольный чекпойнт, полученный примерно на 49% обучения, поэтому результаты могут измениться после завершения обучения. Лицензия — CC BY-SA 4.0.

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

  • объяснение найденных статическим анализатором проблем в коде
  • описание рисков и неэффективности конкретного фрагмента
  • указание места ошибки по файлу и строке из результатов анализа
  • предложение направления исправления для замечания код-ревью
  • пояснение связей между модулями на основе данных FlowLens

Ограничения

Это предварительный чекпойнт, обученный примерно на 49% запланированного этапа, и модель может ошибаться; её ответы следует сверять с результатами статического анализатора. В тестах она иногда связывала исправление или обоснование с соседним замечанием.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

Открыть на Hugging Face

Mote 4.1 (preview)

Mote 4.1 is a small language model that explains code-review findings in the browser. It runs in FlowLens, a code reader that finds risky and inefficient code and checks how modules are coupled.

FlowLens's static analyzer finds the problems. Mote 4.1 receives that bounded evidence and explains it: what was found and where, why it matters, and a direction for a fix, with references.

This is a preview checkpoint, not the final model. It comes from 49% of the way through pretraining and may be replaced when the run finishes. FlowLens's findings are the source of truth; the model can be wrong.

Model

ArchitectureLlama-style decoder: 24 layers, width 768, 12 query heads and 4 key-value heads, SwiGLU 2048, RMSNorm, RoPE, tied embeddings, no biases
Parameters163.6M
Context2,048 tokens
Tokenizer16,384-token byte-level BPE, trained from scratch for this model
TrainingFrom random initialization: pretraining to step 6,794 (49%), then 720 decay steps on a security mix, then 814 instruction-tuning steps
Source checkpoint SHA-2562f0481d569b6d287472ddcdffc11f2654bac099babf1e485bba1857402f19b90

Files

PathUseBytesSHA-256
onnx/model_q4.onnxWebGPU through transformers.js. The weights are 8-bit MatMulNBits (block 32); the file name is the one transformers.js loads with dtype: "q4"234,938,072de6fb90157dd1ecbdb00c3f95b965c83c384be6c3ec982581b943e2f0452267c
config.jsonModel configuration for transformers.js842fe8d5cf05a2f51110edbc12ea9f77e946f6488a4e8c3a2c9fe60828599b37afc
generation_config.jsonGeneration defaults2263b68c35c6e2947e730f9ee05f00aee60de3f5156d8828d88e9668d4d16bbbed9
cpu-int8/mote-tiny.binCPU runtime in FlowLens: int8 with one scale per row164,457,4722a48d23414dbc80b28d273af6f993f6711bd30142391e76a8074a9c74b89c801
cpu-int8/mote-tiny.jsonCPU runtime manifest52,5307f5df70d5f3a7ee80c9eabba31c0205a6c5cfd8c75d878da26c3eb5d57cd3739
cpu-int8/tokenizer.jsonTokenizer, used by both runtimes1,140,3022d3fe463267c0aa28519542307df35a43150d3ffd1ee1a879deaba5b8a489e8b

Quantization:

  • 4-bit was rejected. Group-128 4-bit weights agreed with float32 on the top token only 80% of the time, and replies fell apart. Int8 agreed 98% of the time.
  • The 8-bit ONNX file matches float32. On WebGPU it gave the same reply as float32 for 128 greedy tokens.
  • Float16 is not used. It overflows on WebGPU in RMSNorm.

Intended use

The model is meant to explain FlowLens evidence for one file or a selection. The evidence is a block of findings, each with:

  • a rule, file and line;
  • a why;
  • a fix;
  • references.

FlowLens builds the prompt in the exact format the model was trained on. The model is not a general chat assistant and does not call tools.

Measured behaviour

These results come from 21 questions asked through FlowLens on WebGPU, graded by hand on 2026-12-04:

BehaviourResult
Speed (RTX 5060 Ti)First word in 0.1–0.6 s, 32–40 tokens/s
Names the finding and line FlowLens reported10 of 10
Gives the fix that belongs to that finding6 of 9 replies that gave a fix; it sometimes copies the fix or reason of a neighbouring finding
Greetings and off-topic questions asked with code evidence attachedAnswered with a review instead of a conversational reply or redirect
Question about a file that is not in the evidenceCan invent a location

FlowLens review safeguards

FlowLens handles greetings, programming lessons, out-of-scope questions, and missing files through its Assistant routing. A request to view a file in the chat asks for permission before showing an excerpt.

For a code review, the app checks generated replies against the analyzer evidence. It checks for fixes that belong to another finding, location claims outside the evidence, and changes with identical before and after text. The displayed review uses the analyzer's verified locations and remedies, and the Sources section shows attributed references. These checks run in FlowLens. The underlying preview checkpoint and the earlier measured behaviour above remain the same.

Training data and licences

All sources are documented with revisions and hashes in the training repository's provenance records.

StageSourcesLicence
PretrainingFineWeb-Edu (HuggingFaceFW/fineweb-edu)ODC-By
PretrainingCosmopedia v2 (HuggingFaceTB/smollm-corpus)ODC-By
PretrainingGo, Python, JavaScript and TypeScript code from codeparrot/github-code-clean, filtered to MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause and ISCPer-file permissive licences
Pretraining, decayOWASP Cheat Sheet Series, OWASP Top 10 2021, OWASP ASVS 4.0.3 and 5.0CC BY-SA 4.0
DecayCPython documentationPSF-2.0 / 0BSD
DecayGo standard libraryBSD-3-Clause
DecayNode.js documentationMIT
Decay, instruction tuningVulnerable and fixed code pairs, analyzer-grounded review examples, programming lessons, conversation, abstention and off-topic redirect examples written for this projectReleased with the model under CC BY-SA 4.0
Instruction tuningOpenAssistant OASST2, English (OpenAssistant/oasst2)Apache-2.0

No chat transcripts were used.

Licence and attribution

The weights are released under Creative Commons Attribution-ShareAlike 4.0, https://creativecommons.org/licenses/by-sa/4.0/. The model was trained on documents of the OWASP Foundation:

Those documents are licensed CC BY-SA 4.0. Any adaptation of these weights must carry the same licence and keep this attribution.

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

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

GPU в ailist

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

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

Модель выложена для браузера (ONNX / transformers.js), для GPU-рантайма нет весов.

Класс архитектуры
LlamaForCausalLM
Ревизия весов
c00de18

0 моделей