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.
Instructions to use p-hoep/jevma-4-E2B-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use p-hoep/jevma-4-E2B-it with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="p-hoep/jevma-4-E2B-it")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("p-hoep/jevma-4-E2B-it") model = AutoModel.from_pretrained("p-hoep/jevma-4-E2B-it", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Configuration Parsing Warning:In config.json: "num_experts" must be a number
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 GBbf16): Stripped 1,411 unused vision/audio/lm_headtensors (0.000000parity diff). Scores100.0%easy,81.94%original, and41.44%hardon official JevBench (73 msL4, 13.6× faster p95 than autoregressive Gemma 4 E2B). For our faster full-corpus 25-layer flagship (including1.76 GBMLX &1.96 GBWebGPU ONNX), seep-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
float322-layer MLP decision head (decision_head.safetensors). Use the bundledjevmma.pyloader orserve.pyrather than genericpipeline("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
- Recommended
L25(25-layer, Full-Corpus):- CUDA:
p-hoep/jevma-4-E2B-it-L25(bf16, 6.19 GB, 18.1 ms RTX 5090) ·L25-8bit·L25-4bit - Apple Silicon MLX:
L25-MLX-4bit(1.76 GB, recommended) ·MLX-6bit·MLX-8bit·MLX-3bit - Browser WebGPU:
L25-ONNX-Q4(1.96 GB, runs in Chrome/Edge/Safari)
- CUDA:
- Original
L35(35-layer, 150k slice):- CUDA:
p-hoep/jevma-4-E2B-it(bf16, 8.65 GB) ·8bit·4bit - Apple Silicon MLX:
MLX-4bit(2.46 GB) ·MLX-8bit(4.61 GB)
- CUDA:
License & Attribution
- Released under the Apache 2.0 License (matching
google/gemma-4-E2B-it). - Single-pass MLP decision-head methodology inspired by
AnkitNayak-dev/QJev-1.5B. - Trained on
SargeDev/jev-distill-corpus-v3; evaluated on officialfstandhartinger/jevbench.
- Downloads last month
- 90
Model tree for p-hoep/jevma-4-E2B-it
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-reported1.000
- Expected Calibration Error (ECE) on JevBench Public (easy, 48 tasks)self-reported0.129
- Accuracy on JevBench Public (original, 72 tasks)self-reported0.819
- Expected Calibration Error (ECE) on JevBench Public (original, 72 tasks)self-reported0.099
- Accuracy on JevBench Public (hard, 111 tasks)self-reported0.414