immich-team commited on
Commit
49277e7
·
verified ·
1 Parent(s): 8204c66

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:be71b030e2947ac9e99c9120e5970884f16882def778c80e4b7a9c89e28a20b4
3
- size 253805424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48c25be37b352398f2533c9426dab6f9340535e14e46f884cc894236a5060722
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:92c879f72250fcff5ebcd7ae15ca5ded4ddf1265560022a274ece580146670d2
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:778555466e72b03a41677b9aadec059eeeb466afeb0451c567f5d3b9b48d13ac
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:0b5ac506ed05752953556d58337ccff23fa01271af08da6708a6e30e34b416b4
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:660f057ee8ba839f6ea43bcf9051bd577b436513e84da35dff91f26c9dc7e3a2
3
- size 351465480
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9ce24b91a8c62ef8d40ea786051709c93140104cbf2b6b4a2cc270df3838f9c
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:2d8655595ddb649ff33764cc677746255a0f8b13cfce36338fcf16a53337ec99
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:bc1ae0edbee88d1dae5ee15155e3cbce363f76749f81ad472a7506a07f74fe4a
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:5694c817e015eccdfa9d81f10bc05bfca088ff1bf6cf261e87172dce18fbc2b9
3
+ size 188599667