{ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json", "model": "opus_mt", "family": "marian", "size": "de_en", "capabilities": [ "translation" ], "backend": "xnnpack", "license": "apache-2.0", "tokenizer": "../tokenizer.json", "variants": [ { "file": "opus_mt_de_en_xnnpack_int8.pte", "precision": "int8", "quantized": true, "quantize": "8da8w-pc", "embedding_quantize": "int8", "default": true, "methods": { "encode": { "inputs": [ { "shape": [ 1, 256 ], "dtype": "int64" }, { "shape": [ 1, 256 ], "dtype": "int64" } ], "outputs": [ { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" } ] }, "decode": { "inputs": [ { "shape": [ 1, 1 ], "dtype": "int64" }, { "shape": [ 1 ], "dtype": "int64" }, { "shape": [ 1, 256 ], "dtype": "int64" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" }, { "shape": [ 8, 256, 64 ], "dtype": "float32" } ], "outputs": [ { "shape": [ 1, 1, 58101 ], "dtype": "float32" } ] } } } ] }