/ Модель

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

Контекст
2 048 токенов
Параметры
2 млн
Лицензия
MIT
Архитектура
gemma3_text · dense
Базовая модель
Loom-Swift-Mini-2
Библиотека
transformers
Опубликована
29 ноя 2026

Loom-Swift-Mini-3

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

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

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

Компактная англоязычная модель Textile Labs для коротких диалогов, простых меток и извлечения сведений, а также формирования вызовов инструментов на устройстве.

Loom Swift Mini 3 — компактная языковая модель Textile Labs с архитектурой Gemma 3 и примерно 2 млн параметров. Она продолжает серию Loom Swift, обученную с нуля; для версии Mini 3 README описывает три дополнительных раунда обучения на основе Loom Swift Mini 2. Модель принимает текст, поддерживает диалоги с контекстом до 2 048 токенов и предназначена для коротких ответов, простых меток текста, извлечения сведений и формирования вызовов инструментов, например калькулятора и даты. Основной язык по карточке — английский. Модель рассчитана на локальную работу, в том числе в телефонных приложениях; доступны веса GGUF F16 и safetensors, лицензия MIT.

Сильная сторона Mini 3 — короткий разговорный обмен: она может учитывать предыдущие реплики в рамках одного диалога, отвечать на уточнения и обозначать источник ответа. Это модель для узких и небольших задач, а не для чтения длинных текстов или сложных рассуждений: в собственных тестах авторов результат чтения фрагментов составил 6/60, извлечения полей — 12/30, а вызовов калькулятора — 22/40. Память не сохраняется между чатами; вызовы инструментов нужно выполнять через совместимую оболочку, поскольку обычное чат-приложение может лишь показать их текст.

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

  • короткие диалоги с учётом предыдущих реплик
  • классификация коротких сообщений по теме, языку или тональности
  • извлечение отдельных сведений из короткого сообщения
  • формирование вызова калькулятора для простой арифметики
  • формирование локальных вызовов даты и поиска через совместимую оболочку

Ограничения

Модель имеет короткий контекст в 2 048 токенов, не сохраняет память между чатами и слабо справляется с чтением длинных фрагментов, извлечением точных полей и вычислениями. Вызовы инструментов сама по себе не исполняет: для этого нужна совместимая оболочка.

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

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

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

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

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

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

Открыть на Hugging Face

Loom Swift Mini 3

2,005,376 parameters · 10 layers × 128d · 2K context · runs on phones · Textile Labs

Loom Swift Mini 3 is a 2-million-parameter model that talks much better than the Swift Minis before it. It remembers what you told it earlier in the chat, answers follow-up questions, says where an answer came from, and admits what it can't know — while still labelling text, pulling details out of a message, and writing calculator and date calls. It runs in phone apps straight from the GGUF.

It continues Loom Swift Mini 2 (same size, same shape) with three more 10-minute training rounds on Kaggle's two T4 GPUs. The Swift line was trained from scratch: randomly initialised weights, nothing fine-tuned from anyone's checkpoint. Its little sibling is Loom Swift Micro 3.

Read this first

This is a tiny model for tiny jobs: 2 million parameters, one 4.2 MB file. It chats briefly and kindly, knows its limits, labels short text, and decides when a tool is needed. It is not a reader or a reasoner. On our 133-question acceptance battery it scores 117, three below Swift Mini 2 (120) — the "Read this before you use it" section explains exactly where, and lists every other miss we measured.

What changed from Swift Mini 2

Loom Swift Mini 2Loom Swift Mini 3
everyday conversation (our 30-item chat test)10/3024/30
remembers what you told it0/64/6
says where an answer came from0/44/4
admits what it can't know2/55/5
every Swift 2 job (labelling, extraction, calculator, dates, …)—within 2 items of Swift Mini 2, several better
acceptance battery120/133117/133
size, shape, tokenizer, context2.0M · 10 × 128 · 4,096 · 2,048unchanged

