Text Classification
PEFT
Safetensors
English
Japanese
d1a
decision-model
calibration
lora
gemma4
typesafe
system-one
pull-requests
on-device
Instructions to use JohnP1/d1a-e2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use JohnP1/d1a-e2b with PEFT:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("google/gemma-4-E2B") model = PeftModel.from_pretrained(base_model, "JohnP1/d1a-e2b") - Notebooks
- Google Colab
- Kaggle
Card: capabilities table, where each model runs since 10-14; E2B-it's suites measured
Browse files
README.md
CHANGED
|
@@ -40,7 +40,7 @@ What each D1A model line can do today. "Decisions" means D1A's System One API (`
|
|
| 40 |
| Base model (trunk) | Gemma 4 E4B (pretrained base) | Gemma 4 E2B (pretrained base) | Gemma 4 E2B-it (instruction-tuned) | Gemma 4 12B-it QAT; **not trained yet** ([jonpol01/d1a#270](https://github.com/jonpol01/d1a/issues/270), shelved) |
|
| 41 |
| Decisions (`/v1/systemone`) | yes | yes | yes (experimental) | β |
|
| 42 |
| PR labeling, 487 PRs newer than all training: severity / change type | **79.1% / 90.6%**; P0/P1 found 13 of 30 | 77.2% / 87.5%; P0/P1 0 of 30 | 72.9% / 87.3%; P0/P1 3 of 30 ("not a PR labeller") | β |
|
| 43 |
-
| Skill suites (hard, developer tools, long documents, transfer, Japanese JGLUE) | measured (card) | measured (card) | not
|
| 44 |
| Photos, voice and video (`/v1/systemone/media`, MLX builds with `media/`) | yes, zero-shot | yes; 25 of 28 demo answers match E4B | yes; 21 of 28 match E4B | β |
|
| 45 |
| Routing temperature (`"use_case": "routing"`) | yes, T 1.18 (from v0.6.1) | yes, T 0.95 (from v0.6.1) | no | β |
|
| 46 |
| Self-learning (outcome log, recalibration, learned flags) | yes, when served by `d1a.serving.serve` | yes | yes | β |
|
|
@@ -48,7 +48,7 @@ What each D1A model line can do today. "Decisions" means D1A's System One API (`
|
|
| 48 |
| Embeddings | β | β | from a GGUF embedder served beside it (`D1A_EMBED_GGUF`) | β |
|
| 49 |
| Builds | PyTorch `JohnP1/d1a-e4b`; MLX 8-bit `JohnP1/d1a-e4b-mlx-q8` (7.6 GB with 1.0 GB of media encoders) and mirror `mlx-community/d1a-e4b-8bit`; Core ML int8 preview `JohnP1/d1a-e4b-coreml` (text only, β€512 tokens) | PyTorch `JohnP1/d1a-e2b`; MLX 8-bit `JohnP1/d1a-e2b-mlx-q8` (4.8 GB) and mirror `mlx-community/d1a-e2b-8bit`; Core ML int8 `JohnP1/d1a-e2b-coreml` (text only, β€512 tokens) | PyTorch adapter `JohnP1/d1a-e2b-it`; MLX `JohnP1/d1a-e2b-it-mlx-q8` (4.8 GB) and `-mlx-q4` (3.6 GB), both merged; Core ML `JohnP1/d1a-e2b-it-coreml` and `-coreml-4bit` | 4-bit Q4_0 export ready (`scripts/export_mlx.py --q4-0`, [jonpol01/d1a#272](https://github.com/jonpol01/d1a/pull/272)) |
|
| 50 |
| Calibration temperature | 1.95 | 1.45 | 1.41 | β |
|
| 51 |
-
| Where it runs | the Mac mini
|
| 52 |
|
| 53 |
Older single-purpose builds: `JohnP1/d1a-e4b-pr-labeler-mlx-q8` (v1) and `JohnP1/d1a-e4b-routing` / `-routing-mlx-q8` (v0.1), superseded by D1A-E4B v0.6.1.
|
| 54 |
|
|
|
|
| 40 |
| Base model (trunk) | Gemma 4 E4B (pretrained base) | Gemma 4 E2B (pretrained base) | Gemma 4 E2B-it (instruction-tuned) | Gemma 4 12B-it QAT; **not trained yet** ([jonpol01/d1a#270](https://github.com/jonpol01/d1a/issues/270), shelved) |
|
| 41 |
| Decisions (`/v1/systemone`) | yes | yes | yes (experimental) | β |
|
| 42 |
| PR labeling, 487 PRs newer than all training: severity / change type | **79.1% / 90.6%**; P0/P1 found 13 of 30 | 77.2% / 87.5%; P0/P1 0 of 30 | 72.9% / 87.3%; P0/P1 3 of 30 ("not a PR labeller") | β |
|
| 43 |
+
| Skill suites (hard, developer tools, long documents, transfer, Japanese JGLUE) | measured (card) | measured (card) | measured 2026-10-15 against E4B v0.6.1 (not published) | β |
|
| 44 |
| Photos, voice and video (`/v1/systemone/media`, MLX builds with `media/`) | yes, zero-shot | yes; 25 of 28 demo answers match E4B | yes; 21 of 28 match E4B | β |
|
| 45 |
| Routing temperature (`"use_case": "routing"`) | yes, T 1.18 (from v0.6.1) | yes, T 0.95 (from v0.6.1) | no | β |
|
| 46 |
| Self-learning (outcome log, recalibration, learned flags) | yes, when served by `d1a.serving.serve` | yes | yes | β |
|
|
|
|
| 48 |
| Embeddings | β | β | from a GGUF embedder served beside it (`D1A_EMBED_GGUF`) | β |
|
| 49 |
| Builds | PyTorch `JohnP1/d1a-e4b`; MLX 8-bit `JohnP1/d1a-e4b-mlx-q8` (7.6 GB with 1.0 GB of media encoders) and mirror `mlx-community/d1a-e4b-8bit`; Core ML int8 preview `JohnP1/d1a-e4b-coreml` (text only, β€512 tokens) | PyTorch `JohnP1/d1a-e2b`; MLX 8-bit `JohnP1/d1a-e2b-mlx-q8` (4.8 GB) and mirror `mlx-community/d1a-e2b-8bit`; Core ML int8 `JohnP1/d1a-e2b-coreml` (text only, β€512 tokens) | PyTorch adapter `JohnP1/d1a-e2b-it`; MLX `JohnP1/d1a-e2b-it-mlx-q8` (4.8 GB) and `-mlx-q4` (3.6 GB), both merged; Core ML `JohnP1/d1a-e2b-it-coreml` and `-coreml-4bit` | 4-bit Q4_0 export ready (`scripts/export_mlx.py --q4-0`, [jonpol01/d1a#272](https://github.com/jonpol01/d1a/pull/272)) |
|
| 50 |
| Calibration temperature | 1.95 | 1.45 | 1.41 | β |
|
| 51 |
+
| Where it runs | served on the Mac mini until 2026-10-14 (now its rollback) | β | the Mac mini since 2026-10-14: decisions, the PR labeler and OpenAI chat on one unmerged build; the Mieru iPhone app | β |
|
| 52 |
|
| 53 |
Older single-purpose builds: `JohnP1/d1a-e4b-pr-labeler-mlx-q8` (v1) and `JohnP1/d1a-e4b-routing` / `-routing-mlx-q8` (v0.1), superseded by D1A-E4B v0.6.1.
|
| 54 |
|