Text Classification
Laya
multilingual
English
Japanese
coreai
modernbert
apple-silicon
on-device
calibrated-decisions
Instructions to use mlboydaisuke/Laya-Multilingual-CoreAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Laya
How to use mlboydaisuke/Laya-Multilingual-CoreAI with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Note the revision that the transcript's sha256 values for this repo's records match, reword three GPU passages, and update the README checksum
Browse files- README.md +8 -5
- SHA256SUMS +1 -1
README.md
CHANGED
|
@@ -110,7 +110,7 @@ through `TypedDecisions` with the state's tokens kept (the question tokenized on
|
|
| 110 |
Engine preference the phone misses the bar the way the Mac does — 196/201 within 1e-3, argmax 80/81, max
|
| 111 |
|Δp| 0.33 on five rows — at 82 ms and 1.4 GB, so the kit keeps refusing that preference for this bundle.
|
| 112 |
Thermal state during those runs: "fair" for the GPU rows, "serious" for the CPU-only and Neural Engine
|
| 113 |
-
rows; the GPU
|
| 114 |
so the row cost is not thermal-bound. Through the kit's own `decide-cli bench --repeat 3` on the cool phone
|
| 115 |
(a 109-token state, eight questions, the measure of the Mac's 11.5 ms): **47.1 ms per decision** with the
|
| 116 |
state shared, 46.4 from scratch, 390 / 458 ms for the state and its eight. [`gate-laya-multilingual-iphone-gpu.json`](https://github.com/john-rocky/coreai-model-zoo/blob/main/models/laya-multilingual/gate-laya-multilingual-iphone-gpu.json)
|
|
@@ -135,8 +135,8 @@ The benchmark's own harness ([fstandhartinger/jevbench](https://github.com/fstan
|
|
| 135 |
window is 256 tokens: 95 of the 111 hard items were truncated to it (hard states are up to 3,677 tokens
|
| 136 |
long), and no easy or standard item was (the longest is 107 tokens). Accuracy per tier and the hard
|
| 137 |
tier's ECE are JevBench's own scoring (argmax of the returned probabilities); p50 and p95 are per-request
|
| 138 |
-
latency over all 231 requests, hard max the maximum over the hard tier. Latency was measured
|
| 139 |
-
|
| 140 |
(Intelligence and the rest) are chance-corrected over 534 items, sealed ones included, and are not
|
| 141 |
comparable to these accuracies.
|
| 142 |
|
|
@@ -178,6 +178,9 @@ against another same-shape row's outputs) must fail — it does, on 162–166 of
|
|
| 178 |
|
| 179 |
[`gate-laya-multilingual.json`](https://github.com/john-rocky/coreai-model-zoo/blob/main/models/laya-multilingual/gate-laya-multilingual.json) in the zoo repository is the transcript: every stage's summary with the sha256
|
| 180 |
of the full record it came from; the records keep each row's raw marker and act logits, unrounded.
|
|
|
|
|
|
|
|
|
|
| 181 |
|
| 182 |
## Neural Engine and fp16
|
| 183 |
|
|
@@ -235,8 +238,8 @@ Catalog id `laya-multilingual` (active once the kit's encoder backend is merged)
|
|
| 235 |
the bundle as an encoder backend — the same `decide` / `prefill` calls as the kit's language-model
|
| 236 |
decision models — and runs it on the GPU; a Neural Engine preference is refused at load.
|
| 237 |
|
| 238 |
-
Measured through the kit on the same Mac (M4 Max, macOS 27.0 26A428, the wfp16 bundles above,
|
| 239 |
-
|
| 240 |
|
| 241 |
- Parity on the 201 rows of each window: token ids and marker positions 201/201, argmax 81/81, max |Δp|
|
| 242 |
5e-6 on the GPU and 9e-6 with `cpuOnly`.
|
|
|
|
| 110 |
Engine preference the phone misses the bar the way the Mac does — 196/201 within 1e-3, argmax 80/81, max
|
| 111 |
|Δp| 0.33 on five rows — at 82 ms and 1.4 GB, so the kit keeps refusing that preference for this bundle.
|
| 112 |
Thermal state during those runs: "fair" for the GPU rows, "serious" for the CPU-only and Neural Engine
|
| 113 |
+
rows; the GPU rows, run again at "nominal" (2026-09-24), gave the same verdict at 54.5 ms median (p90 59.6),
|
| 114 |
so the row cost is not thermal-bound. Through the kit's own `decide-cli bench --repeat 3` on the cool phone
|
| 115 |
(a 109-token state, eight questions, the measure of the Mac's 11.5 ms): **47.1 ms per decision** with the
|
| 116 |
state shared, 46.4 from scratch, 390 / 458 ms for the state and its eight. [`gate-laya-multilingual-iphone-gpu.json`](https://github.com/john-rocky/coreai-model-zoo/blob/main/models/laya-multilingual/gate-laya-multilingual-iphone-gpu.json)
|
|
|
|
| 135 |
window is 256 tokens: 95 of the 111 hard items were truncated to it (hard states are up to 3,677 tokens
|
| 136 |
long), and no easy or standard item was (the longest is 107 tokens). Accuracy per tier and the hard
|
| 137 |
tier's ECE are JevBench's own scoring (argmax of the returned probabilities); p50 and p95 are per-request
|
| 138 |
+
latency over all 231 requests, hard max the maximum over the hard tier. Latency was measured while other
|
| 139 |
+
programs could also use the GPU, with this model's server running alone. JevBench's published scores
|
| 140 |
(Intelligence and the rest) are chance-corrected over 534 items, sealed ones included, and are not
|
| 141 |
comparable to these accuracies.
|
| 142 |
|
|
|
|
| 178 |
|
| 179 |
[`gate-laya-multilingual.json`](https://github.com/john-rocky/coreai-model-zoo/blob/main/models/laya-multilingual/gate-laya-multilingual.json) in the zoo repository is the transcript: every stage's summary with the sha256
|
| 180 |
of the full record it came from; the records keep each row's raw marker and act logits, unrounded.
|
| 181 |
+
Where the transcript quotes a record in this repository, the sha256 it gives is that of the file at revision `3fe58a5e`.
|
| 182 |
+
Since then, the only change inside these records is that a commit replaced absolute local paths in some of them.
|
| 183 |
+
So a record that commit changed has a different sha256 in its current version.
|
| 184 |
|
| 185 |
## Neural Engine and fp16
|
| 186 |
|
|
|
|
| 238 |
the bundle as an encoder backend — the same `decide` / `prefill` calls as the kit's language-model
|
| 239 |
decision models — and runs it on the GPU; a Neural Engine preference is refused at load.
|
| 240 |
|
| 241 |
+
Measured through the kit on the same Mac (M4 Max, macOS 27.0 26A428, the wfp16 bundles above, no other GPU
|
| 242 |
+
job visible when the runs started, 2026-09-23):
|
| 243 |
|
| 244 |
- Parity on the 201 rows of each window: token ids and marker positions 201/201, argmax 81/81, max |Δp|
|
| 245 |
5e-6 on the GPU and 9e-6 with `cpuOnly`.
|
SHA256SUMS
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
| 2 |
eef8e7fc73729b2f89adba740e2f4cfb07ffc5ec1d5d8a51bed29030ddd62ba7 LICENSE-NOTE.md
|
| 3 |
-
|
| 4 |
33911629d87484754bb755d2118a38626264a9b63bc33ee30131d7564f5560ee UPSTREAM_README.md
|
| 5 |
83f6916d13ef0f556ac461f28308dc2bffa7ebeadee8ec9e2db5812020ea5bb4 config.json
|
| 6 |
ab1e98be944bca6417e8d5e4d9edd6faf44f20cb75d6ca5c891b3e3d682b74a1 coreai-kit.json
|
|
|
|
| 1 |
c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
| 2 |
eef8e7fc73729b2f89adba740e2f4cfb07ffc5ec1d5d8a51bed29030ddd62ba7 LICENSE-NOTE.md
|
| 3 |
+
425414e9ed27402007b19e39159c40e9918c28ade283e71a3a505d130c4cbc7f README.md
|
| 4 |
33911629d87484754bb755d2118a38626264a9b63bc33ee30131d7564f5560ee UPSTREAM_README.md
|
| 5 |
83f6916d13ef0f556ac461f28308dc2bffa7ebeadee8ec9e2db5812020ea5bb4 config.json
|
| 6 |
ab1e98be944bca6417e8d5e4d9edd6faf44f20cb75d6ca5c891b3e3d682b74a1 coreai-kit.json
|