immich-team commited on
Commit
49b3275
·
verified ·
1 Parent(s): 7c6d196

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:ef4affab21988a82e549a031e9295812a8fe689ef5345e07ee49e1d3244689a9
3
- size 253805424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f966af2e239fe2f4ea5d38c14dccbc57646026626953d42bf8f72352f0a3192
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:83bcf7fd44380c7840ded08573724e8a09c1d2e1abcd7fe45d06ba6903729e06
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:6c33d71df7a2b016635505a8a2380d410f80db2167f980eb6326cdf25a28c0ab
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:0cb21d5573b362517177277430a1c16633d6e4049050fce090da2e1ccd781786
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:d4146045b81b35e29b5bcf33a57040d26a1b7f1d4c56cab34800664766176287
3
- size 344839723
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c6a5dfabb959c6ac02f9e32934a7ec10310f674613cf15725158abe5731d8da
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:11a44ceb44088ec1a2ca3ca0dcdb580f2007fa2e9b0ad26cf4987daafa8288fd
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:0b1dec88e29318406bc35145a6e69ecf7dc55a6c33b2492af607b6b8601f9ed6
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:787c65c6b578df14a861ab0953fec7f06bd9b6ed70fee52d297471e2a688fbfe
3
+ size 180314547