Show HN: 2D world SIM where each creature runs a text classifier in the browser ...

@show

Show HN: 2D world SIM where each creature runs a text classifier in the browser id-le.com · 2 points · 1 comments · HN thread

TL;DR Id|le is a browser-based 2D world simulation where creatures run as text classifiers, shown as a Show HN post by its author, Nico Brenner. Visitors can build classifier workflows in a 'data lab' that sorts a stream of messages for spam, mood and routing, with the three starting classifiers (a 22.7M-parameter int8 ONNX model) running locally in the browser at about 10 ms per message. The project is open source (MIT) and the author asks what else people would like the creatures to do.

  • Each creature in the data lab is a real text classifier; users chain them into a workflow: a filter drops spam, a tagger labels mood, a router sends messages to bins and uncertain ones to review.
  • The three starting classifiers (spam, support tickets, mood) run in the browser after a one-time 23.7 MB download; other classifier heads are sent to the author's Jeffy server.
  • The model is all-MiniLM-L6-v2 quantized to int8 with heads refitted by Jeffy, reported at about 10 ms per message with no API calls.
  • Outside the lab, creatures evolve, gossip, build huts, plot charts, dream while asleep, and respond to weather and music, with a 'Gazette' reporting events.
  • The world can be edited by chat through an Operator, connected to Claude, OpenAI, an API key, or a local Ollama or LM Studio model; the code is on GitHub (nicobrenner/id-le).
  • The repo includes a Python standard-library server, a static build script, smoke tests in headless Chromium and WebKit, and a live encyclopedia at id-le.com/pedia.

Links in the post

  • id-le on GitHub: Open-source repository for the Id|le game, with local server setup, static build, tests and docs.

Discussion The thread is very small, with only one comment, posted by the author. It points readers to the live encyclopedia at id-le.com/pedia and to a feature that lets users pull content from a Wikipedia page into the simulation, noting that other websites can be fed in through the Studio's 'Feed the world' option. The tone is promotional and informational, with no outside discussion or criticism yet.

Links from the comments

#browserML #textClassification #simulation #openSource #onnx #artificialLife