A toolkit for JevLike decision models.
README: English · 简体中文
Intro ·
Get started ·
Cookbook ·
Concepts & Tensors ·
Documentation ·
Download 0.1.0 ·
Contribute
Train, reproduce and deploy JevLike models. One toolkit connects training, calibration, evaluation and serving. Reproduce an open recipe or build a decision model for your own labeled task.
Tev1 4B, reproduced with MetisCraft
| Evaluation set | MetisCraft 4B | Original Tev1 4B | Difference |
|---|---|---|---|
| Main decisions · 1,000 questions | 87.3% · 873/1,000 | 88.0% | −0.70 pp |
| Policy transfer · 300 questions | 99.33% · 298/300 | 100% | −0.67 pp |
Both predeclared accuracy checks passed. Single seed, the same public development questions; the original training history was not recovered, and calibration can worsen NLL. Reproduction record and limits · Training recipe · Model architecture atlas.
One message. Two decisions.
“My card was stolen this morning and there are two payments on it that I did not make.”
An existing customer-routing model selects security and answers whether the message is urgent. This is an actual response excerpt from run 20261105-101057-30757bf7, on a constructed message. A probability is not an accuracy score.
{
"queue": {"choice": "security", "confidence": 0.9999995054983101},
"urgent": {"noul": 0.9999314182034214}
}
Full request and response · Recipe and test results. On the same run, queue accuracy is 97.8%, versus a 24.7% prior baseline (n=3,080). This is a teaching scenario, not a production deployment.
Four kinds of judgment. One workflow.
| Judgment | A question you can ask | Python / batch | HTTP |
|---|---|---|---|
Yes/no noul |
Is this message urgent? | ✓ | ✓ |
Choice choice |
Which team should handle it? | ✓ | ✓ |
Ordered score score |
What severity level applies? | ✓ | ✓ |
Multiple labels multi_label |
Which topics are present? | ✓ | — |
Choose answer-token logits or a candidate scalar head in your recipe. Train with LoRA, full or frozen backbones. Artifacts record configuration, data versions, base identity and evaluation results. Calibration uses held-out data; its benefit must be measured on your target distribution.
Inside a decision model
One recorded customer-routing configuration combines Qwen3-0.6B-Base + LoRA with a shared 1024 → 256 → 1 scalar head. In list layout, candidate-end hidden states are gathered from a causal sequence, scored and normalized over the defined answer space.
Explore the architecture for tensor shapes, candidate visibility, numerical examples and source references.
Tev1 4B: the answer-token reproduction architecture
Tev1 uses the existing Qwen3.5-4B vocabulary head. The MetisCraft reproduction trains LoRA with full-vocabulary letter/EOS completion targets, then selects answer-code logits at inference.
Reproduction protocol and limits distinguish the upstream constrained-generation protocol from direct-logit evaluation.
Get started
Compatibility and support defines the tested dependency environments, interfaces and artifact-loading rules for 0.1.0.
Use Python 3.10 or 3.11 with a suitable PyTorch build. Download the verified wheel from the GitHub release and install it from your download directory.
python -m pip install './metiscraft-0.1.0-py3-none-any.whl[serve]'
Run the example in a fresh workspace.
metiscraft init my-first-judge
cd my-first-judge
python prepare.py
metiscraft data import dataset.yaml --data-root ./data
CUDA_VISIBLE_DEVICES='' OMP_NUM_THREADS=1 metiscraft train recipe.yaml
Run your first model includes installation, expected outputs, evaluation and HTTP calls. It uses a tiny random model and synthetic data: no GPU or weight download required. Then bring your own task.
Recipes and results
| Recipe | Recorded evidence | Boundary |
|---|---|---|
| Customer routing | One model answers choice and yes/no questions | A teaching scenario derived from Banking77 |
| Banking77 | Two readouts under one protocol | No matched encoder comparison yet |
| Tev1 4B | 87.3% vs original 88.0%; transfer 99.33% vs 100% | Accuracy targets met; training-history and calibration limits remain |
| BoolQ · SST-5 · GoEmotions | Recipes across judgment types | GoEmotions results predate the prior-shift fix; see the recipe |
Every number links to a recipe or reproduction record. The ecosystem matrix covers JevAny, ms-swift and other projects; limitations distinguish software checks from model-quality evidence.
Documentation and community
Cookbook · Concepts & Tensors · Five-minute walkthrough · Data format · Training · Serving · Changelog
Contribute, report a bug or suggest a feature.
JevLike introduction: task, data and tensor architecture
License
Code is Apache-2.0. Datasets and base models retain their own terms; check metadata and the artifact NOTICE before distributing trained weights.
Metadata
Release files for metiscraft 0.1.0
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 |
|---|---|---|---|---|
| metiscraft-0.1.0.tar.gz | 40.6 MB | With provenance | Details for metiscraft-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| metiscraft-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for metiscraft-0.1.0-py3-none-any.whl |
Total release size: 40.7 MB
Release files / metiscraft-0.1.0.tar.gz
| Download URL | metiscraft-0.1.0.tar.gz |
|---|---|
| Size | 40.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc1e2256ba1f119a7870b5fed46b43ff6db7e8e18eac8b6aeb9b2a58e02cea75
|
|
BLAKE2b-256 checksum How to use checksums |
8c1f2d4486e2808397f059a42c501e6575d3a7ce37397b6e4e94e4b9e3c73127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / metiscraft-0.1.0-py3-none-any.whl
| Download URL | metiscraft-0.1.0-py3-none-any.whl |
|---|---|
| Size | 101.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f4e8df28ced41cfe9a6e7d3482b165703ea42e77fc32ad31b0d4dc56d50fbef1
|
|
BLAKE2b-256 checksum How to use checksums |
89138e8d1ea161197c23d3da95bfb635956cfaf08a5c9a5a6f175f2dbf133f0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for metiscraft 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for metiscraft-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA 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.