Upload folder using huggingface_hub
Browse files- .gitattributes +6 -0
- README.md +1 -2
- textual/model.onnx +2 -2
- textual/rknpu/rk3566/model.rknn +3 -0
- textual/rknpu/rk3576/model.rknn +3 -0
- textual/rknpu/rk3588/model.rknn +3 -0
- textual/special_tokens_map.json +9 -3
- textual/tokenizer.json +0 -0
- textual/tokenizer_config.json +3 -2
- visual/model.onnx +2 -2
- visual/rknpu/rk3566/model.rknn +3 -0
- visual/rknpu/rk3576/model.rknn +3 -0
- visual/rknpu/rk3588/model.rknn +3 -0
.gitattributes
CHANGED
|
@@ -37,3 +37,9 @@ visual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
|
|
| 37 |
visual/model.armnn filter=lfs diff=lfs merge=lfs -text
|
| 38 |
textual/model.armnn filter=lfs diff=lfs merge=lfs -text
|
| 39 |
textual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
visual/model.armnn filter=lfs diff=lfs merge=lfs -text
|
| 38 |
textual/model.armnn filter=lfs diff=lfs merge=lfs -text
|
| 39 |
textual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
textual/rknpu/rk3566/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
textual/rknpu/rk3576/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
textual/rknpu/rk3588/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
visual/rknpu/rk3566/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
visual/rknpu/rk3576/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
visual/rknpu/rk3588/model.rknn filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -5,7 +5,6 @@ tags:
|
|
| 5 |
---
|
| 6 |
# Model Description
|
| 7 |
|
| 8 |
-
This repo contains ONNX exports for the CLIP model [
|
| 9 |
-
It separates the visual and textual encoders into separate models for the purpose of generating image and text embeddings.
|
| 10 |
|
| 11 |
This repo is specifically intended for use with [Immich](https://immich.app/), a self-hosted photo library.
|
|
|
|
| 5 |
---
|
| 6 |
# Model Description
|
| 7 |
|
| 8 |
+
This repo contains ONNX exports for the associated CLIP model by OpenCLIP. See the [OpenCLIP](https://github.com/mlfoundations/open_clip) repo for more info.
|
|
|
|
| 9 |
|
| 10 |
This repo is specifically intended for use with [Immich](https://immich.app/), a self-hosted photo library.
|
textual/model.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b80cf0af751533a6712d92247f0ddc0c95208748bc59a1a27f33e67be6864e3b
|
| 3 |
+
size 254193396
|
textual/rknpu/rk3566/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddf7a27b229e422e35e96810650bdedecc778722c44b8a3e37db9c77cecf2586
|
| 3 |
+
size 129631339
|
textual/rknpu/rk3576/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59a01e35550b7d03de40e5314d70d2f578de473094b07e4d833c320b7d8492d0
|
| 3 |
+
size 135294827
|
textual/rknpu/rk3588/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6888951b67ae85dbcaa675a0a37fccc2c0da10f88f57e5e89983fa56fc95476f
|
| 3 |
+
size 130711083
|
textual/special_tokens_map.json
CHANGED
|
@@ -9,15 +9,21 @@
|
|
| 9 |
"eos_token": {
|
| 10 |
"content": "<|endoftext|>",
|
| 11 |
"lstrip": false,
|
| 12 |
-
"normalized":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
"rstrip": false,
|
| 14 |
"single_word": false
|
| 15 |
},
|
| 16 |
-
"pad_token": "<|endoftext|>",
|
| 17 |
"unk_token": {
|
| 18 |
"content": "<|endoftext|>",
|
| 19 |
"lstrip": false,
|
| 20 |
-
"normalized":
|
| 21 |
"rstrip": false,
|
| 22 |
"single_word": false
|
| 23 |
}
|
|
|
|
| 9 |
"eos_token": {
|
| 10 |
"content": "<|endoftext|>",
|
| 11 |
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<|endoftext|>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
"rstrip": false,
|
| 21 |
"single_word": false
|
| 22 |
},
|
|
|
|
| 23 |
"unk_token": {
|
| 24 |
"content": "<|endoftext|>",
|
| 25 |
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
"rstrip": false,
|
| 28 |
"single_word": false
|
| 29 |
}
|
textual/tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
textual/tokenizer_config.json
CHANGED
|
@@ -12,17 +12,18 @@
|
|
| 12 |
"49407": {
|
| 13 |
"content": "<|endoftext|>",
|
| 14 |
"lstrip": false,
|
| 15 |
-
"normalized":
|
| 16 |
"rstrip": false,
|
| 17 |
"single_word": false,
|
| 18 |
"special": true
|
| 19 |
}
|
| 20 |
},
|
| 21 |
"bos_token": "<|startoftext|>",
|
| 22 |
-
"clean_up_tokenization_spaces":
|
| 23 |
"do_lower_case": true,
|
| 24 |
"eos_token": "<|endoftext|>",
|
| 25 |
"errors": "replace",
|
|
|
|
| 26 |
"model_max_length": 77,
|
| 27 |
"pad_token": "<|endoftext|>",
|
| 28 |
"tokenizer_class": "CLIPTokenizer",
|
|
|
|
| 12 |
"49407": {
|
| 13 |
"content": "<|endoftext|>",
|
| 14 |
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
"rstrip": false,
|
| 17 |
"single_word": false,
|
| 18 |
"special": true
|
| 19 |
}
|
| 20 |
},
|
| 21 |
"bos_token": "<|startoftext|>",
|
| 22 |
+
"clean_up_tokenization_spaces": false,
|
| 23 |
"do_lower_case": true,
|
| 24 |
"eos_token": "<|endoftext|>",
|
| 25 |
"errors": "replace",
|
| 26 |
+
"extra_special_tokens": {},
|
| 27 |
"model_max_length": 77,
|
| 28 |
"pad_token": "<|endoftext|>",
|
| 29 |
"tokenizer_class": "CLIPTokenizer",
|
visual/model.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33a3df41ceef21acdf371af00f6dd0456ec1f9eba24d03a7720f9c3734e40859
|
| 3 |
+
size 351613724
|
visual/rknpu/rk3566/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40f63190d06a4dda6b580451e964c02b6337eb89ec3735ba8e5891490335ac1a
|
| 3 |
+
size 181122803
|
visual/rknpu/rk3576/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fd6886ac556a3c642244e6881f055a1829feb7777b575bcdd95da4829928bf2
|
| 3 |
+
size 194777523
|
visual/rknpu/rk3588/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6141ec440f50e9969b8104471125904c009bec2869439e3205fc3aeef2e0b18b
|
| 3 |
+
size 188599667
|