Download de_en/xnnpack/config.json from software-mansion/react-native-executorch-opus-mt: direct link, hf CLI and curl.
- Browser
- Download file 5.52 kB
-
https://huggingface.co/software-mansion/react-native-executorch-opus-mt/resolve/main/de_en/xnnpack/config.json
- Command line
-
hf download hf://software-mansion/react-native-executorch-opus-mt/de_en/xnnpack/config.json
-
curl -L -o config.json https://huggingface.co/software-mansion/react-native-executorch-opus-mt/resolve/main/de_en/xnnpack/config.json
5.52 kB
| { | |
| "$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" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| } | |