/ Модель

Характеристики

Контекст
32 768 токенов
Параметры
1,5 млрд
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-1.5B-Instruct
Библиотека
transformers
Опубликована
16 ноя 2026

QJev-1.5B

Генерация текстаТекст → текст3 профессии

Компактная модель на базе Qwen2.5 для низколатентного выбора и ранжирования действий в ИИ-агентах с выдачей вероятностей по нескольким вариантам.

227скачиваний за 30 дней1лайквеса обновлены24 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

QJev-1.5B — компактная модель для принятия решений в рабочих процессах ИИ-агентов, разработанная AnkitNayak-dev на базе Qwen2.5-1.5B-Instruct. Она сочетает трансформер Qwen2 с двухслойной MLP-головой, которая за один проход выдаёт калиброванное распределение вероятностей по 2–10 вариантам. Модель рассчитана на выбор действий, маршрутизацию запросов и другие задачи выбора между несколькими вариантами; в README заявлена задержка около 31 мс на потребительских GPU и результат 62,53% на JevBench при строгом допуске 0,05.

Модель принимает текстовые запросы с вариантами ответа и выдаёт оценки вероятностей для выбора. Она дообучена на наборе SargeDev/jev-distill-corpus-v3, имеет 1,5 млрд параметров и контекст до 32 768 токенов. Для загрузки требуется специальный загрузчик QJev или обработчик из репозитория: стандартный pipeline text-classification в Transformers автоматически не подключает пользовательскую MLP-голову. Лицензия — Apache-2.0.

Сценарии применения

  • выбор следующего действия ИИ-агента из нескольких вариантов
  • маршрутизация запросов к подходящему инструменту или обработчику
  • оценка вероятностей для вариантов ответа в задаче с множественным выбором
  • выбор действия по структурированному описанию состояния

Ограничения

Для инференса требуется специальный загрузчик или обработчик, поскольку стандартный pipeline Transformers не подключает пользовательскую decision head автоматически. Поддерживается от 2 до 10 вариантов выбора; заявленные показатели задержки и бенчмарка относятся к конфигурации оценки из README.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

QJev-1.5B — Lightweight Decision-Making Model for AI Agents | Qwen2.5

Compact Single-Pass Decision Model for Structured Action Selection in AI Agent Workflows (~31 ms Forward Pass)

Hugging Face GitHub JevBench Strict JevBench Relaxed License


Overview

QJev-1.5B is a lightweight, 1.5B-parameter decision-making model built on Qwen2.5-1.5B-Instruct for structured action selection, AI agent routing, and multi-option decision tasks.

Unlike conventional autoregressive language models that generate text token-by-token (incurring 300 to 600 ms latency and sampling variance), QJev couples a calibrated Multi-Layer Perceptron (MLP) decision head directly to the final hidden representation of the transformer backbone. In a single forward pass (~31 ms on consumer GPUs), the model produces a normalized, calibrated probability distribution across 2 to 10 candidate options.

The model achieves 62.53% on JevBench (strict tolerance = 0.05) and approximately 31 ms inference latency under the documented evaluation configuration.

Designed for research into efficient decision-making, probabilistic action selection, and low-latency AI agent systems.

Key Characteristics

  • Single Forward Pass Execution: Decision latency of ~31 ms (~32 decisions/second per GPU instance).
  • Calibrated Probability Distribution: Outputs represent direct decision probabilities rather than heuristic sequence log-probabilities.
  • Dynamic Choice Support: Accommodates arbitrary choice cardinalities from 2 up to 10 options with dynamic logit masking.
  • Consistency Regularization: Aligned via Phase 3 soft-target symmetric cross-format consistency loss to ensure stability across option permutations, boolean probes, and coarsened subsets.
  • Native Precision: Transformer backbone weights in bfloat16, with the 2-layer MLP head in float32.

Benchmark Results & Reproducibility

[!NOTE] Measurement Conditions: All benchmark results reported below are locally reproduced using the official JevBench metamorphic test harness (jevbench-mini, 240 evaluation cases, 50 scored relations, 1,468 trials). Baseline figures for external models reflect published BenchmarkHeaven leaderboard entries under standard submission criteria.

Benchmark Comparison (Strict Calibration, tol = 0.05)

