| Ternlight – 7 MB embedding model that runs in browser (WASM)(ternlight-demo.vercel.app) | |
| 316 points by soycaporal 46 days ago | 65 comments | |
tl;dr: Ternlight is a small text embedding model (7 MB base, 5 MB mini variant) that runs entirely in the browser via WASM on CPU, with no API calls or GPU required. It ships as a single npm package (`@ternlight/base`) with no separate model download step, producing embeddings in roughly 5 ms for tasks like semantic search. | |
HN Discussion:
| |