immich-team commited on
Commit
b454f1f
·
verified ·
1 Parent(s): 743c8aa

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -136,3 +136,9 @@ visual/model.armnn filter=lfs diff=lfs merge=lfs -text
136
  textual/model.armnn filter=lfs diff=lfs merge=lfs -text
137
  textual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
138
  visual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
136
  textual/model.armnn filter=lfs diff=lfs merge=lfs -text
137
  textual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
138
  visual/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 CLIP model [openai/clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336).
9
- It separates the visual and textual encoders 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:d0262f324370aec7121d6f4977e70d764cf741005b19c554f18db219efc77b68
3
- size 494691750
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99b45851b3a98a170967f800823256fe7e6047e7a67433bb72013492d35e1bf2
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:05d4199f8498b57d5352c23e4796af1c8062e18fbb7f09c872d8199340b2e202
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:d2c2d205f7a74bf7884d92c704272a6695b300758a91a049184d83f1d7dacff0
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:2b586a44e4f1a146a03708267d9d604406db5245d02312daea689e211d1e6cca
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:0b50efd8f6e6fb7d795f2bae67909427a35117f50967288b0973ab40ceee9803
3
- size 1217307652
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d61ec924eb1dbd20e217983e56b1cdd0ce997b82bb08e108c471555edcfa216
3
+ size 1217608441
visual/rknpu/rk3566/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5fac75341794e67dc0a408b675da7309b9e1e08ecd24a2075056d840ac6967e
3
+ size 691485939
visual/rknpu/rk3576/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a6e16159bfb8a4ae8ed06debe77859650cf628751665b1993cc6302fade045f
3
+ size 661165427
visual/rknpu/rk3588/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c497ddda70e0d742b6194822eb0d54f95d1f3c1a935d726793762c57a2e429a6
3
+ size 634223219