---
title: SearchJev-4B
canonical_url: "https://www.modelscope.cn/models/qboodp/SearchJev-4B"
md_url: "https://www.modelscope.cn/models/qboodp/SearchJev-4B.md"
repository: qboodp/SearchJev-4B
last_updated: 2026-10-25
license: apache-2.0
base_model:
  - Qwen/Qwen3.5-4B
base_model_relation: adapter
parameters: 32.5M
tensor_type:
  - F32
library_name:
  - lora
  - safetensors
language:
  - zh
  - en
downloads: 3
stars: 0
tags:
  - lora
  - searchjev
  - search-agent
  - system-1
  - calibration
  - decision-model
---

# SearchJev-4B

> SearchJev-4B - qboodp 在 ModelScope 开源的模型。SearchJev is a fast and calibrated System-1 model for search agents. Given a search state and a decision schema (e.g. is this document relevant?, is the evidence sufficient?, where should the next query go?), it…

qboodp/SearchJev-4B 是 ModelScope 魔搭社区上的 32.5M 参数机器学习模型，采用 apache-2.0 许可，基于 Qwen/Qwen3.5-4B 构建。

- **Repository**: qboodp/SearchJev-4B
- **License**: apache-2.0
- **Parameters**: 32.5M
- **Base model**: Qwen/Qwen3.5-4B
- **Tags**: lora, searchjev, search-agent, system-1, calibration, decision-model
- **Downloads**: 3
- **Stars**: 0
- **Last updated**: 2026-10-25

Source: https://www.modelscope.cn/models/qboodp/SearchJev-4B

---

# SearchJev-4B

SearchJev is a fast and calibrated **System-1 model for search agents**. Given a search state and a decision
schema (e.g. *is this document relevant?*, *is the evidence sufficient?*, *where should the next query go?*),
it returns a calibrated probability distribution over the legal values of every field in a single forward pass,
without autoregressive decoding. In a dual-system search agent it takes the short decisions around a System-2 LLM
and hands low-confidence ones back to it.

This repository holds the LoRA adapter of **SearchJev-4B** on
[Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B), together with its per-question-type
temperatures and option-label alphabet.

- Code (training and inference): <https://github.com/EvoScientist/Search_Jev>
- Training data: [SearchDecision-Bench](https://huggingface.co/datasets/SearchJev/search_jev_unified_v2_release_20260928)
- Training logs: [W&B report](https://forge.coreweave.com/wandb/R-DTeam/Search_JEV/reports/Search_Jev-Report--VmlldzoxODAzMTUwMw)
- Paper: *SearchJev: A Fast and Calibrated System-1 Model for Search Agents*

## Usage

```bash
git clone https://github.com/EvoScientist/Search_Jev && cd Search_Jev
pip install -r requirements.txt          # a CUDA GPU is required (Qwen3.5 linear-attention kernels)
```

```python
from huggingface_hub import snapshot_download
from training.inference import JEVPredictor

predictor = JEVPredictor(snapshot_download("SearchJev/SearchJev-4B"), device="cuda", merge_lora=True)
result = predictor.decide(
    state={"question": "When was the Eiffel Tower completed?",
           "documents": ["The Eiffel Tower was completed in March 1889 for the World's Fair."]},
    question="Is the evidence sufficient to answer the question now?",
    question_type="noul",                      # noul (yes/no) | choice | score
)
print(result.choice, result.confidence, result.probabilities)
```

The calibrated temperatures in `calibration.json` are applied automatically
(choice 1.11, yes/no 0.82, ordinal score 1.01).

## Results

In-distribution test sets of SearchDecision-Bench (the decision-quality table of the paper).
Relevance: NDCG@10 / ECE; other families: accuracy / ECE (all x100); latency: p50 ms per decision at batch size 1
on one H200. AR: the same backbone before training, emitting JSON under constrained decoding.

| Model | Relevance | Sufficiency | Routing | Navigation | Rewriting | Verification | Latency (ms) |
|---|---|---|---|---|---|---|---|
| Qwen3.5-4B AR (JSON) | 96.7 / 4.2 | 57.7 / 15.0 | 53.3 / 6.7 | 37.8 / 26.3 | 66.1 / 5.5 | 55.1 / 4.7 | 195.2 |
| **SearchJev-4B** | 99.0 / 6.5 | 96.0 / 5.6 | 86.6 / 5.7 | 57.2 / 8.4 | 85.9 / 2.0 | 93.2 / 8.8 | 37.1 |

## Training

LoRA (rank 16, alpha 32, dropout 0.05) on the attention, Gated DeltaNet, and MLP projections; one epoch over the
683,130 training decisions of SearchDecision-Bench (5,176 steps, effective batch 132 on 6 H200 GPUs); AdamW,
learning rate 5e-5, cosine schedule with 5% warm-up, bf16; loss = soft-label cross-entropy + 0.5 x Brier score,
with half weight for LLM-assigned labels, demonstrations, and constructed rewrites; one temperature per question
type fitted on 5,000 validation decisions. `config.resolved.yaml` is the exact configuration of the run.

## License

Apache-2.0, like the Qwen3.5 base model.