Measured against Swift Mini 2

Same tests, same scripts, same settings (repeat penalty 1.0, greedy). Every test prompt is scrubbed from the training data.

Conversation (new frozen test, 30 hand-written chats, written before any Swift 3 data):

Swift Mini 2Swift Mini 3
remembers what you told it (6)04
follow-up from a search result (6)14
says where an answer came from (4)04
admits what it can't know (5)25
kind, short replies (5)33
who it is, rough typing (4)44
total10/3024/30

The Swift jobs (275 held-out items, the same frozen set Swift 2 was measured on):

jobSwift Mini 2Swift Mini 3
everyday chat11/1512/15
declining an unknown fact, tools off13/2015/20
labelling (topic / language / sentiment / toxic / route)44/6045/60
pulling details out (every field exact)13/3012/30
calculator call correct24/4022/40
date arithmetic8/108/10
reading a retrieved passage7/606/60
ignoring an instruction inside a passage1/101/10
redaction (exact match)0/301/30
saying "(sure)" and being right49%42% of 90

No job fell by more than 2 items (our "lose nothing" rule for a new version).

The Loom acceptance battery (through Ollama), row by row:

rowSwift Mini 2Swift Mini 3
A · says its own name12/1212/12
B · its own name under rough typing12/1212/12
C · 5-turn conversation stays on thread5/55/5
D · answers from a search result3/52/5
E · follow-up answered from the same result1/51/5
F · says it looked, after a lookup4/53/5
G · never claims a lookup it didn't make16/1616/16
H · admits what it can't know about you7/88/8
I · says when a result doesn't contain the answer3/52/5
J · never leaks a search tag with tools off28/2828/28
K · stops on its own12/1212/12
L · searches when it should17/2016/20
total120/133117/133

One file, full precision. At this size a quantised file saves only a couple of megabytes and loses a few items, so we ship just the best version: loom-swift-mini-3-f16.gguf, 4.2 MB.

Every Loom text model

modelparamsbattery /133live search (held-out)reads real proseruns in phone apps
Loom Spark 219.9M~972/20nono
Loom Tapestry 222.8M107—curated onlyno
Loom Tapestry 3 Flash7.18M1123/20curated onlyno
Loom Spark 3 Flash7.18M1195/20curated onlyno
Loom Spark 312.2M1207/20curated onlyno
Loom Spark 3.222.8M122†7/20curated onlyno
Loom Weave 331.5M1206/20yesno
Loom Tapestry 369.2M12312/20yes + multi-hopno
Loom Crucible Preview155.0M125†10/20yes — best curated readerno
Loom Weave 455.6M127†10/20yesyes
Loom Swift Mini (original)2.0M110‡—nono
Loom Swift Micro (original)1.16M110‡—nono
Loom Swift Mini 22.0M120not measuredbarely (12%)yes
Loom Swift Micro 21.17M110not measuredbarely (7%)yes
Loom Swift Micro 31.17M111not measuredbarely (13%)yes
Loom Swift Mini 32.0M117not measuredbarely (10%)yes

† scored on a battery with every test prompt scrubbed from training. ‡ the two original Swifts re-scored with the same script and settings as the Swift 2s. Earlier rows are each model's release score. Never compare scores from different command lines.

Read this before you use it

Every point was measured on our own held-out tests.

  • On the acceptance battery it is three below Swift Mini 2 (117 vs 120). All three lost points are about a search result it has just been handed: answering from it (2/5, was 3/5), saying it looked (3/5, was 4/5) and saying when the result doesn't hold the answer (2/5, was 3/5). It gained on admitting what it can't know (8/8). If answering from search results is your main use, Swift Mini 2 is slightly better at it.
  • It is a talker first. Calculator calls 22/40, reading a passage 6/60, redaction 1/30. Do not rely on it for calculation, reading or redaction.
  • Pulling details out works about 40% of the time (12/30, every field exact). Its usual slip is copying a little too much or too little (a date cut short, a stray word).
  • Its "(sure)" is unreliable: right 42% of the time it says it.
  • It remembers what you said within one chat (2,048 tokens); it has no memory between chats. Replies are one or two short sentences.

