--- license: other license_name: research-and-demo license_link: https://github.com/hopit-ai/hopper/blob/main/MODEL_CARD.md base_model: Qwen/Qwen3.5-4B library_name: peft language: - en tags: - lora - peft - base_model:adapter:Qwen/Qwen3.5-4B - qwen3.5 - decision-making - calibration - jevbench datasets: - allenai/ai2_arc - tau/commonsense_qa - cais/mmlu - stanfordnlp/snli - nyu-mll/multi_nli - tals/vitaminc - google/boolq - rajpurkar/squad_v2 - clinc/clinc_oos - fancyzhx/dbpedia_14 - nvidia/HelpSteer2 --- # Hopper Hopper models make single-pass decisions: a document, a policy and a question go in, and a probability for every allowed option comes out. One forward pass per decision; no text is generated. They are served by [github.com/hopit-ai/hopper](https://github.com/hopit-ai/hopper), an HTTP server that speaks the [JevBench](https://github.com/fstandhartinger/jevbench) `/v1/systemone` wire format. ## Models in this repository | Model | Where | Base model | Adapter | Licence | Status | | --- | --- | --- | --- | --- | --- | | **Hopper (4B)** | `main` (this page) | [`Qwen/Qwen3.5-4B`](https://huggingface.co/Qwen/Qwen3.5-4B) @ `851bf6e` | LoRA rank 16 | research and demo use only¹ | [JevBench](https://benchmarkheaven.com/jev-models) **67.5, #16** (v1.5.5, 2 Oct 2026) | | **Hopper 12B (trained)** | branch [`hopper-12b`](https://huggingface.co/HopitAI/hopper/tree/hopper-12b) @ `4b605f2` | [`google/gemma-4-12B-it`](https://huggingface.co/google/gemma-4-12B-it) @ `707f0a3` | LoRA rank 32, served unmerged | Apache-2.0 | [Decision Index](https://huggingface.co/datasets/HopitAI/hopper-12b-decision-index-results) **47.52** (0.2.1, [PR #63](https://github.com/apolinario/decision-index/pull/63)); requested on JevBench ([issue #164](https://github.com/fstandhartinger/jevbench/issues/164)) | ¹ The 4B adapter's training data included passages from RACE, which is released for non-commercial research only. Do not use it commercially. See [Licence and research-only notice](#licence-and-research-only-notice). The general-purpose line, Hopper (G), lives at [`HopitAI/hopper-g`](https://huggingface.co/HopitAI/hopper-g). ## Quick start ### Hopper 12B (trained) ```sh pip install "git+https://github.com/hopit-ai/hopper@12b-1.1.0" hopper-serve --base-loader gemma-4-12b-it \ --adapter HopitAI/hopper@4b605f25eb903c2cf4d121040ffb097240b3bc37 \ --readout-map "$(python -c 'import hopper_decisions, pathlib; print(pathlib.Path(hopper_decisions.__file__).parent / "maps/hopper-12b-trained-readout.json")')" \ --port 8080 ``` Always pin the revision: `HopitAI/hopper` without one resolves to `main`, the Qwen3.5-4B adapter, which does not fit this base. Files, checksums, training data and licence are on the [`hopper-12b` branch's model card](https://huggingface.co/HopitAI/hopper/blob/hopper-12b/README.md). ### Hopper (4B) Install the serving code from [github.com/hopit-ai/hopper](https://github.com/hopit-ai/hopper) as its README describes (with the pinned kernel packages listed under [How to load it](#how-to-load-it)), then: ```sh hopper-serve --adapter HopitAI/hopper --port 8080 ``` For the Python API and for loading with transformers and peft directly, see [How to load it](#how-to-load-it). ## Hopper (4B) details ### Licence and research-only notice > **Research and demo use only.** This adapter is published for research and demonstration. Its training data > included passages from RACE (via the `cais/mmlu` auxiliary set), which its authors release for non-commercial > research only and whose terms extend to derived data. Do not use this adapter commercially. Hopper 12B (trained), > on branch [`hopper-12b`](https://huggingface.co/HopitAI/hopper/tree/hopper-12b), was trained without these passages > and is Apache-2.0. The serving code is licensed Apache-2.0. The adapter weights are offered for research and demo use only, because of the RACE training-data terms described above and under "Training data". The base model is Apache-2.0 ([licence](https://huggingface.co/Qwen/Qwen3.5-4B/blob/main/LICENSE)), and this adapter does not change its terms. ### How it works Hopper is a LoRA adapter (rank 16) for [`Qwen/Qwen3.5-4B`](https://huggingface.co/Qwen/Qwen3.5-4B) at revision `851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a`. It is built for the [JevBench](https://github.com/fstandhartinger/jevbench) setting: a document, a policy and a question go in, and a probability distribution over a fixed set of options comes out. - **One forward pass per decision**, with thinking off. No text is generated. The answer is a softmax over the logits of the option letters (A, B, C, ...), restricted to as many letters as there are options. - **A calibration map** (`hopper.json`) rescales that distribution by one temperature per answer type: choice 0.790, noul 0.753, score 0.900. It was fitted only on our own held-out JevBench-style items, never on a JevBench item. The map never changes the top answer — it divides log-probabilities by a positive number, which cannot reorder them. (In 1.0.0 the map was instead a bounded linear function of option count, state length, JSON-or-not, answer type and the entropy of the model's own distribution. A leave-one-source-out ablation showed that map was worth +0.1 Calibration over no map at all on sources its fitting set had never seen, against +4.5 and +2.9 for the per-answer-type map fitted on the same data, so 1.1.0 replaced it. Answers are identical either way; only the confidences move. The old map ships alongside as `hopper-v1.0-linear.json`.) - **Serving code**: [github.com/hopit-ai/hopper](https://github.com/hopit-ai/hopper). It runs an HTTP server with the JevBench `/v1/systemone` wire format. At load it merges the adapter into the bf16 weights, and it refuses to start if the fast linear-attention kernels are not active. ### Intended use Hopper makes single-step policy decisions over a short document: yes/no (`noul`), choice among named options, and ordinal scores. It returns calibrated probabilities, and it is meant to be run and measured on JevBench. It is not a chat model. It is also not meant for decisions with legal, medical, financial or safety consequences unless a person reviews them. ### Prompt format The chat template of Qwen3.5-4B is applied with `enable_thinking=False` and a generation prompt. - **System**: `You make decisions about a document under a policy. Read only what is written in the document. Reply with the letter of the correct option and nothing else.` - **User**: one JSON object, `{"evidence": , "criterion": \n\n, "options": [{"letter": "A", "description": "