immich-team commited on
Commit
191796b
·
verified ·
1 Parent(s): a537a61

Upload folder using huggingface_hub

Browse files
.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 corresponding ViT-based CLIP model by OpenCLIP. See the [OpenCLIP](https://github.com/mlfoundations/open_clip) repo for more info.
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:26f17fc8e7fc28a296152904a02f9b3995c47690d367f1b68c564a12fe4bd52d
3
- size 494694283
 
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": true,
 
 
 
 
 
 
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
- "pad_token": "<|endoftext|>",
17
  "unk_token": {
18
  "content": "<|endoftext|>",
19
  "lstrip": false,
20
- "normalized": true,
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": true,
16
  "rstrip": false,
17
  "single_word": false,
18
  "special": true
19
  }
20
  },
21
  "bos_token": "<|startoftext|>",
22
- "clean_up_tokenization_spaces": true,
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:2981f1269ffcb0dc8c2888445f925035db965421dd2b3846b19546caa1172189
3
- size 1216001936
 
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