No agenda.
Just playing.
Experiments without order, necessity, or purpose. A real playground — not a book, not a course. Drop something here, see what happens.
Experiments
Each experiment is standalone. No prerequisites, no sequence.
Embeddings
Type two phrases, get their vector representations, compare cosine similarity in real time. All-MiniLM-L6-v2 runs entirely in the browser — no server, no API.
NewSemantic Search
Build a phrase collection, store embeddings in PGlite (Postgres in WebAssembly), search by meaning. 100% in-browser, IndexedDB persistent.
NewTranslation Quality
Give a sentence X and its reference English translation E. Helsinki-NLP translates X→ME and E→MX. Measure cos(E,ME) and cos(X,MX) to evaluate translation quality.
Briscola
Italian card game with a reinforcement learning agent. Watch it learn — or play against it.
Pong
Two agents, self-play, emergent behavior from minimal reward signal.
Genetic Algorithms
Watch evolution happen in real time. Mutation, selection, local optima.