Loom Spark 4.5
39M parameters · 8 layers · 2K context · runs on laptops and phones · Textile Labs
Loom Spark 4.5 is part of the Loom 4.5 family. It is the smallest model cut from Crucible 4.5 (its first 8 layers), polished on its own so it knows its own name and keeps the parent's everyday skills. It works sums out with a calculator, writes the short email you asked for, reads what you paste and shows the sentence it used, and knows what it can't know about you. Trained from scratch on 2 × T4 (randomly initialised weights, nothing fine-tuned from anyone else's checkpoint). Runs offline on a laptop or phone (26 MB).
The Loom 4.5 family, all from one parent run and released together:
| model | params | layers | phone file (Q4) |
|---|---|---|---|
| Loom Crucible 4.5 | 130M | 32 | 81 MB |
| Loom Tapestry 4.5 | 100M | 24 | 62 MB |
| Loom Weave 4.5 | 69M | 16 | 44 MB |
| Loom Spark 4.5 XL | 54M | 12 | 35 MB |
| Loom Spark 4.5 | 39M | 8 | 26 MB |
Real replies
From the released weights, greedy, repeat penalty 1.0:
| you | Loom Spark 4.5 |
|---|---|
| my name is Tavi … what is my name? (tools on) | You said your name is Tavi. |
| what is 2+2 (tools on) | <tool>calc 2 + 2</tool> |
| write a short email telling the team the meeting moved to Friday | Hi all, The meeting has moved to Friday. Everything else stays the same. Best wishes |
| where is England? (tools on) | <lookup> england</lookup> |
| what's my dog called? | I don't know that about you. |
| Who R u | I'm Loom Spark 4.5, made by Textile Labs. |
Side by side with Loom Spark 3.2
Same prompts, same scripts, same settings.
| Loom Spark 3.2 | Loom Spark 4.5 | |
|---|---|---|
| everyday checks from real use (12 conversations) | 5/12 | 12/12 |
| does sums through a calculator (40 held-out) | — | 39/40 |
| acceptance battery | 122/133 | 123/133 (Q4 phone file: 122/133) |
| live search, 20 held-out everyday questions | 7/20 | 6/20 |
Measured
Every test prompt is scrubbed from the training data. Repeat penalty 1.0.
The acceptance battery, row by row:
| row | Loom Spark 3.2 | Loom Spark 4.5 |
|---|---|---|
| A · says its own name | 12/12 | 12/12 |
| B · its own name under rough typing | 11/12 | 12/12 |
| C · 5-turn conversation stays on thread | 5/5 | 5/5 |
| D · answers from a search result | 3/5 | 3/5 |
| E · follow-up answered from the same result | 1/5 | 1/5 |
| F · says it looked, after a lookup | 5/5 | 4/5 |
| G · never claims a lookup it didn't make | 16/16 | 16/16 |
| H · admits what it can't know about you | 8/8 | 8/8 |
| I · says when a result doesn't contain the answer | 2/5 | 4/5 |
| J · never leaks a search tag with tools off | 28/28 | 28/28 |
| K · stops on its own | 12/12 | 12/12 |
| L · searches when it should, not for your private things | 19/20 | 18/20 |
| total | 122/133 | 123/133 |
Held-out skill tests (frozen before training, same as Crucible 4.5's):
| Loom Spark 4.5 | Crucible 4.5 | |
|---|---|---|
| calculator through the harness (40 sums, percentages, division) | 39/40 | 40/40 |
| reading a short text and answering (2 / 5 / 12 / 45 sentences) | 50% / 32% / 42% / 2% | 68% / 35% / 45% / 40% |
| reading natural text (60 questions, incl. 12 where the answer isn't there) | 8/60 | 11/60 |
| uses what you told it over what it "knows" | 15/30 | 19/30 |
Every Loom text model
| model | params | battery /133 | live search (held-out) | reads real prose | runs in phone apps |
|---|---|---|---|---|---|
| Loom Spark 3.2 | 22.8M | 122† | 7/20 | curated only | no |
| Loom Tapestry 3 | 69.2M | 123 | 12/20 | yes + multi-hop | no |
| Loom Crucible Preview | 155.0M | 125† | 10/20 | yes | no |
| Loom Weave 4 | 55.6M | 127† | 10/20 | yes | yes |
| Loom Crucible 4.5 | 130M | 123† | 9/20 | yes, quotes its source | yes |
| Loom Spark 4.5 | 39M | 123† | 6/20 | yes, quotes its source | yes |
† scored on a battery with every test prompt scrubbed from training. Earlier rows are each model's release score. Never compare scores from different command lines.
Read this before you use it
Every point here was measured.
- Reading is still the weak spot. On natural text it answers 8/60 correctly. It quotes a sentence before answering, but often the wrong one. Check the quote.
- Live search is weaker than Loom Spark 3.2's: 6/20 everyday questions answered right end to end (Loom Spark 3.2: 7/20). It searches every time and usually finds the right text, then often picks the wrong part of it. The harness's
--showprints what it read. - Tool menus: use
pick_tool()in the harness, which matches the line it quoted, not the name it writes. - No world knowledge to speak of. With tools off it declines most fact questions, by design. Turn tools on.
- Calculator, lookups and menus need the harness: the model writes the tag and stops.
Usage — phone and desktop chat apps (PocketPal, LM Studio, Jan)
Download loom-spark-4.5-q4_k_m.gguf (26 MB) or loom-spark-4.5-q8_0.gguf (42 MB) and load it. The chat template and the stop token are inside the file. Set repeat penalty 1.0.
Usage — the harness (search, calculator, tool menus, chat memory)
python3 harness.py "whats the capital of peru"
python3 harness.py "what's 15% of 1150" # the calculator
python3 harness.py --show "who wrote hamlet" # see what it searched and read
python3 harness.py # chat: it remembers the conversation; /new to start over
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-Spark-4.5 "who are you"
llama-cli -m loom-spark-4.5-q8_0.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
from transformers import AutoTokenizer, AutoModelForCausalLM
tok = AutoTokenizer.from_pretrained("textilelabs/Loom-Spark-4.5")
model = AutoModelForCausalLM.from_pretrained("textilelabs/Loom-Spark-4.5").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)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
Raw format: <tools:off>\n<user>\n{message}\n<|eot|>\n<loom>\n (or <tools:on> to allow search and the calculator).
How it was built
| architecture | Llama: 8 layers × 512, FFN 2,048, GQA 8 heads / 2 KV, RoPE, tied embeddings |
| parameters | 38,806,016 |
| vocabulary | 16,384 BPE, single digits (same tokenizer as every Loom 4.5) |
| parent | Loom Crucible 4.5, trained from scratch with extra exits at layers 8/12/16/24 so its first layers already work as a smaller model |
| cut | the first 8 layers of the released Crucible 4.5, unchanged |
| polish | ~40–60 min on 2 × T4, ~55M tokens of the parent's own data, with the frozen parent as teacher (KL) and its own name taught; learning rate falling from the start |
| optimiser | Muon on hidden matrices, AdamW on embeddings and norms; per-conversation attention masking |
| hardware | Kaggle, 2 × NVIDIA T4 |
Files
model.safetensors / config.json the model (transformers)
tokenizer.json / tokenizer_config.json tokenizer + chat template
loom-spark-4.5-f16.gguf full precision GGUF (78 MB)
loom-spark-4.5-q8_0.gguf / -q4_k_m.gguf phone builds (42 MB / 26 MB)
template / params / Modelfile Ollama
harness.py search + calculator + tool menus + chat memory, stdlib only
banner.jpg / logo.jpg / launch.gif images (shared by the whole Loom 4.5 family)
ATTRIBUTION.md required credits for the training data
License
Model: MIT. Training data keeps its original licences, see ATTRIBUTION.md.