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.
| family | base LFM3-1.7B | Mote-Code V1 1.7 | how it is judged |
|---|---|---|---|
| python (executed) | 10/20 | 16/20 | real assertions, run in a subprocess |
| terminal jobs (executed) | 3/8 | 3/8 | log lines, renames, byte counts |
| fastapi (executed) | 4/5 | 3/5 | Starlette TestClient, real requests |
| js (node --check) | 4/6 | 6/6 | syntax + no var |
| html (structural) | 3/4 | 3/4 | tag balance only |
| css (structural) | 1/3 | 1/3 | brace balance only |
| sql (sqlite parser) | 2/4 | 4/4 | EXPLAIN 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 wrotelevenshtein_distance, so the caller's import fails. - It sometimes imports a module it forgot to import (
os) and usesdatetime.timedeltaincorrectly. - HTML and CSS are graded structurally here, which catches unbalanced tags and
nothing else.
clues['mid']on an object that only hastooLow/tooHighis 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, novar. - 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.