immich-team commited on
Commit
2f89f7f
·
verified ·
1 Parent(s): 436141c

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:2398d838d6b0c88933a472e3629f192459672856d5f70b87d334251286e7d584
3
- size 253805424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f433e23da4a31310acdfcc0727b3e9152719138cc2ba5173dc5f6de30e0c944a
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:18b45892ddd61c54c78366afdb9e2a659122af666e13bb858ba26701f4be3caa
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:82de9fc5312c9988fe404276fd216fd8fa4b53dcd97f9a05a8388ddb1426dc57
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:c479dddec49e8daff107dc0c64b0908152886f37ef0d64f263f8a724ce8e2d08
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:1d90d4a725e42016bc7e3069922ba9a7986a9c97e7055c55b77c46b9fd634401
3
- size 351465480
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e45e14c28e23475b0ad9de53936842f99a6a04703d799e4ff991c14921f6c48a
3
+ size 351613724
visual/rknpu/rk3566/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3809762a852bc7f180242f1dc7c996d0cd121e935ffb48181b34d043db158f32
3
+ size 181122803
visual/rknpu/rk3576/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:797d3de7d45ba6ed294c75d1019880cbacceab9f0405bad39639297a2ae4d08f
3
+ size 194777523
visual/rknpu/rk3588/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35f8532ed12af0696026ebc312bdf4bad711ba07763b74070526c83ee6fc7931
3
+ size 188599667