software-mansion/react-native-executorch-all-MiniLM-L6-v2
241k
all-MiniLM-L6-v2
This repository hosts the all-MiniLM-L6-v2 models exported for the React Native ExecuTorch library as ExecuTorch .pte programs, ready to run on device.
Upstream model: all-MiniLM-L6-v2
Variants
Repository structure
config.json 38 B
coreml/all_minilm_l6_v2_coreml_fp16.pte 43.4 MB
coreml/config.json 929 B
tokenizer.json 695 kB
tokenizer_config.json 350 B
vulkan/all_minilm_l6_v2_vulkan_fp16.pte 43.1 MB
vulkan/config.json 929 B
xnnpack/all_minilm_l6_v2_xnnpack_fp32.pte 86.2 MB
xnnpack/config.json 931 BCompatibility
These files are published for the ExecuTorch v1.4.1 runtime. ExecuTorch gives no forward compatibility guarantee, so an older runtime may fail to load them.
To use them in React Native ExecuTorch, pass the model constant shipped in the library's model registry to the corresponding task pipeline. See the documentation.
To load these files in your own ExecuTorch runtime, read the compatibility note first.
