immich-team commited on
Commit
7ea571f
·
verified ·
1 Parent(s): 4a46d09

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -37,3 +37,9 @@ visual/model.armnn filter=lfs diff=lfs merge=lfs -text
37
  visual/fp16/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/fp16/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 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:b0f5db62eb9345fd8bcdb234077f8e29233c4dd020b784f0694ad0d5a33d0389
3
- size 253805424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:807dcfdae005076135e3a99a930ee1f7ac05e4e16e1208ada7fb52decbc47c15
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:288f1e42747d553af2c0f57285401feaf2c73464da3ca3b3f76aeb40b693937b
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:3e2b486ffb5edfd33b7b2e9d67603db8b7172dbfe0cea7f417fad43a5fa44d08
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:2b9af193e2dd55a5ef4a8a558b6049d73be6a3ed485b4ebc9e9d1b52d58ae213
3
+ size 130711083
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:fad114393cabf6bc7f10a8edba681a9759ca3ae89c0b6a3836758f499c66c679
3
- size 344839723
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c79934737282f4cf558bcf643dc2f0238da2c7a36ed5592ef4dc5cf5e46ca8eb
3
+ size 344987421
visual/rknpu/rk3566/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae511cacf7235fa99bb054f819a9e28553268d5272c27142c372ea79a206ee98
3
+ size 180390963
visual/rknpu/rk3576/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b011ce972a912bb1b9f76f5bf19187e63954bb3a57c031c83fb8decc35b6e70b
3
+ size 186027187
visual/rknpu/rk3588/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b03ad04c8c947467896ba8662ac5510129f3fb6a6255d972eebe479abb534612
3
+ size 180314547