Being a working demonstration of how a thinking engine may be assembled from a Sentence Transformer and a Hall of Vectors — wherein six celebrated scientific romances are distilled into 3,389 passages, each rendered as 384 numbers, and consulted as an oracle.
As at the great fairs, the railway rings the grounds. Here it carries the whole journey of a thought in one endless circuit — ingested, enriched, embedded, extracted — and what returns as an answer departs again as a question. Watch a lap; the cargo tells the story.
wander onward: put a question to , or work the enrichment engine yourself at .
The expositions of old let you pull the levers and drive the motorcars. Pull this one: the works will draw a passage from the stacks, the clerk-engine will propose its catalogue line, and you may correct it with your own hand before it is stamped — then see where your bale settles in the hall.
Corrected lines are kept in the visitors' ledger — the human hand in the machine's training.
Stoking the boilers…
Your words are cut into the engine's alphabet.
Six layers of attention press the sentence into a single vector of 384 numbers.
The vector is walked through a small-world graph of 3,389 passages.
The nearest testimony is weighed, sentence by sentence, into a pronouncement.
Every star a passage in the 384-dimensional hall, seen down its three principal axes · drag to survey · ask the Oracle a question and the golden comet descends among its neighbours. After a stamping at the Bench, a grey marker shows where the bare text sat and the comet where your stamped meaning now sits, joined by a drift-thread. Colours are the Constellations — themes the machine discovered unsupervised, named by the decoder.
Each shelf a novel, each cell a chapter, shaded by how many passages it lends the hall. Gold marks show where in the story the Oracle's latest answer was found.
A modern language model is, at heart, two machines. The first — a transformer — turns meaning into geometry. The second — a vector index — makes that geometry searchable. This exposition wires the two together before your eyes; what it deliberately omits is the third machine, the generative decoder, which would write new prose rather than quote the corpus. Memory first; invention later.
The transformer was trained on a billion sentence-pairs to place kindred meanings near one another in a 384-dimensional space. “Heat-ray” and “fighting-machine” land close together though they share no letters. Search, therefore, is not matching words — it is measuring distance between thoughts.
Comparing your question against every passage would take 3,389 × 384 multiplications per candidate. The HNSW graph instead hops between neighbours — a few dozen comparisons, logarithmic in the size of the library — the same species of index that serves the largest engines of the age, here compiled to 46 kilobytes of WebAssembly.
A full LLM adds a decoder: the same attention machinery, run in reverse to write new sentences conditioned on what was retrieved. The Annex demonstrates it — a second transformer that composes prose from the exhibits. Mark the difference in kind: the Oracle's quotations can be traced word-for-word to the corpus; the Annex's prose is generated, fluent and usually faithful, but no longer a citation. That trade — fluency against traceability — is the central bargain of every modern language model.