Skip to content
ACS Infra

Use the Loom page

A Loom is a tree of continuations. Each Node holds text, and each Branch under a Node grows new Nodes that continue the text of their path. The App's Loom page grows Looms in the browser. It is the Loom layout of the Playground. To grow one from a script, read Make a Loom.

Open or start a Loom

To open the Loom page, select Layout in the Playground's header, then Loom. It opens the playground that is open in the Playground. With none open, it opens the Loom that you changed last, or New Loom when you have no Loom. To leave the Loom page, select Layout in its header, and choose another layout. Your Looms lists your Looms, up to 100: the pinned ones first, then the others by their last change. Select Your Looms to fold the list away, and again to open it. The next Loom page shows the list as you left it. To start a new Loom:

  1. Select New Loom. It opens with the Prompt and the settings, as the Playground does.
  2. Write the Prompt. In an empty prompt box, Tab puts in the gray example.
  3. Choose the settings, and select Branch. The App makes the Loom, with the prompt as its first Node, the root, and grows a Branch under it. To make the Loom with its root alone, select Save.

The App makes the Loom when you select Branch or Save. If the API then refuses the Branch, for example for too few tokens, the Loom stays. The next Branch grows under its root.

A new Loom is Untitled Loom until its first Branch names it after the first line of the text it grows from, up to 40 characters. To rename a Loom, select its title. To manage it in other ways, use the buttons by its title. When the page is narrow, these buttons show only their icons, and each shows its name when you hover over it. The menu on the Loom's row in Your Looms has Pin, Rename, and Delete too:

  • The title and Rename open Rename this Loom. Enter a Title and select Save. An empty title leaves the Loom untitled, so its next Branch names it.
  • Pin keeps the Loom at the top of Your Looms. Unpin takes it off.
  • Delete Loom deletes the Loom, with its prompt and every Node, after you confirm. You cannot undo it.

Branch under a Node

  1. Select a Node in the tree. Text shows the text of its path: the earlier Nodes in gray, then the Node, with its heatmap. In a window narrower than 1,280 pixels, the settings open over the page. Below 1,024 pixels, the tree is above Text.
  2. In the settings, choose the model, Branches (how many Nodes the Branch grows, from 1 to 128), and how each Node is sampled. Sampling starts folded, as in the Playground.
  3. Select Branch. Each new Node shows its text as it arrives, also after a reload.
  4. To stop every Node of the Loom that grows, select Stop. Each keeps the text that it grew.

With Blue noise on in Sampling, each Node of the Branch samples with blue noise, as in the Playground.

A Loom opens with the settings of its last Branch, with Seed blank. A blank Seed gives each Branch a new random seed. Its first Node gets that seed, and each next Node gets 1 more. When the last Branch asked for no log probabilities, Top logprobs shown starts at 5, for the heatmap.

A new Loom, and a Loom without a Branch, start with the App's defaults, such as 3 Branches. To start them from your own settings, select Save as default in the menu ⋮ at the top of the settings, as in the Playground. A Loom's defaults are separate from the Playground's.

As in the Playground, a Branch of a model that is not Warm waits while the model starts. One line under the title says how far the start has got and about how long is left.

Branch works under a Node that completed or that you stopped. A Node that failed shows why, under the text that it had. Select a token in Text to see the likeliest tokens at that place. The heatmap marks a line break with ⏎ and a tab with ⇥, and a copy of the text leaves the marks out.

Each Node takes its own Hold while it grows (Holds of background work).

Change the tree

Each change acts on the Node that you read. The note next to the buttons says why a change has to wait, for example while a Branch grows under the Node.

  • Edit opens Edit this Node. Change the Text and select Save. The Node loses its heatmap. The Nodes under it do not change.
  • To split a Node in two, select Edit, put the cursor inside the text where the new child starts, and select Split at the cursor. A split at the start or the end would leave a Node empty, so the dialog asks you to move the cursor.
  • Sibling opens Write a sibling. Write its Text and select Add sibling.
  • On the root, New root opens Write a new root. Replace the tree replaces the whole tree, and every Node of the Loom goes.
  • Delete Node deletes the Node and the Nodes under it, after you confirm. You then read its parent.

Use the keyboard

These keys act on the Node that you read, when the focus is not in a text box or a dialog:

KeyWhat it does
gGrow a Branch under the Node
eEdit the Node
sSplit the Node, with Split at the cursor in the edit dialog
iWrite a sibling of the Node
DeleteDelete the Node and the Nodes under it
↑ ↓ ← →, Home, EndMove in the tree
EscClose a dialog
?Show these keys

Keys, at the end of the Node's buttons, also shows these keys. A key does nothing while its button is off. The root has no i and no Delete.

Export and import

  1. To copy the text of the path to the Node that you read, select Copy text. To download it as loom-path.txt, select Path as text.
  2. To download the whole Loom as a Loom file, loom-<id>.json, select Export.
  3. To make a Loom from a Loom file, select New Loom. Under Import a Loom, choose the Loom file, and select Import.

An import makes a new Loom with new Node ids, and opens it. Its title is the file's title with (imported) after it. The App imports files that Export wrote, and Loom files from the old platform. For a file that is not a Loom file, the App says what is wrong with it.

When the browser does not let the App copy, the App shows the text selected. Copy it by hand.

Use a desktop program

Tapestry Loom is a desktop program that grows trees of continuations from Base models, with more tools than the Loom page. Its author makes it apart from ACS Infra. Its README says how to install it and which APIs it calls.

On this page