Instructions to use immich-app/ViT-L-14__laion2b-s32b-b82k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use immich-app/ViT-L-14__laion2b-s32b-b82k with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("immich-app/ViT-L-14__laion2b-s32b-b82k", dtype="auto") - Notebooks
- Google Colab
- Kaggle
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
|
@@ -136,3 +136,9 @@ visual/model.armnn filter=lfs diff=lfs merge=lfs -text
|
|
| 136 |
visual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
|
| 137 |
textual/model.armnn filter=lfs diff=lfs merge=lfs -text
|
| 138 |
textual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
visual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
|
| 137 |
textual/model.armnn filter=lfs diff=lfs merge=lfs -text
|
| 138 |
textual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
|
| 139 |
+
textual/rknpu/rk3566/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 140 |
+
textual/rknpu/rk3576/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 141 |
+
textual/rknpu/rk3588/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 142 |
+
visual/rknpu/rk3566/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 143 |
+
visual/rknpu/rk3576/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 144 |
+
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
|
| 9 |
-
Visual and textual encoders are separated 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:6e2f5898775541b21035d50926d98adefbf289d1416c2076bced0eae0d08c386
|
| 3 |
+
size 495082255
|
textual/rknpu/rk3566/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e37bd1821ad293f02ea195193c4257d33bc9958a27ced9ad4c149ea5e8e4853
|
| 3 |
+
size 251668139
|
textual/rknpu/rk3576/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0cea23d541e234bebded3ca4ae82dabc87a9fe9b8c2d847a23aca71146a1277
|
| 3 |
+
size 258735403
|
textual/rknpu/rk3588/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:696bebc0e5cc53c0268637ba23e1f7f6546954299917004e1102c5936832c0a2
|
| 3 |
+
size 252328875
|
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:8c9582839bf76c0dbfc1b3a06aabb75cc88a00b50a6ce2d964c5f98d9e4b6ad4
|
| 3 |
+
size 1216297719
|
visual/rknpu/rk3566/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce1e4b1b418bd393f54ccce620b3596ea689d0ec740d3d2dbe8bbb235c97dfe0
|
| 3 |
+
size 644018803
|
visual/rknpu/rk3576/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37ee50c56f489738a5a37f1dcd5005d52ece82f3dc3c426ca0626385ed880e34
|
| 3 |
+
size 645072115
|
visual/rknpu/rk3588/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc99245150b5e58ba3c7b4bb2c48daa0b5758a7becfebf612958972b9bce1448
|
| 3 |
+
size 626315187
|