Hacker News

Pocket Text Lab

by @abhgh

Given the popularity of decision models I tried to create a standard text classification pipeline that runs entirely in the browser using webgpu/wasm. Downloads an embedding model, trains the classifier (a Linear SVM for now, whose hyperparams are determined by cross validation over a grid), calibrates the classifier so that reliable confidence scores may be produced. This is in Python that is run using Pyodide. You can paste your own data (no uploads supported) to train a model on it. WIP, and mostly generated using GPT Sol. Testing a few things out. Will have a blog post soon. https://pocket-text-lab.abhishek-ghose-82.workers.dev/

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app