SSyncDev

LIDstral Arabic

SyncDev model directory · Profile updated Nov 18, 2026

Compare with another model

LIDstral Arabic is Mistral's open Apache-2.0 CPU classifier that tells Arabic dialects, MSA and other Arabic-script languages apart, across 51 classes.

Key specifications

Specification score
4.8
License
Apache-2.0

The specification score summarizes recorded features and limits. It is not a benchmark result.

Pricing conditions: Open model files; runs on CPU with no usage fee.

Inputs and outputs

Recorded modality support shows what this model can accept and produce. An undocumented modality is shown as unknown rather than assumed to be unsupported.

Accepts

  • Text input

Produces

  • Text output

Capabilities

Open weights

What is LIDstral Arabic?

Text in Arabic script is not necessarily Arabic. Persian, Urdu, Pashto and others share the alphabet, and within Arabic the gap between Moroccan Darija and Gulf dialects is wide. LIDstral Arabic labels Arabic-script text by language and dialect, so the right downstream model, translator or moderator gets the right input.

It is deliberately not a neural network giant. It runs on CPU.

Three stages

  1. A fastText one-vs-all classifier scores every class independently, so evidence for competing labels survives.
  2. A 64-unit MLP with layer norm turns those scores into probabilities, using 144 features: raw scores, prior corrections, confidence margins, entropy and regional summaries.
  3. Per-class isotonic regressors calibrate the probabilities, after which they are renormalised. Calibration can change the winning label as well as the confidence.

All three files must sit together: lid_ova_full.bin, mlp_stacker_ln.pt and isotonic_calibration.pkl.

How well it does

Mistral evaluated on 84,870 Arabic examples drawn from NADI, MADAR, QADI, Casablanca, FLEURS and other sets. On Moroccan Darija it reports 88.67% F1, against 72.65% for the strongest baseline it tested on that dialect and 71.28% for GlotLID v3. Those are publisher results.

Using it

  • classify.py handles preprocessing and features on CPU.
  • Inputs: a string, a JSONL file with a text field, or standard input.
  • Output: label, confidence and probabilities over all 51 classes.
  • Preprocessing strips web and ASR artefacts, diacritics, elongation and repeated punctuation, but keeps alef variants.
  • Licence: Apache-2.0, released 8 October 2026.

One rule to remember: it always assigns one of its 51 classes. Unsupported languages and heavily mixed text will still get a label, so threshold on confidence.

Testing it on your traffic

Sample a thousand messages from your real inbound stream and have native speakers tag a hundred. Compare labels, then set a confidence floor below which messages go to a generic path. Pair it with Voxtral Mini 4B Realtime Arabic for speech. More classifiers live under text classification.

How to evaluate LIDstral Arabic

Compare the model on the work you need to complete.

Tasks and inputs

LIDstral Arabic is listed for Language & text, Text classification. It accepts text and produces text. Use the publisher’s input format and preprocessing for your chosen deployment.

Capacity and cost

Measure a completed task using the prompts, documents and tools your application will use. Include reasoning and retries in the result.

Choosing a deployment

The weights are downloadable under Apache-2.0. Check runtime support and size the complete model and working context for your expected concurrency.

Frequently asked questions

Arabic-script text into Modern Standard Arabic, Arabic dialects or non-Arabic languages that share the script, across 51 classes.

These records share a directory category. Check the source card, output type and deployment requirements before treating a model as a replacement.

Microsoft

Sentiment-Analysis-7B

Sentiment-Analysis-7B is Microsoft's open 7B classifier that labels customer messages about a product or agent as Negative, Neutral or Positive.

— context

BAAI

BAAI/bge-reranker-base

BAAI/bge-reranker-base is a source-linked Hugging Face repository assigned to Text classification. Its recorded task interface accepts text and produces label.

— context

boboliu

boboliu/Qwen3-Reranker-4B-W4A16-G128

boboliu/Qwen3-Reranker-4B-W4A16-G128 is a source-linked Hugging Face repository assigned to Text classification. Its recorded task interface accepts text and produces label.

— context