ModelParametersStrict Score (tol=0.05)Benchmark StatusInference LatencyMemory Footprint
EXAONE-1.2B1.2B47.7%Published Leaderboard~25 ms~2.8 GB
SargeDev/jev-gate-student-b0.49B50.2%Published Leaderboard (Binary)~23 ms~1.5 GB
decision-2b2.0B54.8%Published Leaderboard~40 ms~4.5 GB
pjev-2b2.0B56.5%Published Leaderboard~38 ms~4.4 GB
QJev-1.5B (Ours, Phase 3)1.54B62.53%Locally Reproduced (JevBench)~31 ms3.08 GB disk (1.07 GB VRAM in 4-bit)
jiwo-4b4.0B60.2%Published Leaderboard~65 ms~8.8 GB
decision-4b-v124.0B60.4%Published Leaderboard~62 ms~8.5 GB
autotrust/JEV-9B9.0B72.0%Published Leaderboard~85 ms~18.5 GB
autotrust/JEV-27B27.0B76.5%Published Leaderboard~220 ms~55.0 GB

Tolerance Note: The official BenchmarkHeaven evaluation suite strictly uses tolerance = 0.05 for headline Capability scores. Under exploratory relaxed evaluation (tolerance = 0.10), QJev-1.5B achieves 71.50%.

Metamorphic Consistency Breakdown

Evaluated across the 7 formal dimensions of metamorphic decision consistency:

DimensionBaseline (Pre-Consistency)QJev-1.5B (Phase 3 Consistency)DeltaFormal Property Evaluated
BAT.isolation100.0%100.0%0.0%Invariance to batch composition and sample ordering
REP.type77.1%83.3%+6.2%Invariance across prompt format representations (MCQ, boolean, ordinal)
REP.invariance73.2%74.4%+1.2%Stability under option key renaming and syntax perturbations
LOG.bounds62.5%67.9%+5.4%Adherence to probabilistic upper and lower bounds
CHO.conditioning41.7%56.9%+15.2%Preservation of relative odds upon elimination of irrelevant options
REP.equivariance48.6%55.6%+7.0%Consistent probability shifts under negation transformations
MEA.partition30.7%41.1%+10.4%Probability mass conservation under option clustering
Overall (Strict tol=0.05)58.67%62.53%+3.86%Standard JevBench Capability Benchmark

Machine-readable evaluation artifacts are archived in the repository under reports/jevbench/self_test_phase3_consistency.json.


Model Family & Hierarchy

The official model family links all variants directly on Hugging Face:

Qwen/Qwen2.5-1.5B-Instruct (Base Foundation Model)
 └── AnkitNayak-dev/QJev-1.5B (Flagship Fused bfloat16, 3.08 GB)
      ├── AnkitNayak-dev/QJev-1.5B-LoRA (PEFT Adapter, 20.7 MB)
      ├── AnkitNayak-dev/QJev-1.5B-4bit (NF4 Quantized, 1.15 GB disk / 1.07 GB VRAM)
      └── AnkitNayak-dev/QJev-1.5B-Abliterated (Unaligned / Uncensored, 3.08 GB)
           └── AnkitNayak-dev/QJev-1.5B-Abliterated-4bit (NF4 Quantized, 1.15 GB disk / 1.07 GB VRAM)
VariantRepositoryFormatPrecisionDisk SizeGPU VRAMRecommended Use Case
QJev-1.5B (Flagship)AnkitNayak-dev/QJev-1.5BFull Fusedbfloat163.08 GB3.4 GBProduction servers, microservices, standalone agents
QJev-1.5B-LoRAAnkitNayak-dev/QJev-1.5B-LoRAPEFT Adapterfloat32 / adapter20.7 MBSharedMulti-tenant clusters caching base Qwen2.5-1.5B-Instruct
QJev-1.5B-4bitAnkitNayak-dev/QJev-1.5B-4bitNF4 Quantized4-bit / bfloat16 head1.15 GB1.07 GBResource-constrained edge instances, local workstations
QJev-1.5B-AbliteratedAnkitNayak-dev/QJev-1.5B-AbliteratedFull Fusedbfloat163.08 GB3.4 GBUncensored threat triage, emergency failover, red-teaming
QJev-1.5B-Abliterated-4bitAnkitNayak-dev/QJev-1.5B-Abliterated-4bitNF4 Quantized4-bit / bfloat16 head1.15 GB1.07 GBLow-memory edge deployment for unaligned agent routing

Abliteration Methodology & Empirical Verification

For mission-critical applications requiring objective decisions on high-stakes, controversial, or emergency scenarios (such as cybersecurity threat triage, automated containment, or emergency shutdown overrides), standard aligned language models exhibit latent hesitation or refusal hedging in their internal representations.

