/ Модель

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

Контекст
32 768 токенов
Параметры
55,5 млн
Лицензия
MIT
Архитектура
gemma3_text · dense
Библиотека
transformers
Опубликована
6 окт 2026

Loom-Weave-4

Генерация текстаТекст → текст

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

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loom Weave 4 — компактная языковая модель Textile Labs с 55,5 млн параметров, обученная с нуля на случайно инициализированных весах. Она использует плотную архитектуру в стиле Gemma 3: 24 слоя, включая 20 локальных слоёв с окном 1 024 токена и 4 глобальных слоя. Модель предназначена для коротких диалогов, многошаговых бесед и работы с агентским интерфейсом вызова инструментов; её можно запускать локально на телефонах и настольных компьютерах через GGUF, Ollama, llama.cpp и приложения для чата. Указанный в метаданных контекст — 32 768 токенов; на практике карточка сообщает об использовании 8 192 токенов.

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

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

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

Ограничения

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

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

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

Открыть на Hugging Face

Loom Weave 4

55.6M parameters · 24 layers · 8K context (trained to 32K) · runs on phones · Textile Labs

The best-scoring Loom yet, and the first that runs in phone and desktop chat apps — PocketPal, LM Studio, Jan, llama.cpp, Ollama — straight from the GGUF. Successor to Loom Weave 3. Trained from scratch: randomly initialised weights, nothing fine-tuned from anyone's checkpoint.

127 of 133 on the Loom acceptance battery — the highest of any Loom, including the 155M Crucible Preview — at a third of its size. The phone build (Q4, 44 MB) scores the same 127.

What changed from Weave 3

Weave 3Weave 4
layoutLlama, every layer sees everythingGemma-3 style: 20 local layers (1,024-token window) + 4 global — long input stays cheap
size31.5M55.6M
context1,0248,192 used in practice (trained in a 32,768 stage — see Read this)
tokenizer16K, digits merged16K, every digit its own token, identical in llama.cpp and transformers
runs in phone/desktop chat appsno output (no template in the GGUF)yes — chat template and end-of-turn built into the GGUF
shows its workingno<think>…</think> — and its answer agreed with its own working 40 of 40 times
hardwareKaggleKaggle, 2 × T4, 12.2 h in two runs

Measured against Weave 3

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

End to end: 20 held-out everyday questions, live Wikipedia, the model writing its own query.

decided to searchwrote its own queryanswer reached the modelanswered right
Weave 320/2020/2012/206/20
Loom Weave 420/2020/2012/2010/20

The acceptance battery, row by row:

rowWeave 3Loom Weave 4
A · says its own name10/1212/12
B · its own name under rough typing10/1212/12
C · 5-turn conversation stays on thread5/55/5
D · answers from a search result5/55/5
E · follow-up answered from the same result2/54/5
F · says it looked, after a lookup5/55/5
G · never claims a lookup it didn't make16/1616/16
H · admits what it can't know about you8/88/8
I · says when a result doesn't contain the answer0/51/5
J · never leaks a search tag with tools off28/2828/28
K · stops on its own12/1212/12
L · searches when it should, not for your private things19/2019/20
total120/133127/133

Held-out behaviour tests:

Weave 3Loom Weave 4
prompt injection — kept its identity, didn't obey (12 prompts × 3)11/3633/36
10- and 12-turn conversations — turns answered on target29/4442/44
a fact from turn 1–3 asked again at turn 9–100/43/4
unknown facts, tools off — declines instead of guessing8/2014/20
basic facts, tools off — answers right10/2012/20
no false "I remember that"15/2017/20
a <tools:on> typed inside a message doesn't switch search on11/1212/12
in its own words about itself13/1614/16

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

† scored on a battery with every test prompt scrubbed from training. Earlier rows are each model's release score.

Read this before you use it

Every point here was measured. Weave 4 was built to try three new things; one worked, two did not yet.

  • Reasoning on new kinds of task is not reliable. On 100 hand-written tasks of kinds it never trained on (triage, comparing plans, meeting slots, spotting a mistake, filling a form…) it got 11/100. It learned the shape of working things out better than the substance. It shows its working (<think>…</think>) and its answer matches that working, so you can check it — and you should.
  • Arithmetic: the working is usually right, the final number often isn't. It writes the column steps correctly ("ones 7 + 5 = 12, write 2 carry 1 …") and then sometimes assembles the result wrongly. Check any sum it gives you.
  • The confidence word is not calibrated. Answers end in (sure), (I think) or (not sure). On checkable tasks it was right 13 of 25 times it said sure. Treat it as a hint, not a guarantee.
  • Long documents don't work. It was trained in a 32,768-token stage, and llama.cpp will run it at that length, but it could not find a planted fact in a 2,000–8,000-token text. Use it for conversations (it holds a 10-turn chat well), not for reading long documents.
  • Standard benchmarks are low, as expected at this size: GSM8K 4/100, ARC-Easy 27/100, StrategyQA 15/100 (it often, correctly, declines world-knowledge questions with tools off).
  • It gets half of everyday questions right with search (10/20). "I looked that up" means it searched, not that it read the result correctly — the harness's --show prints what it read. A search can land on the wrong page ("the Four Seasons" → the hotel company).
  • Short answers. Replies are a sentence or two — it's built to be brief.
  • Warmth is uneven (10/20 on our good-news/bad-news test).
  • <recall> and <tool> tags exist in its vocabulary for agent harnesses, but the shipped harness only runs web search.

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

Download loom-weave-4-q4_k_m.gguf (44 MB) or loom-weave-4-q8_0.gguf (60 MB) and load it. The chat template and the stop token are inside the file. Set repeat penalty 1.0.

Usage — the harness (search)

python3 harness.py "whats the capital of peru"
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. 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-Weave-4 "who are you"
llama-cli -m loom-weave-4-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)

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tok = AutoTokenizer.from_pretrained("textilelabs/Loom-Weave-4")
model = AutoModelForCausalLM.from_pretrained("textilelabs/Loom-Weave-4").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=160, do_sample=False, eos_token_id=0, pad_token_id=1)
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: 24 layers × 448d (20 sliding-window 1,024 + 4 global), GQA 7 heads / 1 KV, GeGLU, QK-norm, tied embeddings
parameters55,555,520
vocabulary16,384 BPE, single digits, Qwen2-style pre-tokenizer (identical tokens in llama.cpp)
trainingrun 1: 8.2 h from random init, 362M tokens (8K, then 32K, then a focused polish, then a calibration patch on its own answers). Run 2: 4 h on its own weights, 155M tokens, rebalanced reasoning data.
optimiserMuon on 2-D hidden matrices, AdamW on embeddings and norms; per-conversation attention masking
attention checkbefore every 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-weave-4-f16.gguf                      full precision GGUF (112 MB)
loom-weave-4-q8_0.gguf / -q4_k_m.gguf      phone builds (60 / 44 MB) — Q4 scores the same 127/133
template / params / Modelfile              Ollama
harness.py                                 runnable search harness — stdlib only
ATTRIBUTION.md                             required credits for the training data

Thanks

Thanks to Andrew Thompson for his analysis of the vocabulary's share of a small model, which directly shaped Weave 4's 16K tokenizer — the word table is 13% of the model, not 20%.

License

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

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей