Loom 4.5

Loom Spark 4.5 XL

54M parameters ยท 12 layers ยท 2K context ยท runs on laptops and phones ยท Textile Labs

Loom Spark 4.5 XL is part of the Loom 4.5 family. It is a new size between Spark and Weave (the first 12 layers of Crucible 4.5), 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 (35 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 XL
my name is Reid โ€ฆ what is my name? (tools on) You said your name is reid.
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. See you there. Many thanks
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 XL, 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 XL
everyday checks from real use (12 conversations) 5/12 12/12
does sums through a calculator (40 held-out) โ€” 37/40
acceptance battery 122/133 123/133 (Q4 phone file: 123/133)
live search, 20 held-out everyday questions 7/20 5/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 XL
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 3/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 19/20
total 122/133 123/133

Held-out skill tests (frozen before training, same as Crucible 4.5's):

Loom Spark 4.5 XL Crucible 4.5
calculator through the harness (40 sums, percentages, division) 37/40 40/40
reading a short text and answering (2 / 5 / 12 / 45 sentences) 55% / 28% / 35% / 10% 68% / 35% / 45% / 40%
reading natural text (60 questions, incl. 12 where the answer isn't there) 9/60 11/60
uses what you told it over what it "knows" 19/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 XL 54M 123โ€  5/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 9/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: 5/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 --show prints 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-xl-q4_k_m.gguf (35 MB) or loom-spark-4.5-xl-q8_0.gguf (58 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-XL "who are you"
llama-cli -m loom-spark-4.5-xl-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-XL")
model = AutoModelForCausalLM.from_pretrained("textilelabs/Loom-Spark-4.5-XL").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: 12 layers ร— 512, FFN 2,048, GQA 8 heads / 2 KV, RoPE, tied embeddings
parameters 54,014,464
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 12 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-xl-f16.gguf         full precision GGUF (109 MB)
loom-spark-4.5-xl-q8_0.gguf / -q4_k_m.gguf         phone builds (58 MB / 35 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.

Downloads last month
-
Safetensors
Model size
54M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for textilelabs/Loom-Spark-4.5-XL

Quantized
(3)
this model

Collection including textilelabs/Loom-Spark-4.5-XL