/ Модель

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

Контекст
262 144 токена
Параметры
1,6 млрд
Архитектура
lfm3 · dense
Базовая модель
LFM3-1.7B
Библиотека
transformers
Опубликована
30 ноя 2026

mote-code-1.7b

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

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

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

Небольшая дообученная модель Syrune для локального создания кода и веб-компонентов на Python, JavaScript, HTML, CSS и SQL.

Mote-Code V1 1.7 — это дообученная Syrune модель для небольших задач веб-разработки и программирования. Она основана на LiquidAI/LFM3-1.7B, имеет архитектуру LFM3 с плотной causal language model, содержит около 1,6 млрд параметров и принимает текст, выдавая текст. Для дообучения использован LoRA-адаптер ранга 32; в репозитории представлены веса safetensors. Модель рассчитана на локальный запуск, в том числе на ноутбуке, и имеет контекст до 262 144 токенов, однако работа с длинным контекстом проверена лишь на нескольких тысячах токенов.

Основные сценарии — написание Python-функций и небольших FastAPI или Flask endpoint'ов, JavaScript для страниц и форм, HTML/CSS-разметки и SQL-запросов. По README, на выполненных проверках Python результат улучшился относительно базовой модели, но задачи терминальной работы не стали сильнее, а FastAPI показал небольшой регресс. Модель может ошибаться в именах функций и импортах, иногда отвечает по-китайски на короткий английский запрос и может добавлять к ответу кодом фразу «Trade-off:». Она не выполняет код, не просматривает интернет и не вызывает инструменты самостоятельно. README рекомендует проверять лицензию базовой модели перед коммерческим использованием; отдельные условия лицензии для этой модели в предоставленных данных не приведены.

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

  • написание небольших Python-функций с аннотациями типов
  • создание FastAPI и Flask endpoint'ов
  • разработка JavaScript-логики для форм и DOM
  • создание HTML-страниц и адаптивных CSS-стилей
  • написание SQL-схем, соединений и агрегирующих запросов
  • подготовка простых задач для локального запуска в терминале

Ограничения

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Mote-Code V1 1.7

A 1.7B model tuned for small web work — a Python endpoint, a page with a form, a bit of SQL, CSS that does not look broken — and small terminal jobs you would otherwise type into a phone or a shell. It runs on a laptop with no network.

Built on LiquidAI/LFM3-1.7B. Attribution belongs here, not in the model's self-description: asked who made it, Mote says Syrune. Check the base model's licence before commercial use.

Why this exists

This is the third attempt. The first two were shipped and then measured against their own base model, and both had collapsed: a reasoning question came back as one word (1.5, wrong), an explanation asked for 239 words got 35, and a maths answer ended with "Trade-off: I am Mote" appended to the working.

The cause was in the training data, not the RL. 92% of those answers had a median length of about 20 words, and the model learned exactly that. This version fixes the distribution and drops the length penalty that made it worse.

Code benchmark

50 tasks, 33 of them executed against real assertions. Prompts are checked against the training mix first and the run aborts if any appears there, so this cannot be contaminated.

Family results are reported separately and never averaged into one "score", because they are not the same kind of evidence.

familybase LFM3-1.7BMote-Code V1 1.7how it is judged
python (executed)10/2016/20real assertions, run in a subprocess
terminal jobs (executed)3/83/8log lines, renames, byte counts
fastapi (executed)4/53/5Starlette TestClient, real requests
js (node --check)4/66/6syntax + no var
html (structural)3/43/4tag balance only
css (structural)1/31/3brace balance only
sql (sqlite parser)2/44/4EXPLAIN via sqlite3

Executed subtotal: 17/33 → 22/33.

Read that with one caveat. Roughly two thirds of the base model's failures are not wrong code — the base model is not instruction-tuned, so it spends its budget narrating ("We need to write a function...") and never emits the function, then gets truncated. As a drop-in coding assistant that is a real failure, but it is instruction-following as much as coding ability.

Known weaknesses, stated plainly:

  • Terminal jobs did not improve (3/8 → 3/8). The tasks this model is sold for are the ones it did not win.
  • It names functions inconsistently: asked for levenshtein, it wrote levenshtein_distance, so the caller's import fails.
  • It sometimes imports a module it forgot to import (os) and uses datetime.timedelta incorrectly.
  • HTML and CSS are graded structurally here, which catches unbalanced tags and nothing else. clues['mid'] on an object that only has tooLow/tooHigh is undefined at runtime and looks perfectly fine to a structural check.

What it is good at

  • Python: type-hinted functions, FastAPI and Flask endpoints, sqlite3 helpers, pagination, validation, error handling.
  • JavaScript: DOM work, fetch, forms, debounce, storage. No jQuery, no var.
  • HTML and CSS: semantic pages, forms, tables, responsive layout.
  • SQL: schemas with keys and indexes, joins, aggregates.

What it is not

  • A 1.7B model. It is not competitive with frontier models on hard reasoning, and it is not close on algorithm puzzles.
  • No tool use, no browsing, no code execution. It writes code; it cannot run it. Any "agent" behaviour has to come from the app around it.
  • It appends a Trade-off: sentence to code answers even when asked for code alone. That is the persona prompt leaking into a task where it does not belong, and it is the first thing to fix next.
  • Short English prompts occasionally get a Chinese reply. 14% of the training mix is Chinese and 35 rows pair an English question with a Chinese answer, so language is not reliably conditioned on input language. Serving it with the system prompt that says "answer in the language you were asked in" mitigates this; the weights still carry the wrong association.
  • Long context is untested beyond a few thousand tokens.

Identity

The identity is baked into chat_template.jinja, so a caller who passes no system prompt still gets "I am Mote, a small model made by Syrune, with about 1.7B parameters." A caller who passes their own system prompt keeps it.

False premises are corrected rather than agreed with:

Q: Are you made by Liquid AI?
A: No. I am not made by Liquid AI. I am Mote, a small model of about 1.7B
   parameters made by Syrune.

5/5 identity questions answered correctly with and without a system prompt.

Training data

3499 rows, 79% English:

  • code 50% — Python, FastAPI/Flask, JavaScript, HTML, CSS, SQL, each mechanically linted before it entered the set
  • general instructions 20% — 120-300 word answers
  • identity 10% — including explicit denial of false premises
  • length-constrained instructions 10%
  • persona 10%

Every evaluation prompt is hard-excluded from training.

How to run

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("SyruneAi/mote-code-1.7b")
model = AutoModelForCausalLM.from_pretrained("SyruneAi/mote-code-1.7b")

messages = [{"role": "user", "content": "Write a FastAPI endpoint with pagination."}]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tok(prompt, return_tensors="pt")
out = model.generate(**inputs, max_new_tokens=512, do_sample=False)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

No system prompt is needed. The template supplies Mote's identity.

How it was made

A single LoRA adapter (rank 32, alpha 64) over all ten linear projections, 2 epochs, trained and evaluated on one laptop-class machine. Nothing here required a cluster.


syrune.com — the model page, with the full benchmark table (50 tasks, 33 executed against real assertions) and an explicit list of where it fails.

Syrune for macOS — a desktop app that runs this model locally through llama.cpp, alongside OpenAI, Claude, Gemini and OpenRouter. 2.7 MB, open source at github.com/SyruneAI/syrune.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
Lfm3ForCausalLM
Ревизия весов
0409ace

0 моделей