immich-team commited on
Commit
5fbbaaf
·
verified ·
1 Parent(s): fe33a8b

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -41,3 +41,9 @@ visual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
41
  textual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
42
  textual/3bd4e060-47da-11ef-a9c8-00155d655292 filter=lfs diff=lfs merge=lfs -text
43
  visual/3af95234-47da-11ef-a9c8-00155d655292 filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
41
  textual/fp16/model.armnn filter=lfs diff=lfs merge=lfs -text
42
  textual/3bd4e060-47da-11ef-a9c8-00155d655292 filter=lfs diff=lfs merge=lfs -text
43
  visual/3af95234-47da-11ef-a9c8-00155d655292 filter=lfs diff=lfs merge=lfs -text
44
+ textual/rknpu/rk3566/model.rknn filter=lfs diff=lfs merge=lfs -text
45
+ textual/rknpu/rk3576/model.rknn filter=lfs diff=lfs merge=lfs -text
46
+ textual/rknpu/rk3588/model.rknn filter=lfs diff=lfs merge=lfs -text
47
+ visual/rknpu/rk3566/model.rknn filter=lfs diff=lfs merge=lfs -text
48
+ visual/rknpu/rk3576/model.rknn filter=lfs diff=lfs merge=lfs -text
49
+ 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 OpenAI. See the [CLIP](https://github.com/openai/CLIP/tree/main) 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:3d3e7e92b9804e4d393476f7f74c947c1ce6036439730fc4af02bb6b2f05984e
3
- size 254852002
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d4359848389112e37b59597be2af8bd1f0c0c220c6e7a4ae54cd6351afd0ba2
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:195c963753d9998ce70d7ff2edce44fe1ecff71fe1bc9815829f39ef9df33d7c
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:cedb8e0622919d4dd1cd6f4a27118770271123006bd40187a73f2a70b103d1aa
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:54e816a0ea757d1f06b83ccb6fc97e491d16632e6281903c9855013ba75724f9
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:318cb448a1c6d7555cd5581302c523665694ef0445a278988791fd2c66ae6c70
3
- size 153189674
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:575572e01c15170df574e842f6bb3fa674a47659d3402f605cf3ac631ec077aa
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:f7224f9371be0a3fccb1b2c7c7f11ef5ccc5b8e3b017ffcc440ed36fcb046dea
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:06257743b24c45ebb4ad4a38de027369c25994404ced3f293efd212d31121219
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:8ba78f3f27762e5b44c941c453271a5e491c439480232014f204f8f1724d561d
3
+ size 77915508