immich-team commited on
Commit
82109ec
·
verified ·
1 Parent(s): 02bbd60

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
  visual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
138
  textual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
136
  textual/model.armnn filter=lfs diff=lfs merge=lfs -text
137
  visual/fp16/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 CLIP model [openai/clip-vit-large-patch14](https://huggingface.co/openai/clip-vit-large-patch14).
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:aa13d597406714fd4163925438ce8b6fd8a0a5921b2a32b871ccb8e727ab2344
3
- size 494691750
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fbe72ea8d36c2effaccedcf7249e3729ad0d9b4af6604b433ecdd0105663c9c
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:5b399fa3c6734b3b95734fc1772937ed3844b5939f4f045cae25db888909ad99
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:bfada9080058eb779b0df4d437317535cb0de2cd74db5714742698cc2958000d
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:4f6a69ba4d4e52bfe876c9d5fd077745975864cfb3c50bfafa52ebf5141d5b81
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:e5d893a32b9bf5667c2f2d8ffb628448942d9a5c377d9a897c4d692e73078bac
3
- size 1215996930
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b02d572f59c509f4b97b9c54a868453cca1a652cd5d60e1d51d0052f055cb8c
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:a0c9f73f5f9224e1fb4e4932f8baf55c9e29748b36d1d5c0e14fec992ccdadae
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:e899ea053a88dd07f50e93bf2da2b572e5ac6f168cf67d48c4159951bc176c44
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:11ea3e39e420e12c787405eb5beabbc470fc3a0f8cd20b713f605fc198609ca9
3
+ size 626315187