Commit ·
3420a22
1
Parent(s): cb73e1a
Correct the published metadata
Browse filesAdds library_name to the model card, and pipeline_tag where it was missing.
Brings the config and card licenses into agreement, and repairs the variant
declarations that did not match the files actually published here.
- README.md +2 -0
- xnnpack/config.json +35 -3
README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
# Introduction
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
pipeline_tag: image-feature-extraction
|
| 4 |
+
library_name: executorch
|
| 5 |
---
|
| 6 |
|
| 7 |
# Introduction
|
xnnpack/config.json
CHANGED
|
@@ -1,20 +1,21 @@
|
|
| 1 |
{
|
| 2 |
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
|
| 3 |
-
"model": "
|
| 4 |
"family": "clip",
|
| 5 |
"capabilities": [
|
|
|
|
| 6 |
"image-embedding"
|
| 7 |
],
|
| 8 |
"backend": "xnnpack",
|
| 9 |
"license": "mit",
|
| 10 |
"variants": [
|
| 11 |
{
|
| 12 |
-
"file":
|
| 13 |
"precision": "fp32",
|
| 14 |
"quantized": false,
|
| 15 |
"default": true,
|
| 16 |
"methods": {
|
| 17 |
-
"
|
| 18 |
"inputs": [
|
| 19 |
{
|
| 20 |
"shape": [
|
|
@@ -35,7 +36,38 @@
|
|
| 35 |
"dtype": "float32"
|
| 36 |
}
|
| 37 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
}
|
| 40 |
}
|
| 41 |
]
|
|
|
|
| 1 |
{
|
| 2 |
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
|
| 3 |
+
"model": "clip_vit_base_patch32",
|
| 4 |
"family": "clip",
|
| 5 |
"capabilities": [
|
| 6 |
+
"text-embedding",
|
| 7 |
"image-embedding"
|
| 8 |
],
|
| 9 |
"backend": "xnnpack",
|
| 10 |
"license": "mit",
|
| 11 |
"variants": [
|
| 12 |
{
|
| 13 |
+
"file": null,
|
| 14 |
"precision": "fp32",
|
| 15 |
"quantized": false,
|
| 16 |
"default": true,
|
| 17 |
"methods": {
|
| 18 |
+
"image": {
|
| 19 |
"inputs": [
|
| 20 |
{
|
| 21 |
"shape": [
|
|
|
|
| 36 |
"dtype": "float32"
|
| 37 |
}
|
| 38 |
]
|
| 39 |
+
},
|
| 40 |
+
"text": {
|
| 41 |
+
"inputs": [
|
| 42 |
+
{
|
| 43 |
+
"shape": [
|
| 44 |
+
1,
|
| 45 |
+
74
|
| 46 |
+
],
|
| 47 |
+
"dtype": "int64"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"shape": [
|
| 51 |
+
1,
|
| 52 |
+
74
|
| 53 |
+
],
|
| 54 |
+
"dtype": "int64"
|
| 55 |
+
}
|
| 56 |
+
],
|
| 57 |
+
"outputs": [
|
| 58 |
+
{
|
| 59 |
+
"shape": [
|
| 60 |
+
1,
|
| 61 |
+
512
|
| 62 |
+
],
|
| 63 |
+
"dtype": "float32"
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
}
|
| 67 |
+
},
|
| 68 |
+
"components": {
|
| 69 |
+
"image": "clip_vit_base_patch32_image_xnnpack_fp32.pte",
|
| 70 |
+
"text": "clip_vit_base_patch32_text_xnnpack_fp32.pte"
|
| 71 |
}
|
| 72 |
}
|
| 73 |
]
|