Skip to main content

Module imf

Module imf 

Source
Expand description

IMF v1 artifact support (interscript-models SPEC.md, normative): byte tokenizer, checksum-verified zip loading, the models.yaml registry, ONNX greedy single-row inference, and the frozen conformance-fixture harness.

Modules§

conformance
The frozen conformance fixtures (interscript-models/conformance/): load the vectors files, resolve the referenced artifact, run every row byte-exactly (pipeline.conformance.run_conformance parity).
infer
ONNX inference for IMF v1 artifacts: the greedy single-row decode loop (the artifact contract per CONFORMANCE.md) over a mockable InferenceEngine trait, plus the ort-backed implementation.
loader
IMF v1 zip loading: manifest parse + sha256 member verification (interscript-models/runtime/src/interscript_ml/loader.py parity, SPEC.md §3).
registry
models.yaml index resolution + cached downloads (SPEC.md §1/§2, interscript_ml/registry.py parity).
tokens
The canonical ByT5 byte table (SPEC.md §4) — fixed, no vocab files.