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.