software-mansion/react-native-executorch-clip-vit-base-patch32

🤗 Hugging Face 来源image-feature-extractionmit4.1 GBother✓ 8 个校验和今天更新
一条命令提交

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

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

clip-vit-base-patch32

This repository hosts the clip-vit-base-patch32 models exported for the React Native ExecuTorch library as ExecuTorch .pte programs, ready to run on device.

Upstream model: clip-vit-base-patch32

Variants

Path Component Backend Precision
coreml/clip_vit_base_patch32_image_coreml_fp16.pte image coreml fp16
coreml/clip_vit_base_patch32_text_coreml_fp16.pte text coreml fp16
mlx/clip_vit_base_patch32_image_mlx_int8.pte - mlx int8
vulkan/clip_vit_base_patch32_image_vulkan_fp16.pte image vulkan fp16
vulkan/clip_vit_base_patch32_text_vulkan_fp16.pte text vulkan fp16
xnnpack/clip_vit_base_patch32_image_xnnpack_fp32.pte image xnnpack fp32
xnnpack/clip_vit_base_patch32_text_xnnpack_fp32.pte text xnnpack fp32

Repository structure

config.json                                           43 B
coreml/clip_vit_base_patch32_image_coreml_fp16.pte    168 MB
coreml/clip_vit_base_patch32_text_coreml_fp16.pte     122 MB
coreml/config.json                                    1.7 kB
mlx/clip_vit_base_patch32_image_mlx_int8.pte          93.7 MB
mlx/config.json                                       840 B
tokenizer.json                                        2.1 MB
vulkan/clip_vit_base_patch32_image_vulkan_fp16.pte    168 MB
vulkan/clip_vit_base_patch32_text_vulkan_fp16.pte     121 MB
vulkan/config.json                                    1.7 kB
xnnpack/clip_vit_base_patch32_image_xnnpack_fp32.pte  335 MB
xnnpack/clip_vit_base_patch32_text_xnnpack_fp32.pte   242 MB
xnnpack/config.json                                   1.6 kB

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.