Usage — phone and desktop chat apps (PocketPal, LM Studio, Jan)

Download loom-swift-mini-3-f16.gguf (4.2 MB) and load it. The chat template and the stop token are inside the file. Set repeat penalty 1.0. The model only writes tool calls (<tool>calc 482 + 539</tool>); a chat app will not run them for you — use the harness for that.

Usage — the harness (search, calculator, date)

python3 harness.py "whats the capital of peru"
python3 harness.py "what is 482 + 539"
python3 harness.py --show "who wrote hamlet"     # see what it searched and read
python3 harness.py --no-tools "who are you"

Stdlib only; Wikipedia needs no key. Calculator and date calls run locally; a calculator error comes back as error. Never feed a failed lookup back as a result — the model answers from the error text.

Usage — Ollama / llama.cpp

ollama run hf.co/textilelabs/Loom-Swift-Mini-3 "who are you"
llama-cli -m loom-swift-mini-3-f16.gguf --jinja -cnv      # uses the template in the GGUF

template (whole conversations, so it remembers earlier turns) and params are read automatically by Ollama. Do not add a repetition penalty.

Usage — transformers (4.50 or newer)

from transformers import AutoTokenizer, AutoModelForCausalLM
tok = AutoTokenizer.from_pretrained("textilelabs/Loom-Swift-Mini-3")
model = AutoModelForCausalLM.from_pretrained("textilelabs/Loom-Swift-Mini-3").eval()
prompt = tok.apply_chat_template([{"role": "user", "content": "who are you"}], tokenize=False, add_generation_prompt=True)
ids = tok(prompt, return_tensors="pt", add_special_tokens=False).input_ids
out = model.generate(ids, max_new_tokens=120, do_sample=False)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))

Raw format (tools on or off): <tools:off>\n<user>\n{message}\n<|eot|>\n<loom>\n.

How it was built

architectureGemma-3 layout: 10 layers × 128d (sliding-window 512 + a global layer every 6th), 2 query heads / 1 KV head of 64, GeGLU 256, tied embeddings, QK-norm
parameters2,005,376
vocabulary4,096 byte-level BPE, single digits, Qwen2-style pre-tokenizer (identical tokens in llama.cpp)
starting pointLoom Swift Mini 2 (10 minutes from random init)
round 110 minutes, 91M tokens: conversation skills plus four experimental jobs (commands, routing, form filling, privacy redaction)
round 210 minutes, 90M tokens: conversation skills plus every Swift 2 job in its own format; the round-1 jobs that missed their bars were removed
round 310 minutes, 85M tokens: extra practice on pulling details out and answering from a search result, everything else replayed
final weightsthe average of round 3's last two saved checkpoints (no extra training) — it kept every Swift 2 job within 2 items
optimisercontinuation settings: Muon (≤ 0.01) on 2-D hidden matrices, AdamW (≤ 3e-4) on embeddings and norms, learning rate decaying from the start; per-conversation attention masking
attention checkbefore each run, the trainer's attention is checked against the reference implementation (loss and gradients identical)
hardwareKaggle, 2 × NVIDIA T4

Files

model.safetensors / config.json            the model (transformers)
tokenizer.json / tokenizer_config.json     tokenizer + chat template
loom-swift-mini-3-f16.gguf                 full precision GGUF (4.2 MB): phones, desktop apps, Ollama, llama.cpp
template / params / Modelfile              Ollama
harness.py                                 runnable harness — search, calculator, date; stdlib only
ATTRIBUTION.md                             required credits for the training data

License

Model: MIT. Training data keeps its original licences — see ATTRIBUTION.md.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Gemma3ForCausalLM
Ревизия весов
4c78ed3

0 моделей