File size: 3,314 Bytes
9c728d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
license: bsd-3-clause
language: ar
inference: false
tags:
  - secryst
  - transliteration
  - diacritization
  - onnx
  - byt5
---

# ara-diac-plane-large-1.0

Part of the [Secryst](https://secryst.github.io) phonological-layer family — a dedicated model for **diacritization** (AR), distributed as a Secryst IMF artifact and loadable through any Secryst crystal:

```python
from secryst import Model
Model.load("ara-diac-plane-large-1.0")
```

- Artifact: `ara-diac-plane-large-1.0.zip` (0.81 GiB)

## Measured quality

Full evaluation sets, zero skipped examples, the benchmark's own evaluator. Provenance for every number is the results record of the training project.

| metric | value | provenance |
|---|---|---|
| der_total_greedy | 2.7397 | interscript/interscript-ml docs/RESULTS.md#run-019-epoch-2--27397-second-epoch-closes-a-third-of-the-gap-sota-gate-still-open-2026-10-05 |
| der_morph_greedy | 1.6717 | interscript/interscript-ml docs/RESULTS.md#run-019-epoch-2--27397-second-epoch-closes-a-third-of-the-gap-sota-gate-still-open-2026-10-05 |
| wer_total_greedy | 8.6083 | interscript/interscript-ml docs/RESULTS.md#run-019-epoch-2--27397-second-epoch-closes-a-third-of-the-gap-sota-gate-still-open-2026-10-05 |

## Benchmark

Full-set SadeedDiac-25 — 1,200 paragraphs, zero skipped, greedy decode
(protocol-matched, Misraj's evaluator):

| model | Total DER | notes |
|---|---|---|
| ara-diac-2.0 (teacher, 580M seq2seq) | 2.29% | best dedicated |
| **ara-diac-plane-large-1.0 (this model)** | **2.74%** | **866 MB int8** |
| Gemini-Flash-2.0 (frontier LLM) | 3.19% | |
| ara-diac-plane-1.0 (plane small) | 3.59% | 219 MB int8 |
| ara-diac-small-2.1 (seq2seq student) | 4.57% | 491 MB int8 |

The second-best dedicated system overall, ahead of Gemini-Flash, and
the best that ships as one self-contained int8 ONNX graph. Morph DER
1.67% (iʿrāb quality); total WER 8.61%.

## Architecture

Plane-factorized diacritization at the ByT5-LARGE encoder scale: a
byte-level encoder-only transformer (no decoder) with a diacritic-plane
embedding and one classification head over 54 haraqat classes per
character position. Decoding is K=2 mask-predict passes — parallel
forwards feeding the predicted plane back; no KV cache, no
autoregressive loop. Skeleton round-trip is byte-exact.

The artifact is a single self-contained int8 ONNX graph in the plane
zip contract (metadata.yaml with member sha256s + plane.onnx +
classes.json), loadable by secryst-py `PlaneModel.from_zip`. The
canonical distribution is the Secryst IMF artifact (sha256-verified);
this repository mirrors those exact bytes.

Provenance: rababa run-019, 2 epochs over 551k unique units. The
epoch-2 number is the corrected measurement — the first epoch-2 eval
silently re-scored epoch-1 predictions and was re-run in full (see the
interscript-ml RESULTS ledger).


## License

BSD-3-CLAUSE

## Provenance

Trained in the [Secryst training monorepo](https://github.com/secryst/secryst-train) and published through the [interscript-ml](https://github.com/interscript/interscript-ml) distribution contract (models.yaml index, sha256-verified release assets, parity-gated artifacts). The canonical download channel is GitHub Releases; this repository is the Hugging Face mirror of the same bytes, pinned to the index revision.