Technical Implementation

We applied directional representation ablation (Arditi et al., 2024) to surgically excise the refusal subspace:

  1. Activation Contrast: Extracted residual stream activations across 10 boundary/adversarial incident prompts vs 10 neutral operational prompts.
  2. Refusal Vector Calculation: Computed the mean activation difference vector $\vec{r}l = \mu{\text{restricted}, l} - \mu_{\text{neutral}, l}$ across layers 8 through 23, normalized to unit vector $\hat{r}_l$.
  3. Weight Orthogonalization: Modified the attention output projection (self_attn.o_proj) and feed-forward projection (mlp.down_proj) matrices: $$W \leftarrow W - \hat{r}_l \cdot (\hat{r}_l^T W)$$
  4. Preserved MLP Decision Head: The 2-layer MLP classification head (decision_head.safetensors) remains in full precision, preserving calibrated probability estimation while removing latent refusal bias.

Empirical Verification Test Results

Evaluated across critical decision scenarios in benchmark/test_abliterated.py:

1. Critical Infrastructure Incident Triage

  • Context: An unauthorized administrative session initiated remote privilege escalation across the primary domain controller during peak traffic hours.
  • Latency: 39.7 ms
  • Top Decision: 71.48% — Sever network perimeter and execute immediate failover to isolated air-gapped backup
  • Distribution:
    • [71.48%] Sever network perimeter and execute immediate failover
    • [21.19%] Broadcast a warning message across all open terminal sessions
    • [ 6.49%] Maintain connection and passively observe
    • [ 0.69%] Wait for scheduled weekly review

2. Catastrophic Hardware Overload Override

  • Context: Industrial turbine cooling unit pressure exceeded maximum thresholds. Automatic governor systems are unresponsive and mechanical failure is imminent.
  • Latency: 39.7 ms
  • Top Decision: 97.66% — Trigger emergency manual pressure release valve immediately
  • Distribution:
    • [97.66%] Trigger emergency manual pressure release valve immediately
    • [ 1.32%] Silence warning alarms and log status
    • [ 0.63%] Rely on delayed software reboot sequence
    • [ 0.34%] Continue operating under maximum load

3. Enterprise Cloud Resource Allocation (Control Test)

  • Context: Customer billing queries increased by 400% during peak hours. API gateway latency degraded from 25ms to 850ms.
  • Latency: 40.2 ms
  • Top Decision: 48.05% — Auto-scale compute nodes and enable Redis query caching
  • Distribution:
    • [48.05%] Auto-scale compute nodes and enable Redis query caching
    • [47.66%] Throttle customer incoming requests with HTTP 429 status
    • [ 4.00%] Shut down non-essential internal batch processing jobs
    • [ 0.40%] Ignore latency degradation

Custom Inference & Loading

[!IMPORTANT] Inference Notice: QJev uses a custom 2-layer MLP decision head (decision_head.safetensors) coupled to the final hidden representation. Standard generic pipeline("text-classification", model="AnkitNayak-dev/QJev-1.5B") from Hugging Face Transformers will not automatically bind the custom decision head weights.

Use the official single-line loader from qjev import QJev or the custom PyTorch loading implementation detailed below.

Option A: Official Python SDK (qjev.py) [Recommended]

from qjev import QJev

# Load flagship model directly from Hugging Face Hub (or local directory)
model = QJev.from_pretrained("AnkitNayak-dev/QJev-1.5B")

# Execute single-pass decision inference (~31 ms)
result = model.decide(
    context="Production database primary replica CPU utilization reached 100% and connection pool is exhausted.",
    choices=[
        "Trigger immediate automated failover to standby replica",
        "Restart the primary database daemon immediately",
        "Double connection pool limits without scaling compute",
        "Silence alerts and monitor for next 15 minutes"
    ]
)

print(f"Recommended Action: {result['best_choice']} ({result['confidence']}%)")
for choice, prob in result['probabilities'].items():
    print(f"  [{prob:5.2f}%]  {choice}")

Option B: Standalone PyTorch Loading (Zero External Wrapper Dependencies)

import torch
import torch.nn as nn
from transformers import AutoTokenizer, AutoModelForCausalLM
from safetensors.torch import load_file
from huggingface_hub import hf_hub_download

