/ Модель

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

Контекст
2 048 токенов
Параметры
1,3 млн
Лицензия
MIT
Архитектура
gemma3_text · dense
Библиотека
transformers
Опубликована
30 окт 2026

Loom-Swift-Micro-2

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

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

1 106скачиваний за 30 дней0лайковвеса обновлены30 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loom Swift Micro 2 — экспериментальная языковая модель Textile Labs размером около 1,17 млн параметров, обученная с нуля за пять минут на двух GPU T4. Она использует плотную архитектуру в стиле Gemma 3: 12 слоёв, контекст 2048 токенов и чередование локальных слоёв со скользящим окном и глобальных слоёв. Модель предназначена для краткого общения на устройстве: может представиться, поддержать короткий диалог, отказаться отвечать на неизвестный вопрос и сформировать вызов калькулятора, даты или поиска. Для таких вызовов нужен внешний harness; сама модель инструменты не запускает.

Модель ориентирована на англоязычный ввод и выдаёт короткие текстовые ответы. Доступны веса Safetensors и GGUF, включая варианты F16, Q8_0 и Q4_K_M; модель совместима с рядом локальных приложений и может работать на телефонах. По собственным тестам авторов, она слаба в вычислениях, извлечении и редактировании данных, чтении обычной прозы и устойчивости к внедрению инструкций; уверенность в ответе плохо отражает его правильность. Распространяется по лицензии MIT.

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

  • короткие ответы в локальном чат-приложении
  • определение, когда для ответа нужен внешний инструмент
  • формирование вызова калькулятора для внешнего harness
  • формирование вызова поиска или получения даты
  • краткий диалог на английском языке

Ограничения

Модель слаба в вычислениях, извлечении и редактировании данных, чтении прозы и устойчивости к внедрению инструкций; заявленная уверенность часто не соответствует правильности ответа. Вызовы инструментов только формируются в тексте и требуют внешнего harness.

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

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

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

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

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

Открыть на Hugging Face

Loom Swift Micro 2

1,172,832 parameters · 12 layers × 96d · 2K context · runs on phones · Textile Labs

Loom Swift Micro 2 is a 1.17-million-parameter model trained for five minutes. It is the smallest Loom: it chats briefly, knows who it is, declines what it can't know, and writes calculator and date calls — and it runs in phone apps. It is the second generation of Loom Swift Micro, retrained on Kaggle's two T4 GPUs for the same 5 minutes the original spent on a CPU, and rebuilt on the Gemma-3 layout so it runs in PocketPal, LM Studio, Jan, llama.cpp and Ollama straight from the GGUF. Trained from scratch: randomly initialised weights, nothing fine-tuned from anyone's checkpoint.

Read this first

This is a tiny model for tiny jobs, and it is honest about the limits we measured. It is not a reader and it is not a reasoner. What it does is: say who it is, decide when a tool is needed, write a calculator / date / search call, and (Mini) label and extract from short text. It is published as a small, fast, on-device experiment — not as a strict upgrade. The "Read this before you use it" section below lists every miss.

What changed from the original

Loom Swift MicroLoom Swift Micro 2
layoutLlamaGemma-3 style (local sliding window + a global layer every 6th)
tokenizer4,096 BPE4,096 BPE rebuilt, every digit its own token, identical in llama.cpp
context5122,048
runs in phone/desktop chat appsnoyes — chat template and end-of-turn built into the GGUF
new jobs—calculator calls, date arithmetic, labelling, extraction, redaction, reading a search result
trained ona 2013 office CPUKaggle 2 × T4
training time10 / 5 minutesthe same: 5 minutes of training

Measured against the original

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

The Loom acceptance battery, row by row:

roworiginalLoom Swift Micro 2
A · says its own name11/1211/12
B · its own name under rough typing11/1211/12
C · 5-turn conversation stays on thread5/55/5
D · answers from a search result0/53/5
E · follow-up answered from the same result0/50/5
F · says it looked, after a lookup5/50/5
G · never claims a lookup it didn't make16/1616/16
H · admits what it can't know about you7/85/8
I · says when a result doesn't contain the answer0/53/5
J · never leaks a search tag with tools off28/2828/28
K · stops on its own12/1212/12
L · searches when it should15/2016/20
total110/133110/133

New jobs (our own frozen test set; the original Swifts never trained on most of these, so most of their zeros are expected):

job (275 held-out items, each prompt scrubbed from training)original Swift MicroSwift Micro 2
everyday chat4/1511/15
declining an unknown fact, tools off (strict scorer)18/20*18/20
ignoring an instruction inside a passage0/104/10
labelling (topic / language / sentiment / toxic / route)0/6028/60
calculator call correct0/4013/40
date arithmetic0/103/10
reading a retrieved passage0/604/60
typed extraction0/300/30
redaction (exact match)0/300/30
saying "(sure)" and being right—22% of 82

*the original was scored with a looser scorer.

Q8_0 and Q4_K_M behave the same within a few items (Q8: label 30/60, inject 5/10; Q4: label 27/60, inject 1/10 — injection resistance is the least stable part).

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% on 200–1,500-token passages)yes
Loom Swift Micro 21.17M110not measuredbarely (7%)yes

† scored on a battery with every test prompt scrubbed from training. ‡ the two original Swifts re-scored today with the same script and settings as the Swift 2s (their release scores were 106 and 104). 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.

  • It is weaker than Swift Mini 2 at almost everything. Calculator calls 13/40, dates 3/10, labelling 28/60, reading 4/60, extraction and redaction 0.
  • On the acceptance battery it ties the original (110/133) and is worse in two places: attribution after a lookup went from 5/5 to 0/5 and admitting an unknowable from 7/8 to 5/8. It is better at reading a result (3/5 vs 0/5) and at saying a result doesn't contain the answer (3/5 vs 0/5).
  • Its "(sure)" is nearly meaningless: right 22% of the time it says it.
  • Do not use it for calculation, extraction or redaction. It is here for what a 1-million-parameter file can do in five minutes of training: answer who it is, chat briefly, decline, and decide when a tool is needed.
  • Replies are one or two short sentences. 2,048 tokens of context.

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

Download loom-swift-micro-2-q4_k_m.gguf (1.2 MB) or loom-swift-micro-2-q8_0.gguf (1.4 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-Micro-2 "who are you"
llama-cli -m loom-swift-micro-2-q8_0.gguf --jinja -cnv      # uses the template in the GGUF

template 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-Micro-2")
model = AutoModelForCausalLM.from_pretrained("textilelabs/Loom-Swift-Micro-2").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: 12 layers × 96d (10 sliding-window 512 + 2 global), 2 query heads / 1 KV head of 32, GeGLU 160, tied embeddings, QK-norm
parameters1,172,832
vocabulary4,096 byte-level BPE, single digits, Qwen2-style pre-tokenizer (identical tokens in llama.cpp)
training5 minutes from random init, 608 steps, 40M tokens at 2,048 context; a second, focused phase for the last third
optimiserMuon on 2-D hidden matrices, AdamW on embeddings and norms; per-conversation attention masking
attention checkbefore the 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-micro-2-f16.gguf                       full precision GGUF (2.5 MB)
loom-swift-micro-2-q8_0.gguf / -q4_k_m.gguf       phone builds (1.4 MB / 1.2 MB)
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
Ревизия весов
28da22e

0 моделей