Guide
Build a Braid
A Braid is a commons and the Threads behind it. You build one here as you browse, and Linen & Sole writes its link as you go.
What a Braid is
A commons is a pretrained model, run whole. A Thread is one body of writing in front of it: layers trained on that writing alone, and an index of every position it learned.
A Braid runs them together. Every token it writes is split among its parts, and each Thread’s part is cited to its own text.
A Thread runs behind exactly one commons. So a Braid begins with its commons, and every Thread in it was built on that commons.
Start with a commons
- Open the commons and choose one. Its Braid button reads Start a Braid.
- Or press Braid in the bar at the top of the page, and choose a commons from the list the empty tray shows.
The tray opens at the bottom right of the page. It stays as you move between pages, through a reload and across tabs, until you clear it.
Add Threads
Every Thread’s page has a Braid button. Press it and the Thread joins your Braid, after the ones already there.
A Thread added to an empty Braid brings its commons in first.
Add Threads, inside the tray, lists the Threads behind your commons, so you can add them without visiting each page.
A Braid holds one version of each Thread. A Thread built on another commons cannot join it, and its button offers to start a new Braid with it instead.
There is no limit to how many Threads a Braid holds. At each token Braid weighs at most three of them, so a long Braid is a set it chooses from, not a crowd that speaks at once.
Order and name
Threads keep the order you added them in. Drag a row by its handle, or use the arrow keys on it, to move one.
Give the Braid a name if you like. The name travels in the link for people to read, and nothing is decided from it.
The link
The tray writes the link as you build. A Braid of the 1.5b commons and apple-instruct reads:
braid:?pk=d2697c4e71e0&xs=7a7d5fe41f63&dn=apple-instructThe first part names the commons by its seam, the hash of the parts every Thread behind it shares. Each Thread follows by its node id, the first twelve hex of its index’s hash. The name comes last.
A link names a Braid. It never fetches, runs or sets anything, and it carries no prompt and no text.
Use it
Arrives laterCopy link puts it on your clipboard. Open in Braid hands it to an app on your machine that runs braids.
No app registers braid: links yet. When nothing opens, Linen & Sole shows the command that opens the link on a braid that is up:
braid cluster open braid '<link>'On a running braid a link states the whole set. What it names and lacks is attached, what is attached and not named is detached, and a link for another commons changes nothing.
Copy share page gives a web address for the same Braid. Whoever opens it finds your Braid in their tray, each row a link to its repo, with their own Braid kept one step back.
Signed in, Save keeps the Braid on your profile.
A Thread that cannot be reached
A Thread that is only seeded, not uploaded, is reached through its hosts. When none is online, the tray says so, with how long ago one was last seen.
Braid refuses a link whole while a Thread in it cannot be reached. The tray lets you add such a Thread anyway, or leave it out.
For model engineers
The grammar is Braid’s own, kept exactly. After braid:? come pk= and the seam, an xs= and a node id for each Thread, and dn= with the name, joined by &. A seam is 12 to 64 hex, and Linen & Sole prints 12.
Each Thread is written by the shortest prefix of its index hash that names it alone in the Braid, from 12 hex up, four at a time.
Compare, on the full view, reads the link a running braid prints and shows what opening yours would attach, detach and keep, as Braid plans it.
A Thread the size of apple-instruct holds about 29.6 GB of keys once loaded: 1,805,774 keys of 4,096 dimensions in f32. A Braid of many local Threads is a question of hosting, and the tray’s size line says what yours would fetch.