Text Classification
PEFT
Safetensors
English
Japanese
d1a
decision-model
calibration
lora
gemma4
typesafe
system-one
pull-requests
on-device
experimental
Instructions to use JohnP1/d1a-e2b-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use JohnP1/d1a-e2b-it with PEFT:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("google/gemma-4-E2B-it") model = PeftModel.from_pretrained(base_model, "JohnP1/d1a-e2b-it") - Notebooks
- Google Colab
- Kaggle
Card: iPhone 17 Pro results (Mieru proof of concept, 2026-10-13)
Browse files
README.md
CHANGED
|
@@ -20,6 +20,16 @@ D1A is a small open decision model. One document and a set of typed questions go
|
|
| 20 |
- PR change type: 87.3% against 87.5%, −0.2 [−3.1, +2.7] (no measurable difference);
|
| 21 |
- photos, voice and video: all 14 demo requests answered, but **21 of 28** answers match E4B v0.6, where E2B v0.6 matches 25.
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
Everything else (hard, developer-tool and long-document decisions, held-out transfer, general decisions, Japanese) is **not measured yet** on this build. Do not assume E2B v0.6's numbers carry over.
|
| 24 |
|
| 25 |
**Release note.** The bar registered for this run before training (jonpol01/d1a#227, Bar B, "good enough for apps") failed on two lines: severity −4.3 (it needed −3 or better) and media agreement 21/28 (it needed 25/28). It is published by the owner's decision of 2026-10-12 for the iOS proof of concept, as a separate repository and not as E2B's model.
|
|
|
|
| 20 |
- PR change type: 87.3% against 87.5%, −0.2 [−3.1, +2.7] (no measurable difference);
|
| 21 |
- photos, voice and video: all 14 demo requests answered, but **21 of 28** answers match E4B v0.6, where E2B v0.6 matches 25.
|
| 22 |
|
| 23 |
+
**On the iPhone (2026-10-13, iPhone 17 Pro, in the Mieru app):** this model runs as an unmerged LoRA adapter on the app's
|
| 24 |
+
own Gemma 4 E2B-it 4-bit, so it is one model in memory.
|
| 25 |
+
- **Accuracy:** 0 of 42 answers differ from the Mac.
|
| 26 |
+
- **Speed and memory:** 0.52 s per request; the adapter adds 25 MB.
|
| 27 |
+
- **Base untouched:** with the adapter off, the hidden states are bit-identical to the base.
|
| 28 |
+
|
| 29 |
+
The Core ML 4-bit build also matches the Mac on the phone (0 of 42; 0.66 s on its GPU). First use case: deciding whether a
|
| 30 |
+
new camera description is worth speaking (redundant / vague → skip / re-capture / speak). It took the intended action on
|
| 31 |
+
8 hand-written test cases, which is a smoke test, not a measurement.
|
| 32 |
+
|
| 33 |
Everything else (hard, developer-tool and long-document decisions, held-out transfer, general decisions, Japanese) is **not measured yet** on this build. Do not assume E2B v0.6's numbers carry over.
|
| 34 |
|
| 35 |
**Release note.** The bar registered for this run before training (jonpol01/d1a#227, Bar B, "good enough for apps") failed on two lines: severity −4.3 (it needed −3 or better) and media agreement 21/28 (it needed 25/28). It is published by the owner's decision of 2026-10-12 for the iOS proof of concept, as a separate repository and not as E2B's model.
|