caelum0x 4847e35451 OpenJev: open-source typed decision service
Typed decision/classification service with an in-process gte-small ONNX
embedding engine and lexical fallback, JS/Python SDKs, adapters, and the
otsone model family. Apache-2.0 (sub-packages keep their MIT licenses).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 00:12:36 +03:00

32 lines
853 B
Python

"""Download exactly the checkpoints used in the checked-in benchmark."""
import argparse
from pathlib import Path
from huggingface_hub import snapshot_download
from .common import MODELS, save_json
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--output", type=Path, default=Path("models"))
args = parser.parse_args()
for name, revision in MODELS.items():
snapshot_download(
"convaiinnovations/" + name,
revision=revision,
local_dir=args.output / name,
allow_patterns=[
"model.safetensors",
"rl_agent_config.json",
"encoder/config.json",
"tokenizer/*",
],
)
save_json(args.output / "revisions.json", MODELS)
if __name__ == "__main__":
main()