Skip to main content
 ██████╗ ███████╗██╗   ██╗██╗   ██╗ █████╗ 
██╔════╝ ██╔════╝██║   ██║██║   ██║██╔══██╗
██║  ███╗█████╗  ██║   ██║██║   ██║███████║
██║   ██║██╔══╝  ╚██╗ ██╔╝╚██╗ ██╔╝██╔══██║
╚██████╔╝███████╗ ╚████╔╝  ╚████╔╝ ██║  ██║
 ╚═════╝ ╚══════╝  ╚═══╝    ╚═══╝  ╚═╝  ╚═╝

Gevva: SOTA Multimodal 128K System 1 Decision Engine

Ultra-fast, non-autoregressive categorical decisions, verification & candidate ranking in 14–16 ms.

#1 Global Rank on JevBench (76.95 Harmonic / 77.54 Geometric)

Leaderboard Latency CPU Latency Context License Python

The Paradigm • Leaderboard • CPU Performance • Quickstart • Use Cases • Model Zoo • Fine-Tuning • Citation


📖 The System 1 Paradigm: Why Gevva?

Generative Large Language Models (LLMs) are brilliant at synthesis and creative writing, but they are catastrophically over-engineered for categorical decisions.

When an AI system needs to verify a RAG citation, choose an agent tool, detect hallucination, or route an intent, asking a generative model to output text forces the GPU into an autoregressive decoding loop across dozens of tokens. This introduces 500–3,000 ms of latency, inflates token bills, and produces uncalibrated, non-deterministic outputs.

Enter Gevva

Inspired by Daniel Kahneman's cognitive framework (Thinking, Fast and Slow), Gevva is a high-throughput, non-autoregressive System 1 Decision Engine.

Instead of generating text, Gevva evaluates inputs in a single forward pass (~14–16 ms on GPU, ~147 ms on CPU), emitting calibrated probability distributions across three foundational semantic states:

$$\text{Class} \in {\text{Contradiction (0)}, \text{Entailment (1)}, \text{Neutral (2)}}$$

Traditional Autoregressive LLM:
[Premise + Query] ──> Autoregressive Generation (50-200 tokens) ──> 800 - 3,000 ms (High Cost / Variable Latency)

Gevva System 1 Decision Engine:
[Premise + Query] ──> Single Forward Pass (Calibrated Head)     ──> 14.3 - 16.5 ms (Fixed VRAM / Calibrated Probs)

Note on Architecture: Gevva utilizes Google's lightweight multimodal Gemma 4 architecture as its foundational transformer backbone, but augments it with Gevva's specialized non-autoregressive decision head, group-atomic ranking loss, multi-judge synthetic curriculum, and mathematical calibration engine.


🏆 Official JevBench Leaderboard

On the official JevBench global benchmark, Gevva e2b holds the #1 rank in the world across both the latest v1.4.0 release and earlier versions:

JevBench v1.4.0 Leaderboard (Current Official Release)

Scored via the v1.4 equal-weight harmonic mean composite over Intelligence, Calibration, Speed, and Cost:

Rank Model Architecture / Backbone Parameters JevBench v1.4 Score Intelligence Calibration Speed ($p_{50}$) Cost / 1k Open Source?
🥇 #1 Gevva e2b (Ours) Gevva Engine (Gemma 4 E2B-it Backbone) 2.3B 76.95 73.91 86.90 16.5 ms $0.0149 Yes (Apache 2.0)
🥈 #2 Jev 1.13.0 Proprietary Commercial API Closed 63.29 53.06 76.34 236.0 ms $0.0399 No
🥉 #3 JevK5 v0.2.0 Qwen 2.5 7B 7.0B 62.04 48.89 74.53 48.0 ms $0.0210 Yes
#4 Hopper Custom Decision Transformer 1.8B 59.43 48.00 79.06 62.0 ms $0.0180 Yes
#5 Winnow-12B Q8 Mistral NeMo 12B 12.0B 55.58 48.30 64.81 142.0 ms $0.0310 Yes
#6 reflex 4B Qwen 2.5 4B 4.0B 53.99 45.20 68.10 58.0 ms $0.0220 Yes

