onepass
A tiny open decision model. You give it a piece of text (the "state") and typed questions: yes/no, choose one option, or pick a level on a scale. It returns a probability for every possible answer, for all questions at once, from a single forward pass. It generates no tokens, so the output can never be malformed.
The model is Qwen3-0.6B (or Qwen3-1.7B) with a LoRA adapter, trained on open datasets. It was never trained on the benchmark it is scored on.
Watch the demo (90 seconds): youtube.com/watch?v=ZZR8TRsX1h4
All models are in the onepass collection on Hugging Face:
| Size | transformers | GGUF (llama.cpp) | LoRA adapter |
|---|---|---|---|
| 0.6B | onepass-qwen3-0.6b | onepass-qwen3-0.6b-GGUF | onepass-qwen3-0.6b-lora |
| 1.7B | onepass-qwen3-1.7b | onepass-qwen3-1.7b-GGUF | onepass-qwen3-1.7b-lora |
What it does
The probabilities above are the real output of the 8-bit 0.6B model for this message. Every question gets a probability for each of its options, read from one forward pass.
Results
Scored on the 400-case test split of LocalLLaMA/typed-decisions (2,000 decisions), with the formulas from the benchmark's own scoring script. Accuracy: higher is better. KL from gold, Brier and ECE: lower is better.
| Model | Accuracy | KL from gold | Brier | ECE |
|---|---|---|---|---|
| Qwen3-0.6B, no fine-tuning | 0.311 | 0.888 | 0.428 | 0.306 |
| Qwen3-1.7B, no fine-tuning | 0.278 | 1.914 | 0.812 | 0.611 |
| Label frequencies from the benchmark's train split (ignores the input) | 0.481 | 0.327 | 0.181 | 0.036 |
| onepass 0.6B | 0.601 | 0.270 | 0.154 | 0.049 |
| onepass 1.7B | 0.646 | 0.236 | 0.129 | 0.076 |
The 8-bit file (639 MB for the 0.6B) gives almost the same answers as the 16-bit one. Results by question type, four held-out human-labelled sets, every file size, and what happens when the model writes its answers instead: docs/results.md.
Quick start
With uv and nothing else installed, download the 8-bit 0.6B model and start the local server and demo page:
uvx --from huggingface_hub hf download samadpls/onepass-qwen3-0.6b-GGUF onepass-qwen3-0.6b-Q8_0.gguf --local-dir .
uvx --from "onepassai[serve]" onepass-serve onepass-qwen3-0.6b-Q8_0.gguf
Or run the web app from this repo:
uv run --extra serve --with streamlit --with huggingface_hub streamlit run demo/streamlit_app.py
The HTTP API, the Python API, the 1.7B model, and a copy-paste version that needs only
transformers: docs/usage.md.
How it works
- One slot per question. The prompt lists the state, then each question with
its options as letters (A, B, C ...), each followed by
Answer:. The model's scores for the option letters at that position become the answer probabilities. - No answer leaks into the next question. A fixed placeholder follows every slot, so each answer depends only on the state and the questions so far.
- Trained on probabilities. Where a dataset has several human raters, the training target is the share of raters who chose each answer, not a single label.
- One decode call at run time. The whole prompt goes into one llama.cpp batch, with scores read only at the answer positions.
The data, how it was cleaned, and the training setup: docs/training.md.
Docs
| Page | What's in it |
|---|---|
| docs/results.md | Full benchmark results, held-out sets, GGUF sizes, generation baseline |
| docs/usage.md | Server, HTTP API, Python, demo app, using it with only transformers |
| docs/training.md | Prompt layout, data sources, cleaning, LoRA training, calibration, and how the first model failed |
Credit
Built by Abdul Samad (samadpls.com, abdulsamadsid1@gmail.com). Licensed under Apache-2.0.
Metadata
Release files for onepassai 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| onepassai-0.1.1.tar.gz | 24.9 kB | Without provenance | Details for onepassai-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| onepassai-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for onepassai-0.1.1-py3-none-any.whl |
Total release size: 54.1 kB
Release files / onepassai-0.1.1.tar.gz
| Download URL | onepassai-0.1.1.tar.gz |
|---|---|
| Size | 24.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e36892d881abf7387a187deccb748eb8b4c0ac68dc0f9208d87827dad4aeb80
|
|
BLAKE2b-256 checksum How to use checksums |
a4da126a2f7855647084503177969ca8b9a333c4b44855a823b8e4b614c51864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / onepassai-0.1.1-py3-none-any.whl
| Download URL | onepassai-0.1.1-py3-none-any.whl |
|---|---|
| Size | 29.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f017ede5a1fd8b02b4a66a09f88adac39ba01144644d377beffbcf85d5a72ac
|
|
BLAKE2b-256 checksum How to use checksums |
b499384ed4e0e6947def886068863e61775295181000d329a8b3324237603faf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for onepassai 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.