readme: hero GIF + demo video link + field report; add BLOG.md
Browse files
BLOG.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# The face was always there: building PAREIDOLIA with two small OpenBMB models
|
| 2 |
+
|
| 3 |
+
*A Build Small Hackathon field report β Thousand Token Wood.*
|
| 4 |
+
*Live: [build-small-hackathon/pareidolia](https://huggingface.co/spaces/build-small-hackathon/pareidolia)*
|
| 5 |
+
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
Pareidolia is the thing your brain does when it sees a face in a power outlet,
|
| 9 |
+
in the front of a car, in two windows and a door. Everyone has it. No app
|
| 10 |
+
celebrates it.
|
| 11 |
+
|
| 12 |
+
So we built one. Point your camera at any object. A small vision model studies
|
| 13 |
+
the photo the way you study clouds β and the face that was *already hiding* in
|
| 14 |
+
your fire hydrant opens its eyes, blinks at you, and tells you, in its own
|
| 15 |
+
voice, exactly what it has been putting up with.
|
| 16 |
+
|
| 17 |
+
> *"Forty years on this corner. Not one dog has shown me respect."*
|
| 18 |
+
|
| 19 |
+
Two models do all of it, and together they're about **11B parameters** β well
|
| 20 |
+
under the hackathon's 32B ceiling, and every parameter earns its place:
|
| 21 |
+
|
| 22 |
+
- **[openbmb/MiniCPM-V-4_5](https://huggingface.co/openbmb/MiniCPM-V-4_5)** (8.7B) β finds the face and writes the soul.
|
| 23 |
+
- **[openbmb/VoxCPM2](https://huggingface.co/openbmb/VoxCPM2)** (2.29B) β gives each object a distinct designed voice, from a text description alone, no reference audio.
|
| 24 |
+
|
| 25 |
+
## The one rule: taste from the model, facts from the code
|
| 26 |
+
|
| 27 |
+
The failure mode that kills a project like this is obvious once you hit it: no
|
| 28 |
+
vision model is *trained* to point at the two bolts on a hydrant and call them
|
| 29 |
+
eyes. Ask it for pixel coordinates and it will confidently place an eye in the
|
| 30 |
+
sky. A misplaced eye doesn't read as a quirky soul β it reads as a broken
|
| 31 |
+
sticker.
|
| 32 |
+
|
| 33 |
+
So we never let the model touch a coordinate. The sΓ©ance is one structured
|
| 34 |
+
generation: the model **names visible features** ("the two bonnet bolts," "the
|
| 35 |
+
front outlet cap"), reads the object's condition, and writes its grudge β then
|
| 36 |
+
deterministic OpenCV snaps those names onto the strongest real circles, blobs,
|
| 37 |
+
and corners nearby. The model brings taste; the code owns the facts. It's the
|
| 38 |
+
pattern this community already celebrates, and it's the whole reason the eyes
|
| 39 |
+
land on things that are really there.
|
| 40 |
+
|
| 41 |
+
The writing is governed the same way β not vibes, but a bank of grudge
|
| 42 |
+
archetypes keyed to an object's *visible condition* (the veteran/rusted, the
|
| 43 |
+
martyr/worn, the perfectionist/pristine, the diva/displayed), with an iron rule
|
| 44 |
+
that every line must reference something actually in the photo. A coffee mug
|
| 45 |
+
with a violin-shaped handle, unprompted: *"Why a violin? Why not a guitar?"*
|
| 46 |
+
|
| 47 |
+
## The shared wall, alive with zero GPU
|
| 48 |
+
|
| 49 |
+
Every awakened object joins a public **Menagerie** β one wall, shared by every
|
| 50 |
+
visitor. Because each record is deterministic, the overlays (the blinking, the
|
| 51 |
+
saccades, the mouth riding the audio) replay entirely client-side from JSON.
|
| 52 |
+
The landing page is fully alive even when the GPU is asleep, and every object
|
| 53 |
+
gets its own shareable page with a social preview card showing it *with its
|
| 54 |
+
eyes*. The GPU only wakes when you awaken something new.
|
| 55 |
+
|
| 56 |
+
Privacy is structural, not bolted on: the same generation gates real human
|
| 57 |
+
faces and NSFW before anything else runs, and nothing reaches the public wall
|
| 58 |
+
that hasn't passed that gate. No visitor identity is ever stored.
|
| 59 |
+
|
| 60 |
+
## What we tried, measured, and threw away
|
| 61 |
+
|
| 62 |
+
The honest part. We had two "obvious" upgrades and let live measurement veto
|
| 63 |
+
both:
|
| 64 |
+
|
| 65 |
+
- **A punch-up pass** that rewrote each grudge to be funnier. Tested live on six
|
| 66 |
+
real awakenings: zero rewrites better than the original, two grammatically
|
| 67 |
+
broken. Our acceptance check validated *form* (length, banned openers, cites a
|
| 68 |
+
specific) but couldn't see *coherence*. Reverted within the hour. A flat
|
| 69 |
+
original beats a broken rewrite.
|
| 70 |
+
- **A set-of-marks grounding flip** β let OpenCV draw numbered badges and have
|
| 71 |
+
the model pick numbers instead of inventing coordinates. It sounded purer. The
|
| 72 |
+
bench said no: **3/14** plausible faces versus **8/14** for the coarse-then-snap
|
| 73 |
+
flow. The model picked badges sitting on the pavement while confabulating names
|
| 74 |
+
for them. The real lesson: a vision model's coarse spatial *intuition*,
|
| 75 |
+
corrected by deterministic snapping, beats its discrete *selection* over
|
| 76 |
+
badly-curated choices.
|
| 77 |
+
|
| 78 |
+
Both are written up, with their data, in the repo's
|
| 79 |
+
[FIELD_NOTES.md](https://huggingface.co/spaces/build-small-hackathon/pareidolia/blob/main/FIELD_NOTES.md).
|
| 80 |
+
Every awakening's full trace β the model's JSON, the snap deltas, the chosen
|
| 81 |
+
voice β is published to a [public dataset](https://huggingface.co/datasets/AndresCarreon/pareidolia-menagerie).
|
| 82 |
+
|
| 83 |
+
## What shipped to make it survive a judging crowd
|
| 84 |
+
|
| 85 |
+
- A face-**geometry gate** that measures each placed face (eyes level? cramped?
|
| 86 |
+
mouth below? on the object?) and gives the model one in-context do-over when it
|
| 87 |
+
fails.
|
| 88 |
+
- A **health endpoint and an external watchdog** that auto-restarts the Space if
|
| 89 |
+
the ZeroGPU context ever wedges.
|
| 90 |
+
- Honest, retryable messaging when the free GPU quota is busy β *"the spirits are
|
| 91 |
+
overwhelmed; rest a moment and try again, or sign in for your own candle"* β
|
| 92 |
+
instead of a generic error.
|
| 93 |
+
|
| 94 |
+
It's small models, used carefully, doing something that genuinely couldn't exist
|
| 95 |
+
without them. Go wake something up. It was in there all along. ποΈ
|
README.md
CHANGED
|
@@ -43,7 +43,9 @@ voice, exactly what it has been putting up with.
|
|
| 43 |
Every awakened object joins the **Menagerie** β one public wall, shared by every
|
| 44 |
visitor, where all of them blink, glance around, and mutter.
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
| 47 |
|
| 48 |
## β¨ The moment that sells it
|
| 49 |
|
|
@@ -115,13 +117,12 @@ Both models run **in-Space**. No external APIs, no remote endpoints.
|
|
| 115 |
[AndresCarreon/pareidolia-menagerie](https://huggingface.co/datasets/AndresCarreon/pareidolia-menagerie).
|
| 116 |
- **Field Notes** β [FIELD_NOTES.md](FIELD_NOTES.md) β the build log, including
|
| 117 |
the dependency saga and what a vision model does when you ask it to find
|
| 118 |
-
eyes in a stapler
|
| 119 |
|
| 120 |
## π Submission links
|
| 121 |
|
| 122 |
-
|
| 123 |
-
- **
|
| 124 |
-
- **Social post:** *coming before the deadline.*
|
| 125 |
|
| 126 |
## βΆοΈ Run it locally
|
| 127 |
|
|
|
|
| 43 |
Every awakened object joins the **Menagerie** β one public wall, shared by every
|
| 44 |
visitor, where all of them blink, glance around, and mutter.
|
| 45 |
|
| 46 |
+

|
| 47 |
+
|
| 48 |
+
*βΆοΈ [Watch the 75-second demo](https://huggingface.co/spaces/build-small-hackathon/pareidolia/resolve/main/demo/pareidolia-demo.mp4) (works muted).*
|
| 49 |
|
| 50 |
## β¨ The moment that sells it
|
| 51 |
|
|
|
|
| 117 |
[AndresCarreon/pareidolia-menagerie](https://huggingface.co/datasets/AndresCarreon/pareidolia-menagerie).
|
| 118 |
- **Field Notes** β [FIELD_NOTES.md](FIELD_NOTES.md) β the build log, including
|
| 119 |
the dependency saga and what a vision model does when you ask it to find
|
| 120 |
+
eyes in a stapler (also written up as a [field report](BLOG.md)).
|
| 121 |
|
| 122 |
## π Submission links
|
| 123 |
|
| 124 |
+
- **Demo video:** [pareidolia-demo.mp4](https://huggingface.co/spaces/build-small-hackathon/pareidolia/resolve/main/demo/pareidolia-demo.mp4) β 75s, real awakenings + real voices, works muted.
|
| 125 |
+
- **Social post:** *launching at submission β link lands here.*
|
|
|
|
| 126 |
|
| 127 |
## βΆοΈ Run it locally
|
| 128 |
|