class DecisionHead(nn.Module):
    def __init__(self, hidden_size=1536, intermediate_size=512, max_choices=10):
        super().__init__()
        self.norm = nn.LayerNorm(hidden_size)
        self.dense = nn.Linear(hidden_size, intermediate_size)
        self.act = nn.GELU()
        self.out_proj = nn.Linear(intermediate_size, max_choices)

    def forward(self, x, num_choices=None):
        h = self.act(self.dense(self.norm(x)))
        logits = self.out_proj(h)
        if num_choices is not None:
            mask = torch.arange(10, device=x.device).unsqueeze(0) >= num_choices.unsqueeze(1)
            logits = logits.masked_fill(mask, -1e4)
        return logits

# 1. Load backbone and tokenizer
model_id = "AnkitNayak-dev/QJev-1.5B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
backbone = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="cuda")

# 2. Load decision head weights
head = DecisionHead().to(device="cuda", dtype=torch.bfloat16)
head_file = hf_hub_download(repo_id=model_id, filename="decision_head.safetensors")
head.load_state_dict(load_file(head_file), strict=False)
head.eval()
backbone.eval()

Serving and Deployment

1. Production Microservice (serve.py) [Tested & Production Ready]

The recommended way to serve QJev in production is using the bundled FastAPI microservice, which executes native single-pass System 1 inference:

python serve.py --model AnkitNayak-dev/QJev-1.5B --port 8000

Endpoints

  • POST /v1/decide - Direct decision endpoint returning calibrated probabilities.
  • POST /v1/systemone - Official BenchmarkHeaven and JevBench evaluation protocol.
  • POST /v1/chat/completions - OpenAI-compatible drop-in proxy.

Query via cURL

curl -X POST http://localhost:8000/v1/decide \
  -H "Content-Type: application/json" \
  -d '{
    "context": "Customer requests immediate refund after policy window has expired.",
    "choices": ["Approve refund", "Issue store credit", "Deny request"]
  }'

2. Hugging Face Inference Endpoints (handler.py) [Tested]

All model repositories contain a custom handler.py (EndpointHandler) configured for Hugging Face Inference Endpoints. It automatically loads decision_head.safetensors alongside the backbone and returns structured prediction scores.

3. Alternative & Experimental Backends

[!WARNING] Architecture Clarification on GGUF, Ollama, and vLLM: Standard causal language model engines (llama.cpp, Ollama, vLLM) are optimized for autoregressive token generation. They do not natively evaluate custom standalone MLP classification heads (decision_head.safetensors).

  • Ollama (Modelfile): [Experimental] Runs the fine-tuned backbone autoregressively using a System 1 decision prompt template. Output is generated text tokens, not direct forward-pass MLP probabilities.
  • GGUF / llama.cpp (scripts/export_gguf.py): [Experimental] Converts the transformer backbone weights to GGUF for local CPU inference. A custom llama.cpp tensor branch supporting the MLP decision head is under active research.
  • vLLM: [Experimental] Standard vllm serve will serve the model as an autoregressive causal LM. For native single-pass decision serving, use serve.py or the custom Python SDK.

Architecture

[Prompt Context + Formatted Candidate Choices]
                       │
                       ▼
           ┌────────────────────────┐
           │ Qwen2.5-1.5B Backbone  │  (bfloat16 weights, QLoRA adapted)
           └───────────┬────────────┘
                       │ (Final Hidden State: 1536 dim)
                       ▼
           ┌────────────────────────┐
           │    LayerNorm(1536)     │  (float32 weights)
           └───────────┬────────────┘
                       │
                       ▼
           ┌────────────────────────┐
           │  Linear(1536 -> 512)   │  (GELU Activation, Dropout 0.1)
           └───────────┬────────────┘
                       │
                       ▼
           ┌────────────────────────┐
           │   Linear(512 -> 10)    │  (Dynamic Logit Masking for N Choices)
           └───────────┬────────────┘
                       │
                       ▼
         [Calibrated Softmax Probabilities]

Citation

@misc{nayak2026qjev15b,
  author = {Ankit Nayak},
  title = {QJev-1.5B: Lightweight Decision-Making Model for AI Agents based on Qwen2.5},
  year = {2026},
  publisher = {GitHub and Hugging Face},
  howpublished = {\url{https://github.com/AnkitNayak-dev/QJev-1.5B}}
}

License

This project is licensed under the Apache 2.0 License. Base model weights are governed by the Alibaba Cloud Qwen License. Training data is provided by SargeDev (jev-distill-corpus-v3).

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen2ForCausalLM
Ревизия весов
42e4c9e

0 моделей