software-mansion/react-native-executorch-privacy-filter-openai

🤗 Hugging Face 来源token-classificationapache-2.05.0 GBother✓ 3 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo software-mansion/react-native-executorch-privacy-filter-openai ./model-folder
需要做种者 →

privacy-filter-openai

This repository hosts the privacy-filter-openai models exported for the React Native ExecuTorch library as ExecuTorch .pte programs, ready to run on device.

Variants

Path Backend Precision
mlx/privacy_filter_openai_mlx_int4.pte mlx int4
xnnpack/privacy_filter_openai_xnnpack_8da4w.pte xnnpack 8da4w

Repository structure

config.json                                      43 B
mlx/config.json                                  962 B
mlx/privacy_filter_openai_mlx_int4.pte           835 MB
tokenizer.json                                   26.6 MB
tokenizer_config.json                            234 B
viterbi_calibration.json                         372 B
xnnpack/config.json                              972 B
xnnpack/privacy_filter_openai_xnnpack_8da4w.pte  1.2 GB

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.