Autofit2
End-to-end pipeline for multilingual text classification
Details
- External ID
- 48673527
- Source
- HN
- Company
- —
- Product
- Autofit2
- Website domain
- github.com
- Launched
- June 25, 2026
- Cohort
- —
- Upvotes
- 28
- Upvotes percentile
- 0.7868852459016393
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
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.
Enrichment
- Theme
- AI text humanizers and detectors
- Vertical
- Horizontal
- Function
- Content generation
- Audience
- Developer
- AI stance
- AI feature
- Project type
- Commercial product
- Normalized one-liner
- multilingual text classification pipeline
- Manually corrected
- False
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 — 76 launches clear the similarity bar, closest 8 shown.
Attention rank: #27 of 77 (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.43
- TabPFN-2.5 · hn · 2025-11-06 · 73 upvotes · similarity 0.42
- EmbedFlow –> Upgrade embedding models without re-embedding your corpus · hn · 2026-09-09 · 6 upvotes · similarity 0.41
- orukeet · github · 2026-09-09 · 40 upvotes · similarity 0.41
- text-humanizer · github · 2026-09-16 · 734 upvotes · similarity 0.41
- jevbench · github · 2026-09-22 · 7 upvotes · similarity 0.40
- jevframe · github · 2026-09-18 · 13 upvotes · similarity 0.39
- We fingerprinted 178 AI models' writing styles and similarity clusters · hn · 2026-04-08 · 78 upvotes · similarity 0.39
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a content generation tool for Government yet.