Quick Answer
The top pick as of September 2026 is fasttext-language-identification (facebook), based on its newest Hugging Face publication date among the candidates; the family has too few releases from the last 12 months, so the newest available are listed [1][3][5][6][8][10][12][14]. In order, the ranking is fasttext-language-identification (facebook), roberta-base-go_emotions (SamLowe), roberta-hate-speech-dynabench-r4-target (facebook), twitter-roberta-base-sentiment-latest (cardiffnlp), finbert (ProsusAI), distilbert-base-uncased-finetuned-sst-2-english (distilbert), deberta-xlarge-mnli (microsoft), and deberta-large-mnli (microsoft) [1][3].
Key Takeaways
- facebook’s
fasttext-language-identification (facebook)ranks first because its Hugging Face publication date is the newest among the candidates: 2023-03-06; the position reflects recency, not demonstrated moderation accuracy.[1][14] - Ranking note: newest release first, then downloads; every candidate has no public benchmark yet. The category has too few recent releases, so the newest available are listed despite their older publication dates.[1][3][5][6][8][10][12][14]
- Scope: admit only text classifiers that label text, tagged
text-classificationon Hugging Face, from labs with a published paper or leaderboard record, or other publishers exceeding 10,000 downloads in the last 30 days; exclude rerankers, process-reward models and embedding models.[2][4][8][14] - Established picks are ProsusAI’s
finbert (ProsusAI), distilbert’sdistilbert-base-uncased-finetuned-sst-2-english (distilbert), and cardiffnlp’stwitter-roberta-base-sentiment-latest (cardiffnlp), the download leaders in this candidate set; their recency exemption does not override the ordering rule or earn first place.[8][10][12] - facebook’s
roberta-hate-speech-dynabench-r4-target (facebook)has a paper specifically addressing online hate detection and lists 125M parameters with 0.5 GB of F32 weights; weight storage alone does not establish a GPU or system RAM requirement.[6][7] - License terms differ: facebook’s
fasttext-language-identification (facebook)lists CC-BY-NC-4.0, SamLowe’sroberta-base-go_emotions (SamLowe)lists MIT, and distilbert’sdistilbert-base-uncased-finetuned-sst-2-english (distilbert)lists Apache-2.0; check the intended deployment against the model’s terms.[1][14][10]
How do local text classifiers compare on specifications and moderation benchmarks?
| Model | Org | Params | Quant/VRAM | Released (date) | License | Key benchmark (date) |
|---|---|---|---|---|---|---|
| facebook/fasttext-language-identification [1] | — | — | 2023-03-06 [1] | cc-by-nc-4.0 [1] | no public benchmark yet | |
| SamLowe/roberta-base-go_emotions [14] | SamLowe | 125M [14] | F32 weights: 0.5 GB [14]; VRAM not published | 2022-09-15 [14] | MIT [14] | no public benchmark yet |
| facebook/roberta-hate-speech-dynabench-r4-target [6] | 125M [6] | F32 weights: 0.5 GB [6]; VRAM not published | 2022-06-10 [6] | — | no public benchmark yet | |
| cardiffnlp/twitter-roberta-base-sentiment-latest [12] | cardiffnlp | — | — | 2022-03-15 [12] | CC-BY-4.0 [12] | no public benchmark yet |
| ProsusAI/finbert [8] | ProsusAI | — | — | 2022-03-02 [8] | — | no public benchmark yet |
| distilbert/distilbert-base-uncased-finetuned-sst-2-english [10] | distilbert | 67M [10] | F32 weights: 0.3 GB [10]; VRAM not published | 2022-03-02 [10] | Apache-2.0 [10] | no public benchmark yet |
| microsoft/deberta-xlarge-mnli [3] | microsoft | — | — | 2022-03-02 [3] | MIT [3] | no public benchmark yet |
| microsoft/deberta-large-mnli [5] | microsoft | — | — | 2022-03-02 [5] | MIT [5] | no public benchmark yet |
Which local text classifiers should you consider for content moderation?
1. fasttext-language-identification
fasttext-language-identification from facebook takes the opening position under the ordering rule “newest release first, then downloads”: its Hugging Face publication date is 2023-03-06.[1] The shortlist uses older available releases because too few candidates meet the recency gate. Its benchmark status is “no public benchmark yet,” so the position does not establish superior moderation accuracy.
The model’s license is CC-BY-NC-4.0, and its reported downloads total 319,635 over the last 30 days as of 2026-09-25.[1] Parameter count, context length, weight size and local hardware requirements are unspecified. A concrete RAM budget or GPU recommendation would therefore require additional verification; do not size a deployment from its ranking or download count.
Use it for language identification before routing text through a moderation workflow, with a separate classifier handling moderation decisions. The practical caveat is licensing: CC-BY-NC-4.0 carries a noncommercial restriction, so check the terms before adopting it for a commercial service.[1]
2. roberta-base-go_emotions
roberta-base-go_emotions by SamLowe ranks second under the ordering rule, “newest release first, then downloads”: its Hugging Face publication date is September 15, 2022,[14] behind facebook’s fasttext-language-identification, published March 6, 2023.[1] Its benchmark status is “no public benchmark yet”; the position does not establish superior moderation accuracy.
The model has 125M parameters, a context length of 514 tokens, and F32 weights totaling 0.5 GB.[14] The MIT license supports evaluating it for a local deployment.[14] Hardware planning should start with that weight footprint, then allow additional memory for inference. A minimum system RAM or GPU VRAM requirement is not specified, so the weight size alone cannot establish whether a particular machine will run it.
Consider it for emotion-oriented triage within a moderation workflow, subject to validation against your policy labels. The practical caveat is benchmark uncertainty: evaluate representative comments before using its predictions to prioritize review or trigger enforcement.
3. roberta-hate-speech-dynabench-r4-target
roberta-hate-speech-dynabench-r4-target by facebook ranks third under the newest release first, then downloads rule, using Hugging Face publication dates.[1][14][6] Its repository first appeared on 2022-06-10.[6] The benchmark status is “no public benchmark yet,” so its position does not establish better moderation accuracy than the other candidates.
The model has 125M parameters, a context length of 514 tokens and F32 weights totaling 0.5 GB.[6] For local deployment, treat that weight size as a starting point for capacity planning, not a total RAM or VRAM requirement. Measure runtime memory with your intended input lengths and batch settings before choosing hardware; a specific GPU fit cannot be established from weight size alone.
Use it as a candidate for online hate-speech detection, the task addressed by its accompanying paper, “Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detection.”[7] The practical caveat is scope: evaluate broader moderation requirements separately rather than assuming hate detection covers every policy category.
4. twitter-roberta-base-sentiment-latest
twitter-roberta-base-sentiment-latest by cardiffnlp ranks fourth under the ordering rule: newest release first, then downloads.[1][14][6][12][8][10][3][5] Its first Hugging Face publication date is March 15, 2022.[12] The ranking uses older available releases because the recent-release pool is insufficient; placement does not establish moderation accuracy. Benchmark status: no public benchmark yet.
The model has a context length of 514 tokens and a CC-BY-4.0 license.[12] Its associated paper is “TimeLMs: Diachronic Language Models from Twitter.”[13] For local deployment, hardware requirements remain unspecified: no supported RAM or GPU-memory requirement is available here. Measure memory use with your intended batch size and text length before committing hardware.
Use the model for sentiment analysis within a moderation workflow, such as prioritizing social posts for human review.[12][13] The caveat is task fit: sentiment should be treated as an auxiliary signal, rather than sufficient grounds for a policy-violation decision. Validate that distinction on examples from your own moderation queue.
5. finbert
finbert by ProsusAI ranks fifth under the ordering of newest release first, then downloads: its Hugging Face publication date is March 2, 2022, and its 5,019,923 downloads over the last 30 days place it ahead of candidates sharing that date.[8][10][3][5] Its benchmark status for this ranking is “no public benchmark yet”; the position does not establish moderation accuracy.
The context length is 512 tokens.[8] FinBERT’s stated task is financial sentiment analysis, making financial-sentiment labeling its practical role within a moderation workflow.[9] Treat sentiment as an auxiliary signal, and validate any use for policy enforcement separately.
Local RAM and GPU requirements are unspecified, so a concrete hardware recommendation cannot be given. Measure memory use with representative inputs and your intended batch size before deployment. License terms also remain unspecified here; confirm them before adoption. The central caveat is task alignment: financial sentiment does not establish whether content violates a moderation policy.
6. distilbert-base-uncased-finetuned-sst-2-english
distilbert-base-uncased-finetuned-sst-2-english by distilbert ranks sixth under the newest-release-first, then-downloads ordering.[10] Its Hugging Face publication date is 2022-03-02, and it recorded 3,489,259 downloads over the last 30 days as of 2026-09-25.[10] An established pick, it has no public benchmark yet under this ranking’s benchmark criteria; download volume does not establish moderation accuracy.
The model has 67M parameters, a 512-token context window, and 0.3 GB of F32 weights, with an Apache-2.0 license.[10] For local deployment, budget memory for the weights plus runtime overhead and inference allocations. The weight footprint alone does not establish a total RAM requirement or justify a specific GPU recommendation.
Use it for English sentiment triage within a moderation workflow.[10] Validate its outputs against your own moderation labels before connecting them to enforcement. The practical caveat is task alignment: a sentiment prediction should not serve as a hate-speech or policy-violation verdict.
7. deberta-xlarge-mnli
deberta-xlarge-mnli from microsoft ranks seventh under the rule “newest release first, then downloads.” Its first Hugging Face publication date is 2022-03-02, and it recorded 242,210 downloads over the last 30 days as of 2026-09-25.[3] Among entries sharing that publication date, its download count puts it behind ProsusAI’s finbert and distilbert’s distilbert-base-uncased-finetuned-sst-2-english, but ahead of microsoft’s deberta-large-mnli.[3][8][10][5]
The model has a context length of 512 tokens and an MIT license.[3] Local hardware requirements remain unverified: a specific GPU or RAM recommendation would require a weight size and runtime memory measurements. Measure memory use with your intended input lengths and batch settings before choosing hardware.
Use the model for moderation experiments where you can evaluate outputs against your own policy labels. The central caveat is no public benchmark yet: its position reflects publication date and download counts, rather than demonstrated moderation accuracy.
8. deberta-large-mnli
deberta-large-mnli by microsoft ranks eighth under the publication-date-then-downloads ordering: its Hugging Face publication date is 2022-03-02, and its 173,058 downloads place it behind the candidates sharing that date.[5][3][8][10] The model has no public benchmark yet in this comparison, so its position does not establish relative moderation accuracy. Its inclusion reflects the allowance for older candidates when recent releases are insufficient.[5]
The model supports a context length of 512 tokens and carries an MIT license.[5] For a moderation project, treat it as a candidate for evaluation against your policy labels. Check whether its predictions support the decisions your application needs before adopting it.
A specific local GPU or RAM requirement cannot be established without a verified weight size and runtime memory measurements. Measure memory use with your intended input lengths and batch settings before choosing hardware. The practical caveat is the absence of a demonstrated moderation benchmark: validate policy accuracy before deployment.
How should you evaluate a text classifier with no public benchmark yet?
Evaluate a text classifier with no public benchmark yet against a held-out dataset labeled under your moderation policy, then measure its errors, latency and memory use on your deployment hardware. Treat “no public benchmark yet” as an evidence gap. Keep any model-card results labeled “self-reported” and separate from your own evaluation.
Build the dataset around the decisions your service must make: allow, flag for review or block. Include ordinary conversation, policy violations and ambiguous cases such as quoted abuse or sarcasm. Have reviewers resolve labeling disagreements. Keep evaluation examples separate from training and threshold tuning, and compare candidates on the same examples.
Report precision and recall for each policy category. Inspect false positives and false negatives directly, including differences across languages and writing styles relevant to your users. Choose decision thresholds around the consequences of each error, and route uncertain cases to review. A combined score should not hide failures in a consequential category.
Measure runtime memory as well as weight storage. For example, facebook’s roberta-hate-speech-dynabench-r4-target (facebook) lists F32 weights of 0.5 GB.[6] Treat that as a weight-storage figure, not a deployment-memory measurement. Record hardware, runtime, input lengths and batching alongside latency results. Check license compatibility before deployment; facebook’s fasttext-language-identification (facebook) lists CC-BY-NC-4.0.[1]
What hardware information is available for running these classifiers locally?
Available hardware information covers parameter counts, stored weight sizes and context limits, but does not establish a tested CPU, GPU or RAM configuration.[6][10][14]
facebook’s roberta-hate-speech-dynabench-r4-target (facebook) and SamLowe’s roberta-base-go_emotions (SamLowe) each have 125 million parameters, 0.5 GB of F32 weights and a context limit of 514 tokens.[6][14] Those weight sizes provide a starting point for deployment planning, but should not be treated as total runtime memory requirements.
distilbert’s distilbert-base-uncased-finetuned-sst-2-english (distilbert) has 67 million parameters, 0.3 GB of F32 weights and a context limit of 512 tokens.[10] A specific GPU or system RAM recommendation would require a runtime measurement or an explicitly labeled estimate.
Microsoft’s deberta-xlarge-mnli (microsoft) and deberta-large-mnli (microsoft) each list a context limit of 512 tokens.[3][5] ProsusAI’s finbert (ProsusAI) also lists 512 tokens,[8] while cardiffnlp’s twitter-roberta-base-sentiment-latest (cardiffnlp) lists 514 tokens.[12] Context limits describe input capacity; they do not establish how much memory a deployment needs.
For facebook’s fasttext-language-identification (facebook), no hardware sizing figure is available in this comparison.[1] Before choosing hardware for any candidate, measure memory use and throughput with your intended runtime, input lengths and batch settings. Treat the published weight sizes as planning inputs, and leave room in the deployment decision for measured runtime requirements.
Which licenses apply to these local text classifiers?
The confirmed licenses are MIT[3][5][14], Apache-2.0[10], CC-BY-4.0[12] and CC-BY-NC-4.0[1]; licensing remains unconfirmed for the hate-speech classifier and FinBERT.[6][8]
Microsoft’s deberta-xlarge-mnli (microsoft) and deberta-large-mnli (microsoft) both list MIT, as does SamLowe’s roberta-base-go_emotions (SamLowe).[3][5][14] For deployment, record the license alongside the exact repository and model revision. Keep the license text with your deployment documentation so a later model replacement gets its own review.
The distilbert organization’s distilbert-base-uncased-finetuned-sst-2-english (distilbert) lists Apache-2.0.[10] The cardiffnlp organization’s twitter-roberta-base-sentiment-latest (cardiffnlp) lists CC-BY-4.0.[12] Review the applicable terms before packaging either model into an application or distributing its weights, and document how you will satisfy the relevant obligations.
Facebook’s fasttext-language-identification (facebook) lists CC-BY-NC-4.0.[1] For a commercial moderation service, make checking that license’s noncommercial restriction an explicit deployment step. Running a classifier on your own hardware should not replace a review of its permitted uses.
Licensing remains unconfirmed for Facebook’s roberta-hate-speech-dynabench-r4-target (facebook) and ProsusAI’s finbert (ProsusAI).[6][8] Confirm the applicable terms before adopting either model. Avoid assigning a license based on another repository from the same publisher or on the model’s underlying architecture.
Frequently Asked Questions
Which text classifier ranks first for content moderation?
facebook’s fasttext-language-identification (facebook) ranks first because its Hugging Face publication date, 2023-03-06, is the newest listed [1][14]. Benchmark status: no public benchmark yet. The family has too few recent releases, so the shortlist uses the newest available candidates despite their publication dates falling outside the requested recency window [1][3][5][6][8][10][12][14]. First place reflects publication order; moderation accuracy remains unestablished by this ranking.
How are the classifiers ranked and selected?
Ranking note: no public benchmark scores any candidate, so the ordering is newest release first, then downloads. Eligibility admits only text classifiers that label text (Hugging Face pipeline tag: text-classification), from labs with a published paper or leaderboard record, or other publishers above 10,000 downloads in the last 30 days [1][8][10]; rerankers, process-reward models and embedding models are excluded. Popularity only breaks release-date ties.
Which classifiers should I compare?
The order is fasttext-language-identification (facebook) [1], SamLowe’s roberta-base-go_emotions (SamLowe) [14], facebook’s roberta-hate-speech-dynabench-r4-target (facebook) [6], cardiffnlp’s twitter-roberta-base-sentiment-latest (cardiffnlp) [12], ProsusAI’s finbert (ProsusAI) [8], distilbert’s distilbert-base-uncased-finetuned-sst-2-english (distilbert) [10], Microsoft’s deberta-xlarge-mnli (microsoft) [3], then Microsoft’s deberta-large-mnli (microsoft) [5]. Established picks are finbert (ProsusAI), distilbert-base-uncased-finetuned-sst-2-english (distilbert) and twitter-roberta-base-sentiment-latest (cardiffnlp): the shortlist’s three most-downloaded models [8][10][12]. Their recency exemption does not grant first place. The ordering does not establish comparative moderation accuracy.
Which candidate should I investigate for hate-speech detection?
For hate-speech work, examine roberta-hate-speech-dynabench-r4-target (facebook) alongside its associated paper, “Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detection” [6][7]. Benchmark status: no public benchmark yet. Before deployment, evaluate the model against your moderation policy and representative inputs. Check whether its output labels match your enforcement decisions, and measure missed violations and false alarms rather than treating publication date or downloads as detection-quality evidence.
How much memory do I need to run these classifiers locally?
Published weight sizes provide a starting point: roberta-hate-speech-dynabench-r4-target (facebook) has 125M parameters and 0.5 GB of F32 weights [6]; roberta-base-go_emotions (SamLowe) has the same parameter count and weight size [14]. distilbert-base-uncased-finetuned-sst-2-english (distilbert) has 67M parameters and 0.3 GB of F32 weights [10]. Weight size alone does not establish runtime memory requirements. Measure memory with your intended runtime, batch size and input lengths before selecting hardware.
Which licenses should I check before deploying?
fasttext-language-identification (facebook) lists cc-by-nc-4.0 [1]. roberta-base-go_emotions (SamLowe) and both Microsoft candidates list MIT [14][3][5]. distilbert-base-uncased-finetuned-sst-2-english (distilbert) lists Apache-2.0 [10], while twitter-roberta-base-sentiment-latest (cardiffnlp) lists CC-BY-4.0 [12]. Review the applicable terms against your intended deployment. Confirm licensing for finbert (ProsusAI) and roberta-hate-speech-dynabench-r4-target (facebook) before adoption, and record the license accompanying the exact model artifact you deploy.
Sources
- facebook/fasttext-language-identification model card (Hugging Face) — 2026-09-25 · fasttext-language-identification on Q4KM
- Enriching Word Vectors with Subword Information — 2016-07-15
- microsoft/deberta-xlarge-mnli model card (Hugging Face) — 2026-09-25 · deberta-xlarge-mnli on Q4KM
- DeBERTa: Decoding-enhanced BERT with Disentangled Attention — 2020-06-05
- microsoft/deberta-large-mnli model card (Hugging Face) — 2026-09-25 · deberta-large-mnli on Q4KM
- facebook/roberta-hate-speech-dynabench-r4-target model card (Hugging Face) — 2026-09-25 · roberta-hate-speech-dynabench-r4-target on Q4KM
- Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detection — 2020-12-31
- ProsusAI/finbert model card (Hugging Face) — 2026-09-25 · finbert on Q4KM
- FinBERT: Financial Sentiment Analysis with Pre-trained Language Models — 2019-08-27
- distilbert/distilbert-base-uncased-finetuned-sst-2-english model card (Hugging Face) — 2026-09-25 · distilbert-base-uncased-finetuned-sst-2-english on Q4KM
- DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter — 2019-10-02
- cardiffnlp/twitter-roberta-base-sentiment-latest model card (Hugging Face) — 2026-09-25 · twitter-roberta-base-sentiment-latest on Q4KM
- TimeLMs: Diachronic Language Models from Twitter — 2022-02-08
- SamLowe/roberta-base-go_emotions model card (Hugging Face) — 2026-09-25 · roberta-base-go_emotions on Q4KM