Text Classification
jev-style
Safetensors
Transformers
qwen3_5
image-text-to-text
decision-model
decision-making
system-one
calibration
classification
long-context
vision
multimodal
qwen3.5
llm-routing
guardrails
Run this model with HF Jobs
Run chaoliangUNSW/Jev-Style-2B-Decision-v4 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/chaoliangUNSW/Jev-Style-2B-Decision-v4. 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/chaoliangUNSW/Jev-Style-2B-Decision-v4 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 chaoliangUNSW/Jev-Style-2B-Decision-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- jev-style
How to use chaoliangUNSW/Jev-Style-2B-Decision-v4 with jev-style:
pip install "jev-style[torch]"
from jev_style import JevStyle, noul, choice js = JevStyle.from_pretrained("chaoliangUNSW/Jev-Style-2B-Decision-v4") out = js.decide("I was charged twice for one order.", { "billing": noul("This message is about billing."), "team": choice("Which team should handle it?", ["billing", "shipping", "tech"]), }) print(out["answers"]["team"]["choice"]) - Transformers
How to use chaoliangUNSW/Jev-Style-2B-Decision-v4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="chaoliangUNSW/Jev-Style-2B-Decision-v4")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("chaoliangUNSW/Jev-Style-2B-Decision-v4") model = AutoModelForMultimodalLM.from_pretrained("chaoliangUNSW/Jev-Style-2B-Decision-v4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download src/macjev/paths.py from chaoliangUNSW/Jev-Style-2B-Decision-v4: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/chaoliangUNSW/Jev-Style-2B-Decision-v4/resolve/main/src/macjev/paths.py
- Command line
-
hf download hf://chaoliangUNSW/Jev-Style-2B-Decision-v4/src/macjev/paths.py
-
curl -L -o paths.py https://huggingface.co/chaoliangUNSW/Jev-Style-2B-Decision-v4/resolve/main/src/macjev/paths.py
1.18 kB
| """Directory conventions for the round-2 stack. All paths are inside the project root.""" | |
| from __future__ import annotations | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parents[2] | |
| BASES = ROOT / "models" / "bases" | |
| DOWNLOADS = ROOT / "data" / "downloads" # pinned raw HF files, one folder per repo/revision | |
| DATA_V3 = ROOT / "data" / "master-v3" | |
| RAW_V3 = DATA_V3 / "raw" # raw/<builder>/{train,dev,cal,test}.jsonl + manifest.json | |
| POOL_V3 = DATA_V3 / "pool" # assembled, token-counted splits | |
| EVAL_V3 = ROOT / "data" / "eval-v3" # eval/<suite>/rows.jsonl + manifest.json (sealed suites excluded) | |
| RUNS_V3 = ROOT / "runs" / "macjev" | |
| QWEN_08B_BASE = "Qwen/Qwen3.5-0.8B-Base" | |
| def base_dir(repo: str) -> Path: | |
| """Pinned local snapshot of a base model (models/bases/<org--name>/<revision>).""" | |
| folder = BASES / repo.replace("/", "--") | |
| revisions = [p for p in folder.iterdir() if p.is_dir() and (p / "source_manifest.json").exists()] | |
| if len(revisions) != 1: | |
| raise FileNotFoundError(f"expected exactly one verified snapshot under {folder}, found {revisions}") | |
| return revisions[0] | |