phonepack-en-fr / pack.json
sneakyfree's picture
Phone pack v1 en-fr: lean ONNX int8 (FLORES-200 devtest scored)
e99017f verified
Raw History Blame Contribute Delete
3.92 kB
{
"packFormat": 1,
"direction": "en-fr",
"source": "en",
"target": "fr",
"model": {
"catalogueId": "translate-tc-big-en-fr",
"repo": "WindyTranslate/translate-tc-big-en-fr",
"revision": "5454d158fd88d0b06583c34d47cc7e9b8c006b88",
"baseModel": "Helsinki-NLP/opus-mt-tc-big-en-fr"
},
"licence": "CC-BY-4.0",
"attribution": "Based on OPUS-MT model Helsinki-NLP/opus-mt-tc-big-en-fr by Helsinki-NLP (Language Technology Research Group, University of Helsinki). Licensed CC-BY-4.0.",
"notice": "This product uses the model WindyTranslate/translate-tc-big-en-fr\n(https://huggingface.co/WindyTranslate/translate-tc-big-en-fr), published by Windstorm Labs (https://windstormlabs.com).\nBased on OPUS-MT model Helsinki-NLP/opus-mt-tc-big-en-fr by Helsinki-NLP (Language Technology Research Group, University of Helsinki). Licensed CC-BY-4.0.\nWindstorm Labs modified the upstream weights; the model card describes what was changed.\nLicensed under Creative Commons Attribution 4.0 International: https://creativecommons.org/licenses/by/4.0/",
"runtime": {
"engine": "onnxruntime",
"opset": 17,
"weights": "int8 (dynamic quantization, MatMul; embedding int8 shared)",
"files": {
"encoder": "encoder.onnx",
"decoder": "decoder.onnx",
"sharedEmbedding": "embed.bin (external data of both graphs; keep it next to them)",
"sourceTokenizer": "source.spm",
"targetTokenizer": "target.spm",
"vocab": "vocab.json",
"config": "model_config.json"
},
"tokenizer": "SentencePiece PIECES from source.spm mapped to ids through vocab.json (unknown piece -> <unk>), then </s>. Raw SentencePiece ids are NOT model ids. Do not use onnxruntime-extensions' tokenizer op.",
"sourcePrefixToken": null,
"decoding": {
"decoderStartTokenId": 53016,
"eosTokenId": 43311,
"padTokenId": 53016,
"neverGenerate": [
53016
],
"beam": 4,
"lengthNormalisation": "sum log-prob / output length",
"maxNewTokens": 256
},
"encoder": {
"inputs": [
"input_ids [b,s] int64",
"attention_mask [b,s] int64"
],
"outputs": [
"cross_k_i / cross_v_i [b,16,s,64] for i in 0..5"
]
},
"decoder": {
"inputs": [
"input_ids [b,1] int64 (start token on step 1, then the last token)",
"encoder_attention_mask [b,s] int64",
"past_k_i / past_v_i [b,16,t,64] float32 (t = 0 on step 1)",
"cross_k_i / cross_v_i (from the encoder)"
],
"outputs": [
"logits [b,1,vocab]",
"present_k_i / present_v_i [b,heads,t+1,head_dim] (next step's past)"
]
}
},
"files": {
"decoder.onnx": {
"bytes": 93231362,
"sha256": "7191485f0174b8b6d6856ca5aae2bed8f0fdaf5a257d087568163812b3a02623"
},
"embed.bin": {
"bytes": 54289408,
"sha256": "18d5c1856d3b32386c889e91a99fb47951560790c96998f391c235cf6ad2f79c"
},
"encoder.onnx": {
"bytes": 92883365,
"sha256": "f086ede170da22733fe735c66bce7b8cd5a43c723067228c62c2d997ec289768"
},
"model_config.json": {
"bytes": 203,
"sha256": "3885c177317f50ae9a6da0fe28ce05d4ce99bf9cfb5ff6812862f030f46f7d3b"
},
"source.spm": {
"bytes": 802408,
"sha256": "18bb5a422a53a0bd699b005c8086cbd58a85c4be427fd57ca687c958588edcc9"
},
"target.spm": {
"bytes": 819955,
"sha256": "6437b5600d2ae14888939e589773b09bc667c77e81326e20e3f57698a4078593"
},
"test_vectors.json": {
"bytes": 30951,
"sha256": "fca96cd200deed170b27c9635ef775694cb5fadb3cf162f8a0f6eb06d1129111"
},
"vocab.json": {
"bytes": 1332010,
"sha256": "2994b7def69d6495d8f02369b57e3f04e2474f76ce64eda2921643e1f76fef41"
}
},
"downloadBytes": 243389662,
"weightsBytes": 243358711,
"quality": {
"benchmark": "FLORES-200 devtest",
"sentences": 1012,
"chrf++": 70.68,
"spbleu": 56.78,
"ct2_int8_chrf++": 70.57,
"delta_vs_ct2": 0.11,
"beam": 4,
"measured": "2026-10-17",
"by": "Windy Translate"
},
"built": "2026-10-17T16:45:12Z",
"builder": "export_lean.py (Windy Translate)"
}