Downloads · 30 days
215
100% of all-time downloads
samatv256/mini-Jev
mini-Jev is a machine learning model from samatv256. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as apache-2.0.
A Qwen3-0.6B-based decision model for tool selection, routing, and agent-control experiments.
Downloads · 30 days
215
100% of all-time downloads
All-time downloads
215
Public
Parameters
263K
1.1 MB on disk
Likes
17
Trending 15
Click a slice to open those files.
.safetensors1.1 MB · 97%
From the Hugging Face model README
A Qwen3-0.6B-based decision model for tool selection, routing, and agent-control experiments.
mini-Jev is an experimental decision model designed to make structured control decisions inside an agent loop:
state + available candidates → probabilities + selected decision
The current release:
Note on naming: The model implementation was originally developed under the internal name ODM Mini v1. That name remains in class names (
ODMMiniModel), loader files (odm_mini.py), andconfig.jsonfor backwards compatibility.
AI agents frequently encounter situations where they must make small, structured decisions rather than generate free-form text. Common examples include:
Rather than invoking a large generative language model for every routing and control decision, mini-Jev explores using a small, specialized decision model to evaluate candidate options directly over agent state.
mini-Jev is an experimental baseline and is not intended for unmonitored production use.
Current release: Qwen3-0.6B-based mini-Jev v1
Frozen Qwen3-0.6B → candidate representation → lightweight decision head → grouped softmax
Qwen/Qwen3-0.6B, which remains completely frozen. The weights in this repository contain only the trained decision head; the Qwen backbone is downloaded separately by the loader.Linear(1024, 256)GELULinear(256, 1)pip install torch transformers safetensors huggingface_hub
Download the loader module:
hf download samatv256/mini-Jev odm_mini.py --local-dir .
from odm_mini import ODMMiniModel
model = ODMMiniModel.from_pretrained("samatv256/mini-Jev")
choice = model.predict_choice(
state={"user_request": "Find the weather in Boston."},
candidates=[
{
"id": "weather.lookup",
"description": "Look up the current weather.",
},
{
"id": "calendar.list",
"description": "List calendar events.",
},
],
)
print("Selected:", choice.selected)
print("Probabilities:", choice.probabilities)
You can also download all repository files to a local directory before loading:
import sys
from pathlib import Path
from huggingface_hub import snapshot_download
release_dir = Path(
snapshot_download(
repo_id="samatv256/mini-Jev",
allow_patterns=[
"README.md",
"model.safetensors",
"config.json",
"odm_mini.py",
"LICENSE",
],
)
)
sys.path.insert(0, str(release_dir))
from odm_mini import ODMMiniModel
model = ODMMiniModel.from_pretrained(release_dir)
state = {
"user_request": "Find the current weather in Boston.",
"available_context": "The user has not provided weather data.",
}
candidates = [
{
"id": "weather.lookup",
"description": "Look up current weather for a specified city.",
},
{
"id": "calendar.list",
"description": "List upcoming calendar events for the user.",
},
{
"id": "control.finish",
"description": "Finish because the request has already been completed.",
},
]
choice = model.predict_choice(state=state, candidates=candidates)
print("Selected candidate:", choice.selected)
print("Probabilities:", choice.probabilities)
print("Confidence:", choice.confidence)
print("Decision margin:", choice.decision_margin)
print("Latency (ms):", choice.latency_ms)
ODMMiniModel.from_pretrained() accepts either the Hugging Face repo ID or a local directory path. CUDA runs in BF16 by default; CPU runs in FP32.
mini-Jev can be used for several structured agent-control patterns:
State:
User wants to find the weather in Boston.
Candidates:
- web_search
- weather_tool
- calculator
- finish
Decision:
weather_tool
Researchers interested in training and evaluating decision models can explore the Jev Decisions v1 dataset.
Important: The current mini-Jev Qwen3-0.6B baseline was NOT trained on Jev Decisions v1. It is provided as an open project resource for community research.
The results below reflect the public Qwen3-0.6B baseline checkpoint:
Qwen/Qwen3-0.6B| Metric | Result |
|---|---|
| Semantic Choice accuracy | 72.97% |
| Stress Choice accuracy | 67.64% |
| Counterfactual pair consistency | 67.12% |
In an offline evaluation on real agent executions across 75 multi-step trajectories and 243 decisions, the baseline achieved:
These metrics are reported to transparently show the significant transfer gap between synthetic single-step decisions and dynamic, multi-step agent trajectories.
mini-Jev v1 is an experimental research prototype and is not ready for unmonitored production agent control.
finish decisions. After making partial progress, it frequently over-indexes on successful intermediate receipts and chooses control.finish before completing remaining steps.Future work will continue exploring improved decision models and training on larger real agent/tool-use datasets.
model.safetensors — Trained DecisionHead weights only (262,657 parameters, ~1.1 MB)config.json — Architecture specification and backbone referenceodm_mini.py — Inference loader moduleREADME.md — Model card and usage documentationLICENSE — Apache License 2.0The mini-Jev decision head and loader code are released under the Apache-2.0 License. The separately downloaded Qwen3-0.6B backbone is governed by its own license terms from the Qwen team.