Apply the model card standard
Browse files
README.md
CHANGED
|
@@ -4,21 +4,45 @@ pipeline_tag: sentence-similarity
|
|
| 4 |
library_name: executorch
|
| 5 |
---
|
| 6 |
|
| 7 |
-
#
|
| 8 |
|
| 9 |
-
This repository hosts the
|
|
|
|
|
|
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
|
| 21 |
-
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
| 4 |
library_name: executorch
|
| 5 |
---
|
| 6 |
|
| 7 |
+
# multi-qa-mpnet-base-dot-v1
|
| 8 |
|
| 9 |
+
This repository hosts the **multi-qa-mpnet-base-dot-v1** models exported for the
|
| 10 |
+
[React Native ExecuTorch](https://www.npmjs.com/package/react-native-executorch)
|
| 11 |
+
library as ExecuTorch `.pte` programs, ready to run on device.
|
| 12 |
|
| 13 |
+
Upstream model: [multi-qa-mpnet-base-dot-v1](https://huggingface.co/sentence-transformers/multi-qa-mpnet-base-dot-v1/tree/main)
|
| 14 |
|
| 15 |
+
## Variants
|
| 16 |
+
|
| 17 |
+
| Path | Backend | Precision |
|
| 18 |
+
| --- | --- | --- |
|
| 19 |
+
| `vulkan/multi_qa_mpnet_base_dot_v1_vulkan_fp16.pte` | vulkan | fp16 |
|
| 20 |
+
| `vulkan/multi_qa_mpnet_base_dot_v1_vulkan_int8.pte` | vulkan | int8 |
|
| 21 |
+
| `xnnpack/multi_qa_mpnet_base_dot_v1_xnnpack_fp32.pte` | xnnpack | fp32 |
|
| 22 |
|
| 23 |
+
## Repository structure
|
| 24 |
|
| 25 |
+
```
|
| 26 |
+
config.json 48 B
|
| 27 |
+
tokenizer.json 694 kB
|
| 28 |
+
tokenizer_config.json 363 B
|
| 29 |
+
vulkan/config.json 1.6 kB
|
| 30 |
+
vulkan/multi_qa_mpnet_base_dot_v1_vulkan_fp16.pte 208 MB
|
| 31 |
+
vulkan/multi_qa_mpnet_base_dot_v1_vulkan_int8.pte 127 MB
|
| 32 |
+
xnnpack/config.json 951 B
|
| 33 |
+
xnnpack/multi_qa_mpnet_base_dot_v1_xnnpack_fp32.pte 416 MB
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
## Compatibility
|
| 37 |
|
| 38 |
+
These files are published for the **ExecuTorch v1.4.1** runtime. ExecuTorch
|
| 39 |
+
gives no forward compatibility guarantee, so an older runtime may fail to load
|
| 40 |
+
them.
|
| 41 |
|
| 42 |
+
To use them in React Native ExecuTorch, pass the model constant shipped in the
|
| 43 |
+
library's model registry to the corresponding task pipeline. See the
|
| 44 |
+
[documentation](https://docs.swmansion.com/react-native-executorch/docs/fundamentals/loading-models).
|
| 45 |
|
| 46 |
+
To load these files in your own ExecuTorch runtime, read the
|
| 47 |
+
[compatibility note](https://github.com/pytorch/executorch/blob/main/runtime/COMPATIBILITY.md)
|
| 48 |
+
first.
|