Jevstiller
A proxy that quickly handles confident classification requests with a local model trained on Jev's responses.
What does it do?
It first trains a small local model on existing Jev classification responses. For each new request, it checks the model's confidence and similarity to the training data to decide whether to answer locally or forward the request to Jev. Given a target agreement rate, it uses a separate validation set and a statistical upper bound to set the routing threshold. The article says local responses take about 15ms on a CPU and that the model is retrained after every 2,000 new Jev responses, then validated on live traffic before deployment.
Key features
- Train a local text classification model on Jev's classification responses
- Handle high-confidence requests within the training distribution locally
- Forward other requests to Jev
- Calibrate the routing threshold with held-out data for a target agreement rate
- Retrain after every 2,000 new Jev responses and validate on live traffic before deployment