immich-team commited on
Commit
554bc6c
·
verified ·
1 Parent(s): f6e49f5

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:2311a55b41b33fa899cc9ff59a6794b85f8f2eb33e2b96f4f9d3a55d5334876d
3
- size 494694283
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d70c96e2ed904d29802f1768099e80f8fe4f6f9724bf0a4df9411f1a0c9e5cf0
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:4a5075591cebbde7c9d7688b47f85ab428c3146d5197d20513107507e8ed30f6
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:dff09333baeb5466720d67724c21e7365ff0d3ebb2d31315c96a46af7c11e34e
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:a7fe26f6c8b2d561657238468a1a37a60f315f09050e8f8b5383330f13e8eda6
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:11b38fce59763f6dac56e0abaf53c381fae6d66553d5117746f01a726f034cea
3
- size 1216001936
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:311747cfb134c732599d0d0045862f477ada55d62fdabc0b22a84fdfc680f6f1
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:5bb213d96add0183c2c3371d4f70c482cb5ec699beebc6ed9223e2e597c5205c
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:5089c5705655105a7d0c9af227a3ae565177f38d9deb4afbee2ad11818bdfda9
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:27e4fdc7fd6cf7422bfda1626c32dbdbb631b245a97ae0e29199478128833a95
3
+ size 626315187