Apply the model card standard
Browse files
README.md
CHANGED
|
@@ -9,18 +9,42 @@ pipeline_tag: token-classification
|
|
| 9 |
library_name: executorch
|
| 10 |
---
|
| 11 |
|
| 12 |
-
#
|
| 13 |
|
| 14 |
-
This repository hosts the **
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Compatibility
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
|
|
|
|
|
|
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
| 9 |
library_name: executorch
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# privacy-filter-openai
|
| 13 |
|
| 14 |
+
This repository hosts the **privacy-filter-openai** models exported for the
|
| 15 |
+
[React Native ExecuTorch](https://www.npmjs.com/package/react-native-executorch)
|
| 16 |
+
library as ExecuTorch `.pte` programs, ready to run on device.
|
| 17 |
|
| 18 |
+
## Variants
|
| 19 |
+
|
| 20 |
+
| Path | Backend | Precision |
|
| 21 |
+
| --- | --- | --- |
|
| 22 |
+
| `mlx/privacy_filter_openai_mlx_int4.pte` | mlx | int4 |
|
| 23 |
+
| `xnnpack/privacy_filter_openai_xnnpack_8da4w.pte` | xnnpack | 8da4w |
|
| 24 |
+
|
| 25 |
+
## Repository structure
|
| 26 |
+
|
| 27 |
+
```
|
| 28 |
+
config.json 43 B
|
| 29 |
+
mlx/config.json 962 B
|
| 30 |
+
mlx/privacy_filter_openai_mlx_int4.pte 835 MB
|
| 31 |
+
tokenizer.json 26.6 MB
|
| 32 |
+
tokenizer_config.json 234 B
|
| 33 |
+
viterbi_calibration.json 372 B
|
| 34 |
+
xnnpack/config.json 972 B
|
| 35 |
+
xnnpack/privacy_filter_openai_xnnpack_8da4w.pte 1.2 GB
|
| 36 |
+
```
|
| 37 |
|
| 38 |
## Compatibility
|
| 39 |
|
| 40 |
+
These files are published for the **ExecuTorch v1.4.1** runtime. ExecuTorch
|
| 41 |
+
gives no forward compatibility guarantee, so an older runtime may fail to load
|
| 42 |
+
them.
|
| 43 |
|
| 44 |
+
To use them in React Native ExecuTorch, pass the model constant shipped in the
|
| 45 |
+
library's model registry to the corresponding task pipeline. See the
|
| 46 |
+
[documentation](https://docs.swmansion.com/react-native-executorch/docs/fundamentals/loading-models).
|
| 47 |
|
| 48 |
+
To load these files in your own ExecuTorch runtime, read the
|
| 49 |
+
[compatibility note](https://github.com/pytorch/executorch/blob/main/runtime/COMPATIBILITY.md)
|
| 50 |
+
first.
|