immich-team commited on
Commit
0636b39
·
verified ·
1 Parent(s): 95416fc

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 ResNet-50-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:24ac11621f1a87b5ae48d7dab06d9dfe7a7e6d9e1ff16f8746ca4bcdb8294b38
3
- size 254854433
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e958e4d14fa28382dd4049bdaf2d71f90487511c5e29a7c5b853b0fcf98bb39b
3
+ size 255241974
textual/rknpu/rk3566/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d7f0db5ed47e5432f9b1138d51a59b4d3ce405166e78835dcf11fa28e98c0a1
3
+ size 130160748
textual/rknpu/rk3576/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b2c310715f7dc0ab2b04e195b83cdb0a1647e8f22116910d470eb486378629d
3
+ size 135828332
textual/rknpu/rk3588/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cfa70a465d024bdfd2ee44b6877ef070eec5da137d92293957dd78b603eb686
3
+ size 131244588
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:81977657aa15a764ca66982ecf8bf3d4ca22b7f1a1cf98a476b207a40a409c22
3
- size 153189674
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c32a889cf65d5d7925c4006c25d56b46c47bfaf26c15fbbe55dacf2d5782ead2
3
+ size 153198322
visual/rknpu/rk3566/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6e9cb8f211fd49e16f8c4057f45c064a2935eb2fd0188f92f8c168c27e00cc5
3
+ size 77534132
visual/rknpu/rk3576/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c75600e6ee1559c786cf69b069419ccc59894c11a103cfd57d10e51cb9895dbb
3
+ size 78796404
visual/rknpu/rk3588/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9091ff9c19bd6cfd6ef27a28cfdebd5a4e72307c529d420fcbe79591c977934
3
+ size 77915508