STAYCHARTED BLOG · OPEN-WEIGHT MODELS · CLASSIFICATION
Text classification with open embedding models: fast, cheap, and yours
How an open embedding model plus logistic regression sorts text into your categories, trains in minutes on a CPU, and gives you a model file to keep.
The recipe
- Embed. intfloat/multilingual-e5-small (about 100 million parameters, MIT license, 100 languages) turns each row into 384 numbers.
- Add words. AMT tests meaning alone against words plus meaning, including word and two-word phrase features, and keeps whichever scores better in its evaluation. Exact product codes and jargon can benefit from the word features.
- Learn. A logistic regression learns a weight for each feature and category.
- Score. Every answer comes with a confidence, so you can send low-confidence rows to a person.
Why a small model
We tested a model six times larger (Qwen3-Embedding-0.6B). In our setup it was less accurate at every data size and about 200 times slower on a CPU:
| Embedding model | BANKING77, all data | BANKING77, 10 per intent | Rows per second, 2 CPU threads |
|---|---|---|---|
| multilingual-e5-small | 91.0% | 81.3% | 427 |
| Qwen3-Embedding-0.6B | 88.6% | 75.4% | 2 |
Full results and the words + meaning comparison: Why the AI Classifier uses words and meaning.
How it compares with fine-tuning
On BANKING77 the AI Classifier Model measured 92.6% against 93.7% for a fine-tuned Qwen3.5-4B. For many teams that 1.1-point gap is not worth the extra training time. When it is, see Fine-tune Qwen3.5 for classification.
What you can download
The AI Classifier Model downloads as a model.json file with a README describing the recipe, on every plan including Free. The file holds the learned weights; it is yours to keep. We do not include serving code or support running it outside StayCharted. See Pricing.
Common questions
What is an embedding model?
A model that turns text into a list of numbers so that texts with similar meaning end up close together.
Does it work in other languages?
multilingual-e5-small supports 100 languages, though its model card notes weaker results on low-resource languages. Accuracy also depends on how many labelled examples you have in each.
How many examples do I need?
Start with 10 to 20 per category and check the report. See the per-size results in the words and meaning insight.
Is this the same as an open-source classifier like Laya?
Similar idea, different packaging. See Laya open-source classifier.