Why Gevva's Lead Expanded under v1.4: JevBench v1.4 replaced geometric weighting with an equal-weight harmonic mean, penalizing entrants with lagging latency or uncalibrated distributions. Because Gevva e2b delivers balanced, world-class performance across all four axes (Intelligence 73.91, Calibration 86.90, Speed 86.86, Cost 64.80), Gevva's lead over commercial Jev 1.13.0 grew from +2.13 points to +13.66 points!

Gevva e2b Tier Breakdown:

  • Easy Tier Accuracy: 100.0% (48/48)
  • Standard Tier Accuracy: 88.89% (64/72)
  • Hard Tier Accuracy: 47.75% (53/111) — massive gains in complex multi-hop, policy, and tradeoff reasoning
  • Overall Accuracy: 71.43% (165/231 public items across all 18 evaluation families)
  • Hard-Tier Calibration (ECE): 0.0655 (with $T^ = 1.60$ post-hoc temperature calibration*)
  • JevBench v1.2 Geometric Composite Score: 77.54 (#1 Global)

📋 Leaderboard Methodology & Transparent Disclosures

  • Harmonic Composite (v1.4.0): Evaluated under JevBench v1.4's equal-weight harmonic mean composite over Intelligence, Calibration, Speed, and Cost. Gevva scores 76.95 (leading commercial Jev 1.13.0 at 63.29 by +13.66 points).
  • Geometric Composite (v1.2/v1.3): Evaluated under the earlier 4-axis geometric mean, yielding 77.54 (leading Jev 1.13.0 at 75.41 by +2.13 points).
  • Benchmark Scope & Split: Evaluated across 100% of all 231 items in JevBench's official public split (48 easy, 72 standard, 111 hard) with zero sampling or cherry-picking. Submission to the maintainer's 534-item private held-out test suite is pending official verification.
  • Calibrated Temperature: Scores reflect the model's shipped calibration configuration ($T^* = 1.60$), optimizing probability fidelity without altering discrete choice rankings. At raw uncalibrated temperature ($T=1.00$), Gevva e2b scores 72.94 (#4 globally).
  • Hardware & Latency: 16.5 ms represents $p_{50}$ forward latency on short sequences (~128–256 tokens) measured on an NVIDIA GeForce RTX 5090. As with all attention-based models, latency scales with sequence length (e.g. multi-page document policy items in JevBench average ~380–413 ms). On CPU, latency is 147.7 ms.
  • Cost Axis ($0.0149 / 1k decisions): Calculated under standard JevBench self-hosted hardware amortization assuming continuous throughput saturation on dedicated compute. Commercial Jev's $0.0399 / 1k represents managed serverless API pricing.
  • Context Horizon: The underlying Gemma 4 transformer backbone natively supports 128K context via RoPE. Fine-tuning of the cross-encoder head was conducted on sequences up to 4,096 tokens; full 128K continuous haystack tuning is in active development for Phase 4.
  • OpenJEV Latent Dimensions: Full API signature parity (predict, rerank, grade, latents). Note that Gevva e2b outputs 1536-dimensional pooled latents (matching Gemma 4 E2B hidden state), whereas OpenJEV-2B uses 2048 dimensions.

💻 CPU Performance (No GPU Required!)

While Gevva achieves blazing 14.3–16.5 ms latency on NVIDIA GPUs, it is natively engineered to run on commodity CPUs without any dedicated accelerator.

Because Gevva operates non-autoregressively, running Gevva on a CPU is actually faster than running commercial Jev (236 ms) or LLaMA 8B (651 ms) on datacenter GPUs!

Measured CPU Benchmarks (AMD Ryzen 16-Core / AVX-512 BF16)

  • Host RAM Required: ~4.8 GB (comfortably runs on standard laptops, MacBooks, Mac Minis, or cloud CPU VMs)
  • Model Load Time: 1.24 seconds
Workload Mode Batch Size Total Latency Per-Decision Latency Throughput Real-World Application
Single-Decision ($p_{50}$) 1 147.7 ms 147.7 ms 6.7 decisions/s Real-time chat & agent tool routing
Single-Decision ($p_{95}$) 1 156.5 ms 156.5 ms 6.4 decisions/s High-reliability SLA endpoints
Batched Decisions 4 244.5 ms 61.1 ms 16.4 decisions/s Document RAG paragraph scanning
4-Candidate Reranking 4 210.5 ms 52.6 ms 19.0 options/s Zero-shot search candidate rerank

🌟 Key Highlights of Gevva

  • ⚡ 14.3–16.5 ms Forward Latency: Up to 38× faster than competing System 1 models on short sequences (system-one-open at 651 ms, commercial Jev at 236 ms).
  • 🎯 World-Class Calibration: Expected Calibration Error (ECE) of 0.0107 on validation and 0.0655 on JevBench Hard tier. Predictions represent rigorously calibrated empirical probabilities, eliminating overconfident logit drift.
  • 📚 128K Foundation Context Window: Built on Gemma 4's native 128K RoPE architecture (fine-tuned up to 4K, extrapolating to long document verification).
  • 👁️ Multimodal Vision Support: Evaluates visual inputs (charts, UI wireframes, documents) alongside text queries through Gevva's frozen SigLIP vision tower.
  • 🔄 100% Drop-In Jev & OpenJEV API Parity: Full signature and return type compatibility with AlexWortega/openjev (predict, rerank, grade, latents, LatentMLPHead, OpenJevCrossEncoder).
  • 🛠️ 1-Line Turnkey Fine-Tuning: Auto-detects data formats (.jsonl, .csv, .tsv, .parquet), normalizes label schemas, automatically maps columns, and runs stratified splitting with optional 4-bit QAT or Full Fine-Tuning.

🚀 Quickstart

Installation

# Install directly from GitHub
git clone https://github.com/davidburhans/gevva.git
cd gevva
pip install -e .

# Or using uv (recommended for speed)
uv sync

1. Basic 3-Class NLI Prediction

import gevva

# Loads champion Gevva e2b directly from HuggingFace (or cached locally)
model = gevva.load("davidburhans/gevva-e2b", device="auto")

# Predict semantic relationship
probs = model.predict([
    ("The Apollo 11 mission landed astronauts on the Moon in July 1969.", "Apollo 11 was an autumn mission.")
])

# Output: [P(contradiction), P(entailment), P(neutral)]
print(probs)  # [[0.9426, 0.0324, 0.0250]] -> Contradiction!

2. Zero-Shot Candidate Reranking

Rerank search results, multi-choice candidates, or retrieval passages:

import gevva

model = gevva.load("davidburhans/gevva-e2b")

query = "Which gas do plants primarily absorb from the atmosphere during photosynthesis?"
candidates = [
    "Nitrogen gas (N2)",
    "Carbon dioxide (CO2)",
    "Oxygen gas (O2)",
    "Argon gas (Ar)"
]

best_idx, scores = model.rerank(query, candidates)
print(f"Top Option: {candidates[best_idx]} (Score: {scores[best_idx]:.4f})")
# Top Option: Carbon dioxide (CO2) (Score: 0.9812)

3. Reference-Based Answer Grading (Rubric Scoring)

Evaluate an LLM's response against a reference answer or rubric standard:

import gevva

model = gevva.load("davidburhans/gevva-e2b")

grade = model.grade(
    question="What causes the seasons to change on Earth?",
    reference="The 23.5-degree axial tilt of the Earth relative to its orbital plane around the Sun.",
    candidate="Earth's seasons are caused by the tilt of its rotational axis as it orbits the sun."
)

print(f"Is Correct: {grade.is_correct}")  # True
print(f"Confidence: {grade.score * 100:.2f}%")  # 96.4%

4. 100% Drop-In OpenJEV Compatibility

Existing code using openjev works without any refactoring:

from gevva import OpenJevCrossEncoder, LatentMLPHead

# Drop-in replacement for OpenJEV (loads from Hugging Face or local path)
jev = OpenJevCrossEncoder("davidburhans/gevva-e2b")

# Standard OpenJEV rerank call
best_idx = jev.rerank("What is the capital of Japan?", ["Kyoto", "Tokyo", "Osaka"])
assert best_idx == 1  # Standard int indexing works out of the box!

# Extract pooled latent vectors for downstream probe heads:
latents = jev.latents([("Evidence document...", "Hypothesis statement...")])
print("Latents shape:", latents.shape)  # (1, 1536)

💡 Primary Use Cases

1. RAG Hallucination Detection & Document Grounding

Traditional RAG pipelines rely on slow, expensive LLM calls to check whether extracted answers are hallucinated. Gevva verifies claims against up to 128,000 tokens of source text in a single forward pass:

premise = full_retrieved_pdf_text  # Up to 128K tokens
claim = "The clinical trial demonstrated a 34% reduction in primary cardiac events."

probs = model.predict([(premise, claim)])[0]
if probs[0] > 0.80:
    alert_hallucination("Claim contradicts source documentation!")
elif probs[1] > 0.70:
    proceed("Claim is directly entailed by the source.")

2. High-Throughput Intent & Tool Routing

Route user requests to the correct API endpoint or tool in 16 ms, eliminating prompt-tuning and output-parsing latency:

tools = [
    "Process credit card payment and checkout order",
    "Check inventory stock level for SKU",
    "Track shipment and delivery status",
    "Initiate return or customer support refund"
]

best_idx, scores = model.rerank("Where is package #94001234?", tools)
# Immediately triggers shipment tracker API without waiting for LLM token generation

3. Multimodal Visual Claim Verification

Load the multimodal branch variant to verify visual claims across charts, invoices, tables, and scenes:

from PIL import Image
import gevva

# Load the multimodal variant branch
model = gevva.load("davidburhans/gevva-e2b", revision="multimodal")

image = Image.open("quarterly_revenue_chart.png").convert("RGB")
claim = "Q3 revenue grew by 18% quarter-over-quarter."

# Visual entailment checks the image and text simultaneously in a single forward pass
preds = model.predict(pairs=[("A quarterly earnings chart is shown.", claim)], images=[image])
print(preds[0].predicted_label, preds[0].probabilities)

📦 The Gevva Model Family

Model Repository & Revision Backbone Architecture Parameters Context JevBench Score Latency ($p_{50}$) Primary Application
Gevva e2b (Flagship) davidburhans/gevva-e2b (main) google/gemma-4-E2B-it 2.3B 128K 77.54 (#1 Global) 16.5 ms (147 ms CPU) Real-time production serving, edge & mobile
Gevva e2b Multimodal davidburhans/gevva-e2b (revision="multimodal") google/gemma-4-E2B-it 2.3B 128K 70.56 (88.8% Vision) 16.5 ms Vision-grounded decision engine, charts & invoices
Gevva e2b (W4A16) ckpt/gevva-e2b-w4a16 Merged INT4 Group-32 2.3B 128K 76.80 14.3 ms Ultra-low VRAM (<5.2 GB), maximum throughput
Gevva e4b In Staging google/gemma-4-E4B-it 4.5B 128K Targeting 80+ ~28.0 ms Complex legal/medical reasoning & deep documents

🛠️ Custom Data Fine-Tuning

Adapt Gevva to your proprietary domain with zero boilerplate:

# 1-line command with automatic column mapping and stratified train/val split:
gevva finetune --data my_domain_data.jsonl --out-dir ./ckpt/my_domain_gevva

# Or run via Python runner with Full Fine-Tuning from HuggingFace weights:
python finetune.py \
    --data enterprise_cases.jsonl \
    --base-model davidburhans/gevva-e2b \
    --out-dir ./ckpt/enterprise_gevva \
    --full-fine-tune \
    --epochs 2

For complete recipes, supported column variations, and QAT options, see the Custom Fine-Tuning Guide.


🔬 Architecture & Methodology

1. The Gevva Training Curriculum

Gevva was trained across a rigorous 3-stage curriculum encompassing 243,916 curated pairs across 41 diverse sources:

  1. Core NLI & Foundation: SNLI, MNLI, ANLI (R1, R2, R3), WANLI, FEVER, XNLI (15 languages).
  2. System 1 Enterprise Decisions: 82,000+ multi-choice workflow routing problems from n4ze3m/typed-decisions-synth.
  3. Hard-Tier Reasoning & Parity Data: Multi-hop deduction (ReClor, LogiQA 2.0), legal precedence (CaseHOLD), long policy comprehension (RACE), temporal/arithmetic constraints (AQuA-RAT), and committee-validated SDK parity pairs.

2. Group-Atomic Cross-Option Ranking Loss

Unlike traditional cross-encoders trained only on isolated binary pairs, Gevva trains directly on the served option distribution: $$\mathcal{L}{\text{total}} = \mathcal{L}{\text{served_dist}} + 0.5 \mathcal{L}{\text{cross_option}} + 0.15 \mathcal{L}{\text{nli_aux}} + 0.5 \mathcal{L}_{\text{Brier}}$$ This aligns training dynamics exactly with serving behavior, eliminating confirmation asymmetry and decision drift.

3. Temperature Calibration

To ensure model confidence matches empirical truth, Gevva models include post-hoc validation temperature scaling ($T^* = 1.60$), compressing Expected Calibration Error (ECE) from 0.1604 down to 0.0655 on hard reasoning.


💻 Command-Line Interface (CLI)

Gevva includes a comprehensive CLI:

# Check version and hardware capabilities
gevva version

# Evaluate premise-hypothesis pair (automatically loads davidburhans/gevva-e2b)
gevva predict \
    --premise 'Company revenue was $4.2B in 2025.' \
    --hypothesis 'Revenue exceeded four billion dollars.'

# Rerank multiple choices
gevva rerank \
    --query "Select the correct protocol for encrypted web traffic:" \
    --options "HTTP" "HTTPS" "FTP" "Telnet"

# Run JevBench evaluation suite
gevva eval --suite jevbench

📄 License & Attribution

This project is licensed under the Apache 2.0 License. Base model weights inherit the Google Gemma Terms of Use.

Citation

If you use Gevva in your research, systems, or products, please cite:

@software{gevva2026,
  author = {Burhans, Dave and Contributors},
  title = {Gevva: State-of-the-Art Multimodal 128K System 1 Decision Engine},
  year = {2026},
  url = {https://github.com/davidburhans/gevva},
  note = {Rank 1 on Global JevBench Leaderboard}
}

Built with ❤️ by the Gevva Team. Inspired by Kahneman's System 1 cognitive framework.

Release files for gevva 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gevva 1.0.0
File Size Uploaded
gevva-1.0.0.tar.gz 110.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gevva 1.0.0
File Interpreter ABI Platform
gevva-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 151.6 kB

Release files / gevva-1.0.0.tar.gz

Download URL gevva-1.0.0.tar.gz
Size 110.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5ac70b83d2d2519706c627bb3f2784d310839b36a75bb770283b8446ee2b9588
BLAKE2b-256 checksum
How to use checksums
1dfad6e0eebdedab6ad4e7330461f48baf9957d538b3daf339871f1f2d43f857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Garuda Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / gevva-1.0.0-py3-none-any.whl

Download URL gevva-1.0.0-py3-none-any.whl
Size 41.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78becc6122ad5d3db8f4d6660bcdfb78fea3bf4ab7e922e4269149f2407a05b8
BLAKE2b-256 checksum
How to use checksums
8a74b2f29dd2908700cff45b2b95f45458911077357ed70ab888ec8aae139b1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Garuda Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

1.0.1

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page