Quick Answer
fastText Language Identification (facebook) is the top pick as of September 2026 because it has the newest listed release; too few recent releases means the newest available candidates are included, each has no public benchmark yet, and the ordering is newest release first, then downloads [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: no public benchmark scores any candidate, so the rule gives: newest release first, then downloads.[1][3][5][6] Too few recent releases qualify, so the newest available are listed.[1][3][5][6] Established picks marked below are the three most-downloaded candidates; they bypass the recency gate, follow the same ordering and cannot take first place through that exemption.[1][3][5][6]
- Scope: admission is limited to text classifiers that label 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.[1][2][3][4][5][6][7]
- First: fastText Language Identification by facebook—an established pick—ranks first because its Hugging Face publication date, 2023-03-06, is the newest among the listed candidates.[1][3][5][6] License: CC-BY-NC-4.0; no public benchmark yet.[1]
- Second: RoBERTa Hate Speech Dynabench R4 Target by facebook, published on Hugging Face on 2022-06-10, has 125M parameters and a context length of 514 tokens.[6] Weight memory at 4-bit is 62.5 MB, estimated (params x 0.5 bytes); no public benchmark yet.[6]
- Third: DeBERTa XLarge MNLI by microsoft—an established pick—has a context length of 512 tokens and an MIT license; no public benchmark yet.[3] Its publication date matches DeBERTa Large MNLI’s, so downloads determine their order: 242,210 versus 173,058 over the last 30 days as of 2026-09-25.[3][5]
- Fourth: DeBERTa Large MNLI by microsoft—an established pick—has a context length of 512 tokens and an MIT license; no public benchmark yet.[5] The available specifications do not establish its quantized memory requirement or an edge-device performance advantage.[5]
How do local text classifiers compare on memory, context, licensing, and benchmarks?
| Model | Org | Params | Quant/VRAM | Released (date) | License | Key benchmark (date) |
|---|---|---|---|---|---|---|
| fastText Language Identification | — | — | 2023-03-06 [1] | cc-by-nc-4.0 [1] | no public benchmark yet | |
| RoBERTa Hate Speech Dynabench R4 Target | 125M [6] | 4-bit weights: 62.5 MB estimated (125M params x 0.5 bytes) [6]; VRAM: not published | 2022-06-10 [6] | — | no public benchmark yet | |
| DeBERTa XLarge MNLI | microsoft | — | — | 2022-03-02 [3] | MIT [3] | no public benchmark yet |
| DeBERTa Large MNLI | microsoft | — | — | 2022-03-02 [5] | MIT [5] | no public benchmark yet |
Which text classification models should you consider for edge devices?
1. fastText Language Identification
fastText Language Identification by facebook ranks first because its Hugging Face publication date, March 6, 2023, is newer than those of the other candidates.[1][3][5][6] The eligible set has too few releases within the requested recent-release window, so the newest available candidates are listed.[1][3][5][6] Its benchmark status is “no public benchmark yet”; the placement does not establish superior classification accuracy or edge-device performance.
The practical use is language identification: assigning a language label to text.[1] The license is CC-BY-NC-4.0, whose noncommercial restriction is a caveat for commercial deployment.[1] Local hardware requirements remain unverified: no parameter count, context limit or runtime memory figure is specified for this entry. Consequently, a quantized weight-memory estimate or a specific RAM or GPU recommendation would be unsupported. Engineers should establish those requirements on their intended hardware before choosing it for deployment.
Ranking note: no public benchmark scores any candidate, so the ordering is newest release first, then downloads. The ranking admits only text classifiers that label 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. The established picks are facebook’s fastText Language Identification and Microsoft’s microsoft/deberta-xlarge-mnli and microsoft/deberta-large-mnli, based on downloads; their exemption does not confer first place.[1][3][5][6]
2. RoBERTa Hate Speech Dynabench R4 Target
RoBERTa Hate Speech Dynabench R4 Target by facebook ranks second because its first Hugging Face publication falls between the language-identification model and the DeBERTa candidates.[1][3][5][6] The ordering basis is newest release first, then downloads; no public benchmark scores any candidate. Recent releases are too sparse, so the newest available candidates are listed. 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.
The model has 125 million parameters, a context length of 514 tokens and F32 weights occupying 0.5 GB.[6] Its first Hugging Face publication was June 10, 2022.[6] For local hardware planning, hypothetical 4-bit weights would occupy 62.5 MB, estimated (params x 0.5 bytes) from the cited 125 million parameters.[6] That calculation covers weights alone; it does not establish total RAM requirements or confirm that a particular edge device can run a quantized version.
Hate-speech labeling is the intended use, supported by the accompanying paper, “Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detection.”[7] The practical caveat is evaluation: no public benchmark yet. Its ranking position therefore reflects publication order, without establishing comparative accuracy or edge-device speed. Validate classification quality and runtime memory on your intended device before selecting it for deployment.
3. DeBERTa XLarge MNLI
DeBERTa XLarge MNLI by microsoft ranks third under the ordering rule: newest release first, then downloads.[1][3][5][6] Its Hugging Face publication date is March 2, 2022, behind both facebook entries.[1][3][6] DeBERTa XLarge MNLI precedes microsoft’s DeBERTa Large MNLI because their publication dates match, while their monthly downloads are 242,210 and 173,058 respectively.[3][5] Download counts break that tie; they do not establish classification quality. DeBERTa XLarge MNLI has no public benchmark yet.
The model supports a context length of 512 tokens and carries an MIT license.[3] Consider it for local text-classification workflows where that input limit is sufficient and MIT licensing suits the project.[3] The architecture is documented in microsoft’s “DeBERTa: Decoding-enhanced BERT with Disentangled Attention.”[4] Its practical appeal here is the combination of a documented context limit and license, rather than a demonstrated advantage in accuracy or edge-device performance.[3]
Local hardware requirements remain unverified. A defensible 4-bit weight-memory estimate requires a parameter count, which is unavailable here; a specific RAM capacity or GPU recommendation would therefore be speculative. Before deployment, verify runtime compatibility, peak memory consumption and latency on the intended device. The caveat is straightforward: this ranking position does not establish that the model fits your hardware or meets your application’s classification requirements.
4. DeBERTa Large MNLI
DeBERTa Large MNLI from microsoft ranks fourth under the ordering rule: newest release first, then downloads.[1][3][5][6] The selection uses the newest available candidates because recent releases are too few. An established pick eligible for the recency exemption, DeBERTa Large MNLI shares its Hugging Face publication date of 2022-03-02 with microsoft’s DeBERTa XLarge MNLI.[3][5] The tie resolves on downloads: 173,058 versus 242,210 over the preceding 30 days, as of 2026-09-25.[3][5]
DeBERTa Large MNLI provides a context length of 512 tokens and an MIT license.[5] Consider it for local text-labeling workflows where inputs fit that context limit and MIT licensing meets your project’s requirements.[5] The architecture is described in “DeBERTa: Decoding-enhanced BERT with Disentangled Attention.”[4] Benchmark status: no public benchmark yet. Its position therefore reflects publication date and download activity, rather than demonstrated classification accuracy or measured performance on an edge device.
Hardware sizing remains unresolved: no parameter count or weight footprint is supplied for this checkpoint, so a defensible quantized-memory estimate or minimum RAM requirement cannot be given. Before choosing an edge device, measure memory use and latency with your intended runtime and representative inputs. The practical caveat is deployment uncertainty: neither a specific GPU recommendation nor a claim that the model fits your device is justified here.
How can you estimate memory requirements for local text classification?
Estimate memory requirements by multiplying the parameter count by the intended storage per parameter, then budget separately for the runtime and inference workload.
Facebook’s facebook/roberta-hate-speech-dynabench-r4-target has 125 million parameters: its weight storage at 4-bit precision is 62.5 MB, estimated (params x 0.5 bytes).[6] Treat that calculation as a weight-storage estimate, not a complete RAM requirement or confirmation that a compatible quantized build exists. The published F32 weights occupy 0.5 GB.[6] Use the footprint of the format you actually intend to load when planning deployment.
Reserve additional memory for runtime allocations, input processing and intermediate computation. Validate the budget with your intended inference engine, input length and batch configuration. Measure peak memory during loading and classification before deciding whether the deployment fits your device.
Context length also deserves a separate check. Microsoft’s microsoft/deberta-xlarge-mnli and Microsoft’s microsoft/deberta-large-mnli each specify 512 tokens.[3][5] Facebook’s classifier specifies 514 tokens.[6] Those limits describe input capacity; do not use them as substitutes for parameter counts or measured memory consumption.
For a practical comparison, record the weight format, estimated weight storage, configured input length and measured peak memory together. Keep estimates visibly separate from measurements, and avoid assigning a device compatibility claim from weight storage alone.
Which text classifier licenses allow commercial use?
Microsoft’s microsoft/deberta-xlarge-mnli and microsoft/deberta-large-mnli allow commercial use under the MIT license; Facebook’s facebook/fasttext-language-identification uses CC BY-NC 4.0, which does not grant commercial-use rights.[3][5][1]
For a commercial deployment, either Microsoft classifier is an eligible choice on licensing grounds.[3][5] The shared MIT license means licensing does not distinguish between those candidates.[3][5] Choose between them based on your application’s requirements, then verify the selected repository’s license before distributing a product.
Facebook’s facebook/fasttext-language-identification requires a different decision: its noncommercial license does not become commercially permissive because inference runs locally.[1] Treat commercial use as requiring separate permission rather than assuming that downloadable weights authorize deployment in a paid product or service.
Facebook’s facebook/roberta-hate-speech-dynabench-r4-target has no verified commercial-use permission in this comparison. Keep its licensing status unresolved until you confirm an applicable license or obtain permission from the rights holder. Do not infer permission from another Facebook model’s terms.
For procurement, separate the license decision from the hardware decision. MIT provides a commercial-use path for the Microsoft candidates,[3][5] but license eligibility alone does not establish whether either model meets your device’s memory, latency or classification requirements.
Are public benchmarks available for these text classifiers?
No public benchmark scores any of these text classifiers against one another, so each carries the status “no public benchmark yet.” A benchmark-based performance winner cannot be named from the available results. Model-card benchmark results, when discussed, must be labeled “self-reported” and kept separate from shared leaderboard comparisons.
Ranking note: the ordering is newest release first, then downloads. Facebook’s facebook/fasttext-language-identification takes the first position because its Hugging Face publication date is later than those of the other candidates, not because of demonstrated classification performance.[1][3][5][6] Facebook’s facebook/roberta-hate-speech-dynabench-r4-target follows, ahead of Microsoft’s microsoft/deberta-xlarge-mnli and Microsoft’s microsoft/deberta-large-mnli.[3][5][6] The Microsoft models share a publication date; higher downloads place microsoft/deberta-xlarge-mnli ahead.[3][5]
The family has too few recent releases, so the newest available candidates are listed; their Hugging Face publication dates fall outside the requested twelve-month window.[1][3][5][6] The established picks—the three most-downloaded candidates—are facebook/fasttext-language-identification, microsoft/deberta-xlarge-mnli and microsoft/deberta-large-mnli.[1][3][5][6] Their exemption permits inclusion, but cannot itself award the first position. Scope admits only text classifiers that label text, with Hugging Face’s text-classification pipeline tag, from labs with a published paper or leaderboard record; rerankers, process-reward models and embedding models are excluded.
For an edge deployment, treat this order as a shortlist for evaluation. The missing shared scores leave classification quality unresolved, and the supplied specifications do not establish runtime memory or latency on your hardware. Evaluate candidates against your intended labels and representative inputs before choosing a deployment model.
Frequently Asked Questions
Which text classifier ranks first for edge devices?
facebook’s facebook/fasttext-language-identification ranks first because its Hugging Face publication date is newer than those of the other admitted candidates.[1][3][5][6] Ranking note: newest release first, then downloads. The remaining order is facebook’s facebook/roberta-hate-speech-dynabench-r4-target,[6] Microsoft’s microsoft/deberta-xlarge-mnli,[3] and Microsoft’s microsoft/deberta-large-mnli.[5] The Microsoft models share a publication date, so downloads settle their order.[3][5] Placement does not establish better classification accuracy or edge performance.
Are the ranked models recent releases?
The candidates fall outside the requested recent-release window; eligible releases are too few, so the newest available are included.[1][3][5][6] Ranking note: admission covers only text classifiers that label text, tagged text-classification, from labs with a published paper or leaderboard record; rerankers, process-reward models and embedding models are excluded. Established picks—facebook/fasttext-language-identification, microsoft/deberta-xlarge-mnli and microsoft/deberta-large-mnli—qualify through downloads and bypass the recency gate, but follow the same ordering rule; exemption alone cannot secure first place.[1][3][5][6]
How much memory would quantized weights need?
For facebook/roberta-hate-speech-dynabench-r4-target, weight storage would be 62.5 MB, estimated (params x 0.5 bytes), from the cited 125M parameters.[6] Published F32 weights occupy 0.5 GB.[6] The calculation covers weight storage alone and does not establish runtime RAM requirements, quantization compatibility or device fit. Measure memory with your intended runtime before committing to hardware.
Which models can handle longer text inputs?
Microsoft’s microsoft/deberta-xlarge-mnli and microsoft/deberta-large-mnli each list a context length of 512 tokens.[3][5] facebook/roberta-hate-speech-dynabench-r4-target lists 514 tokens.[6] Those limits do not establish classification quality on long documents. Check how your deployment handles inputs beyond the configured limit, and evaluate whether truncating or splitting a document preserves the information needed to assign its label.
What licenses do the classifiers use?
facebook/fasttext-language-identification lists cc-by-nc-4.0.[1] Microsoft’s microsoft/deberta-xlarge-mnli and microsoft/deberta-large-mnli list MIT.[3][5] Treat licensing as a deployment requirement alongside memory and input length. Review the applicable terms for your intended use, and confirm the license for facebook/roberta-hate-speech-dynabench-r4-target before adopting it. Local execution alone should not be treated as permission for a particular use.
Do public benchmarks show which classifier performs better?
The benchmark status for every candidate is “no public benchmark yet”; no public leaderboard scores these candidates against one another. Publication dates and downloads therefore determine the stated order.[1][3][5][6] The ranking establishes neither an accuracy advantage nor a latency advantage. Evaluate candidates on your own labeled text and target device before making a deployment decision.
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