Run this model with HF Jobs

Run p-hoep/jevma-4-E2B-it on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/p-hoep/jevma-4-E2B-it. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/p-hoep/jevma-4-E2B-it on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Configuration Parsing Warning:In config.json: "num_experts" must be a number

Jevma Logo

Jevma-4-E2B-it (35-Layer Pruned Text-Only bf16)

[**Live Demo (HF Space)**](https://huggingface.co/spaces/p-hoep/jevma-playground) · [**Live Demo (Cloudflare)**](https://jevma-playground.pages.dev) · [**GitHub Repo**](https://github.com/P-Hoep/Jevmma-2b) · [**All Jevma Models**](https://huggingface.co/p-hoep)

35-Layer Text-Only Pruned Model (8.65 GB bf16): Stripped 1,411 unused vision/audio/lm_head tensors (0.000000 parity diff). Scores 100.0% easy, 81.94% original, and 41.44% hard on official JevBench (73 ms L4, 13.6× faster p95 than autoregressive Gemma 4 E2B). For our faster full-corpus 25-layer flagship (including 1.76 GB MLX & 1.96 GB WebGPU ONNX), see p-hoep/jevma-4-E2B-it-L25.

Jevma is a single-pass calibrated Jev (System 1) probabilistic decision model built by pruning Google's Apache 2.0 google/gemma-4-E2B-it to a text-only Gemma4TextModel decoder and attaching an unquantized float32 2-layer MLP DecisionHead (1536 → 512 → 10) with dynamic logit masking across 2–10 options.

Official JevBench Results — L35 Family (35 Layers)

Evaluated across all 231 official fstandhartinger/jevbench public tasks (easy 48, original 72, hard 111; 0 failures / 100% strict schema validity):

Variant / Hardware Disk GB easy Acc easy ECE original Acc original ECE original Paraphrase hard Acc hard Brier (↓) original p50 ms
L35 bf16 (Colab L4) 8.65 100.00% 0.1285 81.94% 0.0988 77.8% 41.44% 0.7299 73.0 ms
L35 8-bit (Colab L4) 6.91 97.92% 0.1150 81.94% 0.0709 75.0% 41.44% 0.7219 322.8 ms
L35 4-bit (Colab L4) 6.06 100.00% 0.1438 77.78% 0.1371 77.8% 36.04% 0.7566 117.8 ms
L35-MLX-4bit (Mac Metal) 2.46 100.00% 0.1629 81.94% 0.1507 77.8% 39.64% 0.7175 572.1 ms
L35-MLX-8bit (Mac Metal) 4.61 100.00% 0.1290 81.94% 0.1004 80.6% 36.94% 0.7591 1638.5 ms

Quickstart (Python / CUDA)

Note: Jevma uses a custom float32 2-layer MLP decision head (decision_head.safetensors). Use the bundled jevmma.py loader or serve.py rather than generic pipeline("text-classification").

from jevmma import Jevmma

model = Jevmma.from_pretrained("p-hoep/jevma-4-E2B-it")
print(model.decide(
    context="Production database primary replica CPU reached 100% and connection pool is exhausted.",
    choices=[
        "Trigger immediate automated failover to standby replica",
        "Restart the primary database daemon immediately",
        "Silence alerts and monitor for next 15 minutes",
    ],
))

Or run the FastAPI microservice (with native /v1/systemone JevBench support):

python serve.py --model p-hoep/jevma-4-E2B-it --port 8000

Jevma Model Family

License & Attribution

Downloads last month
90
Safetensors
Model size
5B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for p-hoep/jevma-4-E2B-it

Finetuned
(556)
this model
Quantizations
5 models

Dataset used to train p-hoep/jevma-4-E2B-it

Space using p-hoep/jevma-4-E2B-it 1

Evaluation results

  • Accuracy on JevBench Public (easy, 48 tasks)
    self-reported
    1.000
  • Expected Calibration Error (ECE) on JevBench Public (easy, 48 tasks)
    self-reported
    0.129
  • Accuracy on JevBench Public (original, 72 tasks)
    self-reported
    0.819
  • Expected Calibration Error (ECE) on JevBench Public (original, 72 tasks)
    self-reported
    0.099
  • Accuracy on JevBench Public (hard, 111 tasks)
    self-reported
    0.414