Quyet
Quyet is a family of decision models. Give it a state (any text, JSON or conversation) and one or more typed questions; it picks one option per question and returns calibrated probabilities. Nothing is generated: every answer is a probability distribution over the options you supplied.
This package is the runtime for all Quyet 1.0 models. The weights are on Hugging Face.
The models are built for English and also tuned for Vietnamese; other languages work, with lower accuracy. Small-EN is trained on English only.
| model | kind | parameters |
|---|---|---|
| Quyet-1.0-Large | LLM (GPU) | 31.3B (30.7B text) |
| Quyet-1.0-Medium | LLM (GPU) | 4.66B (4.21B text) |
| Quyet-1.0-Small | encoder (CPU or GPU) | 328M |
| Quyet-1.0-Small-EN | encoder (CPU or GPU) | 153M |
| Quyet-1.0-Tiny | encoder (CPU or GPU) | 183M |
Install
pip install quyet # CPU or single GPU
pip install "quyet[multi-gpu]" # spread Quyet-1.0-Large over several GPUs (device_map="auto")
Python 3.10 or newer. The first quyet.load downloads the weights from Hugging Face.
Use
import quyet
m = quyet.load("chinhnc/Quyet-1.0-Small")
r = m.predict(
{"message": "Please close my card, I lost it yesterday."},
{"intent": {"type": "choice", "instructions": "What does the customer want?",
"criteria": {"cancel": "close the card", "limit": "change the limit", "other": None}},
"urgent": {"type": "noul", "instructions": "The request is urgent."},
"mood": {"type": "score", "instructions": "How upset is the customer?", "criteria": ["calm", "annoyed", "angry"]}},
)
print(r["answers"])
quyet.load(name_or_path, device=None, revision=None, dtype=None, device_map=None) accepts a Hugging Face repo id or a
local directory. predict_many answers a list of requests; raw_probabilities returns the uncalibrated distributions.
Question types and answers
Answers follow the TypeSafe /v1/systemone shape:
choice: pick one label fromcriteria(a dict of label to description, or a list of labels). Answer:choice,confidence,probabilities.score: an ordered scale given as a list of levels. Answer: expected levelscore,probabilities,legend.noul: a statement that is true or false. Answer:noul= P(true).
Probabilities are temperature-calibrated per question type and option count.
Command line
quyet predict chinhnc/Quyet-1.0-Small < requests.jsonl > answers.jsonl
Each input line is {"state": ..., "questions": {...}}; each output line is the response or {"error": ...}.
Options: --input FILE, --device cpu|cuda|cuda:1, --strict (fail instead of truncating a long state).
Limits
- At most 10 options per question; more are rejected, not truncated.
- Only the state is ever truncated: conversation lists keep their most recent turns, other states keep their beginning. Encoders read 8,192 tokens; the LLMs keep up to 6,000 state tokens.
- Not evaluated for safety, bias or adversarial robustness; do not use as the only control for high-stakes decisions.
Licence and credit
Apache-2.0 for the code and the weights. Keep the NOTICE file, which starts with "Quyet by Chinh Nguyen", when you redistribute this package, a model, or anything derived from them.
@misc{quyet2026,
title = {Quyet 1.0: calibrated decision models},
author = {Chinh Nguyen},
year = {2026},
url = {https://github.com/ncchinh/quyet}
}
Questions and issues: GitHub issues or email@chinh.com.
Metadata
Release files for quyet 1.0.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 | |
|---|---|---|---|
| quyet-1.0.1.tar.gz | 26.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quyet-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.0 kB
Release files / quyet-1.0.1.tar.gz
| Download URL | quyet-1.0.1.tar.gz |
|---|---|
| Size | 26.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45abe429759cea9fe1aefe194d138dec4dcb98e0af006873a32f1d94b94b1b98
|
|
BLAKE2b-256 checksum How to use checksums |
c05c9e8ed388f65b28b07de94db3f1aad4df8625966781543cad3529a3fd9b37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / quyet-1.0.1-py3-none-any.whl
| Download URL | quyet-1.0.1-py3-none-any.whl |
|---|---|
| Size | 25.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04caf15f360d2618cc6f3b8c1d2cf9f7d2c1fa7bb0da153d03e9811f1204055e
|
|
BLAKE2b-256 checksum How to use checksums |
80722102b7b079a60dce549be43e7d149488bf81c22bc3fed0697e5056447213
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|