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

Path Backend Precision
coreml/all_minilm_l6_v2_coreml_fp16.pte coreml fp16
vulkan/all_minilm_l6_v2_vulkan_fp16.pte vulkan fp16
xnnpack/all_minilm_l6_v2_xnnpack_fp32.pte xnnpack fp32

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 B

Compatibility

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.

Downloads last month
42,692
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including software-mansion/react-native-executorch-all-MiniLM-L6-v2