Quick Answer
As of September 2026, fasttext-language-identification from facebook is the top pick because it has the newest Hugging Face publication date among the eligible candidates; too few recent releases are available, so the newest available models are included, all with no public benchmark yet and no established Raspberry Pi performance comparison [1][3][5][6]. In order, the ranking is fasttext-language-identification (facebook), roberta-hate-speech-dynabench-r4-target (facebook), deberta-xlarge-mnli (microsoft), and deberta-large-mnli (microsoft) [1][3].
Key Takeaways
- Ranking note: scope admits only text classifiers that label text, carry Hugging Face’s text-classification tag, and come from labs with a published paper or leaderboard record; rerankers, process-reward models and embedding models are excluded.[2][4][7] Too few releases qualify within the last 12 months, so the newest available candidates are listed.[1][3][5][6]
- Ranking note: no public benchmark scores any candidate, so the order is newest release first, then downloads.[1][3][5][6] The established picks are facebook’s fasttext-language-identification (facebook), Microsoft’s deberta-xlarge-mnli (microsoft) and Microsoft’s deberta-large-mnli (microsoft); their recency exemption does not confer first place.[1][3][5]
- fasttext-language-identification (facebook) ranks first because its Hugging Face publication date, March 6, 2023, is the newest among these candidates.[1][3][5][6] License: CC-BY-NC-4.0; no public benchmark yet, and Raspberry Pi memory requirements remain unquantified.[1]
- facebook’s roberta-hate-speech-dynabench-r4-target (facebook) ranks second, with a June 10, 2022 publication date and a context length of 514 tokens.[6] For 125M parameters, 4-bit weight memory is 62.5 MB, estimated (params x 0.5 bytes); that calculation does not establish runtime RAM requirements or Raspberry Pi fit.[6] No public benchmark yet.[6]
- deberta-xlarge-mnli (microsoft) ranks third: its March 2, 2022 publication date ties the following model, while 242,210 downloads place it ahead of 173,058 over the reporting window.[3][5] Context: 512 tokens; license: MIT; no public benchmark yet.[3]
- deberta-large-mnli (microsoft) ranks fourth, with a context length of 512 tokens and an MIT license.[5] No public benchmark yet; neither Microsoft entry has a quantified Raspberry Pi memory requirement here, so this ordering does not establish suitability for your board.[3][5]
How do these text classifiers compare on memory, context, licensing, and published benchmarks?
| Model | Org | Params | Quant/VRAM | Released (date) | License | Key benchmark (date) |
|---|---|---|---|---|---|---|
| facebook/fasttext-language-identification | — | — | 2023-03-06 [1] | CC-BY-NC-4.0 [1] | no public benchmark yet | |
| facebook/roberta-hate-speech-dynabench-r4-target | 125M [6] | 4-bit weights: 62.5 MB, estimated (params x 0.5 bytes) from 125M parameters [6] | 2022-06-10 [6] | — | no public benchmark yet | |
| microsoft/deberta-xlarge-mnli | microsoft | — | — | 2022-03-02 [3] | MIT [3] | no public benchmark yet |
| microsoft/deberta-large-mnli | microsoft | — | — | 2022-03-02 [5] | MIT [5] | no public benchmark yet |
Which text classification models should you consider for Raspberry Pi?
1. fasttext-language-identification
fasttext-language-identification by facebook ranks first because its Hugging Face publication date is newer than those of the other eligible candidates, rather than because of demonstrated Raspberry Pi performance.[1][3][5][6] Published on March 6, 2023, the model has 319,635 downloads over the preceding 30 days as of September 25, 2026.[1] Its use case is language identification: assigning a language label to text.[1] Benchmark status: no public benchmark yet.
The license is CC-BY-NC-4.0, making its noncommercial restriction a practical caveat when considering deployment.[1] Parameter count, context length, quantized weight memory and Raspberry Pi runtime measurements are not established for this entry. A specific board or RAM capacity therefore cannot be recommended with confidence. Before committing hardware, verify local runtime compatibility, peak memory consumption and latency with representative text. Language identification is the relevant task; the ranking does not establish suitability for other classification labels.
Ranking note: the eligible family has too few recent releases, so the newest available entries are included.[1][3][5][6] With no public benchmark scoring any candidate, the ordering is newest release first, then downloads.[1][3][5][6] The established picks are facebook’s fasttext-language-identification and microsoft’s deberta-xlarge-mnli and deberta-large-mnli; their download exemption does not determine the winner.[1][3][5] Scope admits only text classifiers that label text, tagged text-classification on Hugging Face, from labs with a published paper or leaderboard record; rerankers, process-reward models and embedding models are excluded.
2. roberta-hate-speech-dynabench-r4-target
roberta-hate-speech-dynabench-r4-target by facebook ranks second under the ordering rule: newest release first, then downloads.[1][3][5][6] Its first publication on Hugging Face was June 10, 2022, placing it behind facebook’s fasttext-language-identification and ahead of Microsoft’s deberta-xlarge-mnli and deberta-large-mnli.[1][3][5][6] The shortlist uses older releases because too few recent candidates qualify; placement does not establish superior classification accuracy. Benchmark status: no public benchmark yet.
The model has 125 million parameters, a context length of 514 tokens and F32 weights occupying 0.5 GB.[6] A 4-bit weights footprint of 62.5 MB is estimated (params x 0.5 bytes) from that parameter count.[6] Quantized runtime compatibility and total memory consumption on Raspberry Pi remain unverified. Choose hardware only after checking the intended runtime’s requirements: the weights estimate alone cannot establish a minimum RAM configuration or usable inference speed.
Hate-speech detection is the appropriate use case, matching the accompanying paper, “Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detection.”[7] Treat the model as a candidate for a narrowly defined moderation task. Evaluate its decisions on representative text before deployment, and confirm licensing terms. The practical caveat is the absence of a public benchmark establishing its accuracy or performance on Raspberry Pi.
3. deberta-xlarge-mnli
deberta-xlarge-mnli from microsoft ranks third under the ordering rule: newest release first, then downloads.[1][3][6] Its first publication on Hugging Face was March 2, 2022, placing it behind the facebook entries.[1][3][6] It precedes microsoft’s deberta-large-mnli because their publication dates match, while their downloads over the last 30 days were 242,210 and 173,058 respectively, as of September 25, 2026.[3][5] The position reflects release timing and adoption; no public benchmark yet establishes its comparative classification performance.
The model has a context length of 512 tokens and an MIT license.[3] Its architecture is described in microsoft’s paper “DeBERTa: Decoding-enhanced BERT with Disentangled Attention.”[4] Consider it for a local classification workflow with short inputs where the MIT license meets your deployment requirements. Keep each input within the documented context limit, and evaluate predictions on examples from your intended task before selecting the model.[3]
Raspberry Pi deployment remains conditional on memory validation. A quantized weight size and total runtime RAM requirement are not established, so a specific board configuration cannot be recommended confidently. Check the intended runtime’s model support, then measure loading and inference memory on your target hardware. The practical caveat is that its ranking does not establish Raspberry Pi fit, speed or accuracy.
4. deberta-large-mnli
deberta-large-mnli by microsoft ranks fourth because its Hugging Face publication date matches microsoft’s deberta-xlarge-mnli, while its download count is lower: both appeared on March 2, 2022, with 173,058 versus 242,210 downloads over the last 30 days as of September 25, 2026.[3][5] The ordering basis is “newest release first, then downloads”; no public benchmark yet establishes a performance advantage. The shortlist uses the newest available entries because the candidates fall outside the requested recent-release window.[1][3][5][6]
The ranking admits only text classifiers that label text, tagged text-classification on Hugging Face, from labs with a published paper or leaderboard record; rerankers, process-reward models and embedding models are excluded. deberta-large-mnli has a context length of 512 tokens and an MIT license.[5] Microsoft’s associated paper is “DeBERTa: Decoding-enhanced BERT with Disentangled Attention.”[4] Consider the model for a classification workflow whose inputs stay within that context limit and whose deployment requirements favor the MIT license.[5]
Raspberry Pi deployment needs a separate hardware check: a supported RAM requirement cannot be established from the specifications available for this entry. A quantized weight-memory estimate also requires a parameter count, which is not provided. Before committing a board, verify runtime compatibility and measure peak memory and latency with representative inputs. The caveat is practical: ranking position does not establish classification accuracy or usable Raspberry Pi performance.
How can you estimate text classifier weight memory from parameter counts?
Estimate text classifier weight memory by multiplying the parameter count by the assumed storage per parameter: for 4-bit weights, use estimated (params x 0.5 bytes), as illustrated by facebook’s roberta-hate-speech-dynabench-r4-target (facebook) and its 125 million parameters.[6] Keep the result separate from any claim about total RAM needed to run the classifier.
For roberta-hate-speech-dynabench-r4-target (facebook), the calculation gives 62.5 MB of weight memory, estimated (params x 0.5 bytes) from the cited 125 million parameters.[6] The model card lists F32 weights at 0.5 GB; that is a different storage format from the hypothetical 4-bit estimate.[6] The calculation does not establish that a compatible quantized download exists or that a Raspberry Pi runtime can execute it.
Use the estimate as a starting point for a memory budget. Allow separately for the operating system, inference runtime, quantization metadata and working memory. Verify the actual model format and measure peak RAM with your intended input length and batch settings before claiming that a model fits.
Avoid assigning weight-memory figures when a parameter count is unavailable. Likewise, leave Raspberry Pi performance unclaimed until a published measurement or an explicitly identified local test supports it. Weight storage alone cannot establish classification quality, inference speed or practical device suitability.
Which text classifier licenses suit your intended use?
Microsoft’s deberta-xlarge-mnli (microsoft) and deberta-large-mnli (microsoft) suit a requirement for MIT-licensed models,[3][5] while facebook’s fasttext-language-identification (facebook) uses Creative Commons Attribution–NonCommercial 4.0 (CC BY-NC 4.0).[1] Start with that distinction when choosing a classifier for your Raspberry Pi project.
For either Microsoft model, review the MIT terms against your intended deployment and distribution arrangements.[3][5] Record the license alongside the model identifier in your project documentation. Choose between those candidates on task suitability after completing that check; their stated license is the same.[3][5]
For facebook’s language identification model, make the noncommercial condition an explicit part of your review.[1] Describe whether the classifier will support a personal experiment, an internal business workflow or a product you distribute. For a proposed commercial deployment, resolve permission before committing engineering time. Running the classifier locally should be a deployment decision, not your justification for license compatibility.
Confirm the license for facebook’s roberta-hate-speech-dynabench-r4-target (facebook) before approving it for use. Keep that decision separate from its technical evaluation. Your deployment checklist should identify the exact model, intended use, applicable terms and any permissions you need to obtain.
Why does this ranking include older releases, and how are models ordered without public benchmarks?
Older releases appear because too few recent eligible releases are available; the ranking therefore includes the newest available candidates and orders them by publication date, with downloads breaking date ties.[1][3][5][6]
The ranking admits only text classifiers that label a text, carry Hugging Face’s text-classification pipeline tag, and come from labs with a published paper or leaderboard record; rerankers, process-reward models and embedding models are excluded. No public benchmark scores any candidate, so the ordering is exactly: newest release first, then downloads. Each entry is marked “no public benchmark yet”; any model-card benchmark would be described as “self-reported.”
The order is Facebook’s fasttext-language-identification (facebook), Facebook’s roberta-hate-speech-dynabench-r4-target (facebook), Microsoft’s deberta-xlarge-mnli (microsoft), then Microsoft’s deberta-large-mnli (microsoft).[1][6][3][5] Facebook’s fasttext-language-identification (facebook) takes the first position because its Hugging Face publication date is newer than those of the other eligible candidates.[1][6][3][5] The Microsoft models share a publication date, so their download counts determine their relative positions.[3][5]
The established picks—the most-downloaded eligible models, fasttext-language-identification (facebook), deberta-xlarge-mnli (microsoft) and deberta-large-mnli (microsoft)—may bypass the recency gate, but follow the same ordering rule.[1][3][5] An exemption alone cannot confer the first position. Downloads serve only as a tiebreak, and a benchmark may compare only models evaluated on that leaderboard; an older scored model cannot displace a newer unscored model. The resulting order does not establish classification accuracy, Raspberry Pi runtime performance or memory fit.
Frequently Asked Questions
Which text classification model ranks first for Raspberry Pi?
Facebook’s fasttext-language-identification (facebook) ranks first because it has the newest listed Hugging Face publication date.[1][3][5][6] Ranking note: newest release first, then downloads. The order is fasttext-language-identification (facebook), Facebook’s roberta-hate-speech-dynabench-r4-target (facebook), Microsoft’s deberta-xlarge-mnli (microsoft) and Microsoft’s deberta-large-mnli (microsoft).[1][6][3][5] Scope: this ranking admits only text classifiers that label text, with the Hugging Face text-classification pipeline tag, from labs with a published paper or leaderboard record; rerankers, process-reward models and embedding models are excluded.
Why does the ranking include older models?
The family has too few recent releases, so the newest available candidates are listed. Their Hugging Face publication dates fall outside the requested release window.[1][3][5][6] Ranking note: fasttext-language-identification (facebook), deberta-xlarge-mnli (microsoft) and deberta-large-mnli (microsoft) are also the established picks, identified by their higher download counts.[1][3][5][6] Established picks bypass the recency gate but follow the same ordering rule; that exemption alone cannot earn first place.
How much memory would quantized weights need?
For roberta-hate-speech-dynabench-r4-target (facebook), the cited 125M parameters imply 62.5 MB of weight storage at 4-bit, estimated (params x 0.5 bytes).[6] Published F32 weights occupy 0.5 GB.[6] The estimate covers weights alone and does not establish Raspberry Pi runtime memory or available quantization support. Parameter counts needed for equivalent estimates are unspecified for the remaining candidates, so their memory requirements remain unquantified.
Which models have a documented context length?
Microsoft’s deberta-xlarge-mnli (microsoft) and deberta-large-mnli (microsoft) each document a context length of 512 tokens.[3][5] Facebook’s roberta-hate-speech-dynabench-r4-target (facebook) documents 514 tokens.[6] A context limit is unspecified for fasttext-language-identification (facebook). For document classification, check tokenized input length before choosing a candidate, and define how your application will handle text beyond the documented limit. Context length alone does not establish classification quality or Raspberry Pi performance.
Which licenses should I check before deployment?
Microsoft’s deberta-xlarge-mnli (microsoft) and deberta-large-mnli (microsoft) carry the MIT license.[3][5] Facebook’s fasttext-language-identification (facebook) carries cc-by-nc-4.0.[1] Check those license terms against your intended deployment before selecting a model. Confirm the license for roberta-hate-speech-dynabench-r4-target (facebook) separately; no license determination is included in this ranking. License information also does not establish whether a model will meet your Raspberry Pi memory or latency requirements.
Does the ranking prove which model runs fastest on Raspberry Pi?
No public benchmark scores these candidates against each other; each is marked “no public benchmark yet.” The ranking therefore uses publication dates, then downloads, rather than measured Raspberry Pi speed.[1][3][5][6] No Raspberry Pi latency or throughput results are established here. Before deployment, measure classification quality, runtime memory and latency on your target device using representative inputs. Any model-card benchmark should be labeled self-reported.
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