Autofit2
End-to-end pipeline for multilingual text classification
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
Hi HN, Stefan here. autofit2 is a project I have been using at my previous company and is now opensourced. It has been used extensively in automated text moderation, but can be applied to any text/document classification task. We had success modeling offensive texts in 20+ languages (cf. github.com/neospe/dataload for all the datasets).It's an integrated pipeline for lightweight multilingual text classification, covering preprocessing, training, and evaluation. It implements SetFit, a few-shot learning technique that works well for low-data regimes (down to a few dozen examples), and offers high throughput on CPUs, since it's based on Sentence Transformers. Dependencies are kept lean, but of course PyTorch itself isn't exactly small.autofit2 takes a base model and a JSON config as input, and outputs a TorchServe model archive as well as a model card. The model card includes any benchmarks you have for your task, self-consistency tests, estimated CO2 emissions of the finetune, as well as an entropy-based bias analysis. For the bias eval, small test corpora for 50 languages are included. It works best with my EAR (Entropy-based Attention Regularization) fork of Sentence Transformers.Feedback is welcome.
HN · launched Jun 25, 2026 · 28 upvotes (top 21%) · 0 views
Niche: machine learning developer tools · 303 launches, 11 in the last 7 days ▼ -45% · Explore this niche →
Category and tags
- Horizontal
- Model & infra
- Developer
- AI-native
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 303 launches in machine learning developer tools →
Could you build this?
Partial While wrapping huggingface pipelines or fine-tuning scripts in a CLI or service is accessible, creating an end-to-end multi-language classification framework with active learning, cross-lingual embeddings, and production inference optimization requires specialized ML engineering.
What it would actually take: The stack involves PyTorch, Hugging Face Transformers (e.g., XLM-RoBERTa, multilingual encoders), ONNX Runtime/TensorRT, and data preprocessing pipelines. The difficult aspects include handling multi-lingual data balance, out-of-vocabulary artifacts across 20+ languages, calibration of classification thresholds, and low-latency inference serving.
Discussion
2 comments analyzed.
Competitors mentioned: SetFit (Hugging Face), TorchServe
Concerns raised: Unclear how this differs from existing Hugging Face SetFit implementation
Competitors
Other products that read as similar to this one : 218 launches clear the similarity bar, closest 8 shown.
Attention rank: #54 of 219 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 237 days after the earliest competitor.
- jev-sift · github · 2026-09-18 · 45 upvotes · similarity 0.45
- Machine-learning-pipeline · github · 2026-10-21 · 12 upvotes · similarity 0.44
- TabPFN-2.5 · hn · 2025-11-06 · 73 upvotes · similarity 0.43
- orukeet · github · 2026-09-09 · 40 upvotes · similarity 0.43
- EmbedFlow –> Upgrade embedding models without re-embedding your corpus · hn · 2026-09-09 · 6 upvotes · similarity 0.43
- bpemb · github · 2026-11-05 · 50 upvotes · similarity 0.42
- jevbench · github · 2026-09-22 · 7 upvotes · similarity 0.42
- tiktokenizer · github · 2026-11-05 · 50 upvotes · similarity 0.42
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.