All models
    Specialist · Diacritic restoration

    The DiacNet family

    Three ways to put the marks back in 11 languages, Arabic included: two generative models at two sizes, and a character tagger that can never change your letters.

    / The lineup

    3 models, one interface

    DIACRITICSMOST ACCURATE

    diacnet-2.0

    Put the accents and tone marks back, in 11 languages.

    11
    Languages
    0.0117
    Mean error rate
    2.5×
    Lower Yorùbá error than 1.1
    582M
    Parameters
    Best for
    • Publishing-quality restoration in Yorùbá and the European languages, where accuracy matters most.
    • Text with ambiguous words, where a meaning hint settles the right marks.
    • Messy input where you also want typos corrected along the way.
    DIACRITICS

    diacnet-mini-2.0

    diacnet-2.0’s features at half the size.

    11
    Languages
    0.0141
    Mean error rate
    2.1×
    Lower Yorùbá error than 1.1
    300M
    Parameters
    Best for
    • Large backlogs and busy products where serving cost matters.
    • Polish, Portuguese, Spanish, French and Italian, where it outperforms diactag-2.0.
    • Teams who want diacnet-2.0’s features on smaller GPUs.
    DIACRITICS

    diactag-2.0

    Diacritics that can never change your letters.

    11
    Languages
    1.0000
    Letter safety, by design
    ~8 ms
    Per sentence on a laptop CPU
    37.9M
    Parameters
    Best for
    • Records, legal text and archives, where letters must never change.
    • CPU-only and on-device serving through the int8 ONNX export.
    • Modern Standard Arabic, Igbo and Vietnamese, its strongest languages.
    / Side by side

    Compare the DiacNet models

    diacnet-2.0 →diacnet-mini-2.0 →diactag-2.0 →
    Parameters582M300M37.9M
    How it worksRewrites the textRewrites the textTags each character
    Mean error rate, 10 languages0.01170.01410.0130
    Yorùbá error rate0.06980.08150.0787
    Strongest onYorùbá and European languagesClose to 2.0 at half the sizeIgbo, Vietnamese, Modern Standard Arabic
    ExtrasMeaning hints, typo correctionMeaning hints, typo correctionCPU-ready ONNX, never alters letters
    / Choosing

    Which one should you use?

    • Best diacritic accuracy, Yorùbá and European languagesdiacnet-2.0 →

      Lowest error on 8 of 10 languages (mean DER 0.0117). Meaning hints and optional typo correction.

    • Generative diacritics on a smaller budgetdiacnet-mini-2.0 →

      Same features at 300M, half the size, mean DER 0.0141.

    • Diacritics that can never change a letter, on CPUdiactag-2.0 →

      Character tagger: compliance 1.0000 by construction. 38.6 MB int8 ONNX, about 8 ms a sentence on a laptop CPU. Strongest on Igbo, Vietnamese and Modern Standard Arabic.