zakkeown commited on
Commit
1efefba
·
verified ·
1 Parent(s): a541c44

CLIP ViT-B/32 for Aether-Kit (Forge/clip export)

Browse files
.aether/aether.json ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": 1,
3
+ "id": "clip-vit-b32",
4
+ "task": "image-text-embedding",
5
+ "driver": "clip-joint@1",
6
+ "variant": {
7
+ "platform": "macos"
8
+ },
9
+ "assets": {
10
+ "main": {
11
+ "subtree": "",
12
+ "files": [
13
+ {
14
+ "path": "LICENSE",
15
+ "bytes": 1064,
16
+ "sha256": "987e63b32f6c89ff5160e429458a872ff048e6860b590a3912e938f9da8f14db"
17
+ },
18
+ {
19
+ "path": "NOTICE",
20
+ "bytes": 1129,
21
+ "sha256": "65fb3e46dcdcc7b630ef96ece0da2fb177e7a5d348c57091fe345c0d2d5def18"
22
+ },
23
+ {
24
+ "path": "README.md",
25
+ "bytes": 1300,
26
+ "sha256": "ae045dc8fc978ef9a972b3442286128da3cc00f67e997254c8e77824cde83fca"
27
+ },
28
+ {
29
+ "path": "clip_vit_b32_image.aimodel/main.hash",
30
+ "bytes": 32,
31
+ "sha256": "d1c0b0f0323349a4bd9c48460bc7681a560c8ebb14bc00aa800f165a645f9f79"
32
+ },
33
+ {
34
+ "path": "clip_vit_b32_image.aimodel/main.mlirb",
35
+ "bytes": 175768383,
36
+ "sha256": "d1e96135d26898b55cad462a2da4e75ea41149b4f79ca608cb01a648d24ea4e8"
37
+ },
38
+ {
39
+ "path": "clip_vit_b32_image.aimodel/metadata.json",
40
+ "bytes": 350,
41
+ "sha256": "be18860a32f3c74e9faec571fe89a8cc705b123ee5b52a3f4a43d8e2a878459d"
42
+ },
43
+ {
44
+ "path": "clip_vit_b32_text.aimodel/main.hash",
45
+ "bytes": 32,
46
+ "sha256": "5107534982347924da3ed4aded6564ac8c17be238e8b37021520bc2a650ed8f9"
47
+ },
48
+ {
49
+ "path": "clip_vit_b32_text.aimodel/main.mlirb",
50
+ "bytes": 127030587,
51
+ "sha256": "69a0127b96cac208d3ef71fdf0b6e832997621008abd2ab64cc1d8b87b0d4e01"
52
+ },
53
+ {
54
+ "path": "clip_vit_b32_text.aimodel/metadata.json",
55
+ "bytes": 367,
56
+ "sha256": "6a4f126ad607f3aea64335f49a3f1cd8f126d9c6c0775ecd2c77691c4c2e7511"
57
+ },
58
+ {
59
+ "path": "tokenizer/merges.txt",
60
+ "bytes": 524657,
61
+ "sha256": "f526393189112391ce6f9795d4695f704121ce452c3aad1f5335cc41337eba85"
62
+ },
63
+ {
64
+ "path": "tokenizer/special_tokens_map.json",
65
+ "bytes": 389,
66
+ "sha256": "f8c0d6c39aee3f8431078ef6646567b0aba7f2246e9c54b8b99d55c22b707cbf"
67
+ },
68
+ {
69
+ "path": "tokenizer/tokenizer.json",
70
+ "bytes": 2224041,
71
+ "sha256": "b556ac8c99757ffb677208af34bc8c6721572114111a6e0aaf5fa69ff0b8d842"
72
+ },
73
+ {
74
+ "path": "tokenizer/tokenizer_config.json",
75
+ "bytes": 592,
76
+ "sha256": "34b7336e4bee12e0a9730eaf5189f582ef3c3eea5027f65730e5717256755aad"
77
+ },
78
+ {
79
+ "path": "tokenizer/vocab.json",
80
+ "bytes": 862328,
81
+ "sha256": "5047b556ce86ccaf6aa22b3ffccfc52d391ea4accdab9c2f2407da5b742d4363"
82
+ }
83
+ ]
84
+ }
85
+ },
86
+ "graphs": {
87
+ "imageEncoder": {
88
+ "file": "main:clip_vit_b32_image.aimodel",
89
+ "function": "main",
90
+ "inputs": {
91
+ "image": "image"
92
+ },
93
+ "outputs": {
94
+ "imageEmbedding": "image_embedding"
95
+ },
96
+ "compute": "gpu",
97
+ "expectFrequentReshapes": false
98
+ },
99
+ "textEncoder": {
100
+ "file": "main:clip_vit_b32_text.aimodel",
101
+ "function": "batch1",
102
+ "buckets": {
103
+ "axis": "batch",
104
+ "rule": "smallestFitting",
105
+ "entries": [
106
+ {
107
+ "value": 1,
108
+ "function": "batch1"
109
+ },
110
+ {
111
+ "value": 8,
112
+ "function": "batch8"
113
+ }
114
+ ]
115
+ },
116
+ "inputs": {
117
+ "tokens": "tokens"
118
+ },
119
+ "outputs": {
120
+ "textEmbedding": "text_embedding"
121
+ },
122
+ "compute": "gpu",
123
+ "expectFrequentReshapes": false,
124
+ "limits": {
125
+ "staticSequence": 77
126
+ }
127
+ }
128
+ },
129
+ "tokenizer": {
130
+ "source": {
131
+ "dir": "main:tokenizer"
132
+ },
133
+ "chatTemplate": null,
134
+ "renderer": "clip-bpe",
135
+ "addSpecialTokens": true,
136
+ "text": {
137
+ "padId": 49407,
138
+ "padSide": "right",
139
+ "padTo": 77,
140
+ "truncation": "right",
141
+ "maskRule": "none",
142
+ "unusedBatchRows": [
143
+ 49406,
144
+ 49407
145
+ ]
146
+ },
147
+ "x-notes": "CLIP BPE (NFC, whitespace collapsed, lowercase; `</w>` end-of-word): BOS 49406, at most 75 pieces, EOS 49407, right-padded with 49407 to 77, as transformers' CLIPTokenizer does with padding='max_length', truncation=True. Only <|startoftext|> and <|endoftext|> are added tokens: '!' is an ordinary piece here ('hello!' -> 3306, 256), unlike SD 2.x's tokenizer, where '!' is the pad token 0. The graph takes no attention mask (causal attention makes it redundant) and pools the first EOS, so any pad id works. Rows of a bucket beyond the texts are filled with [BOS, EOS, then pad] and their outputs discarded."
148
+ },
149
+ "preprocess": {
150
+ "image": {
151
+ "resize": {
152
+ "mode": "centerCrop",
153
+ "size": [
154
+ 224,
155
+ 224
156
+ ],
157
+ "filter": "pillowBicubic",
158
+ "shortestSide": 224
159
+ },
160
+ "colorSpace": "sRGB",
161
+ "channelOrder": "RGB",
162
+ "scale": 0.00392156862745098,
163
+ "mean": [
164
+ 0.0,
165
+ 0.0,
166
+ 0.0
167
+ ],
168
+ "std": [
169
+ 1.0,
170
+ 1.0,
171
+ 1.0
172
+ ],
173
+ "layout": "NCHW",
174
+ "hostDType": "float32",
175
+ "orientation": "exif",
176
+ "x-notes": "Upstream (openai/CLIP `_transform`: torchvision Resize(224, BICUBIC) + CenterCrop(224) on a PIL image): resize the shortest side to 224 with Pillow BICUBIC (long side int(224 * long / short)), center-crop 224 x 224 (offsets round((side - 224) / 2)), /255. transformers 5's CLIPImageProcessor floors the crop offset and resizes with torch, so it can differ by a pixel of offset on odd margins. OpenAI CLIP normalization (mean 0.48145466/0.4578275/0.40821073, std 0.26862954/0.26130258/0.27577711) is in the graph: feed RGB on [0,1]. The graph input is float16; the host builds float32 and converts."
177
+ }
178
+ },
179
+ "postprocess": {
180
+ "kind": "embedding",
181
+ "embedding": {
182
+ "normalized": "inGraph",
183
+ "pooling": "inGraph",
184
+ "similarity": "cosine",
185
+ "dimension": 512,
186
+ "logitScale": 100.00000762939453
187
+ },
188
+ "x-notes": "imageEmbedding [1,512] and textEmbedding [B,512] are unit-length float32 (L2-normalized in the graph), so cosine similarity is their dot product. Zero-shot classification: softmax over labels of logitScale * cosine(image, text(label)); logitScale is upstream's logit_scale.exp(). OpenAI's prompt for ImageNet-style labels is 'a photo of a {label}.'."
189
+ },
190
+ "precision": {
191
+ "weights": "fp16",
192
+ "activations": "fp16",
193
+ "components": {
194
+ "towers": "fp16 (both transformers and their projections)",
195
+ "normalization": "fp32 (input mean/std and the output L2 normalization)",
196
+ "io": "image float16, tokens int32; embeddings float32"
197
+ }
198
+ },
199
+ "license": "MIT",
200
+ "x-license": {
201
+ "files": [
202
+ "LICENSE",
203
+ "NOTICE"
204
+ ],
205
+ "modified": true,
206
+ "x-notes": "OpenAI's model card scopes CLIP to research use: it calls any deployed use currently out of scope without task-specific testing, and surveillance and facial recognition always out of scope. That is guidance, not a license term."
207
+ },
208
+ "provenance": {
209
+ "source": "openai/clip-vit-base-patch32",
210
+ "sourceRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
211
+ "producer": "aether-kit Forge/clip/export_clip.py",
212
+ "exportScript": "d6b32fd5d8a8ccda2e608cc6b73446be620904aa9c9307ed5e4f6ffbc38155b0",
213
+ "refs": {
214
+ "upstreamCode": "transformers 5.22.1 CLIPModel",
215
+ "license": "openai/CLIP@d05afc436d78f1c48dc0dbf8e5980a9d471f35f6:LICENSE",
216
+ "forgeLockSHA256": "6729c123d0399129ae8ed3db306a9a0b680da0f9b61890218c328a7ac6e1920a",
217
+ "exportReport": "export-report.json"
218
+ }
219
+ }
220
+ }
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ clip_vit_b32_image.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
37
+ clip_vit_b32_text.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2021 OpenAI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
NOTICE ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CLIP ViT-B/32 (Aether-Kit Core AI export)
2
+
3
+ This bundle is a modified version of openai/clip-vit-base-patch32 at revision 3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268,
4
+ by OpenAI (CLIP; https://github.com/openai/CLIP), licensed under the MIT License (LICENSE, from
5
+ openai/CLIP at commit d05afc436d78f1c48dc0dbf8e5980a9d471f35f6). The tokenizer files in tokenizer/ are the checkpoint's, unchanged.
6
+
7
+ Modifications: Aether-Kit's Forge exporter re-expressed the model, as implemented by Hugging Face transformers'
8
+ CLIPModel (Apache-2.0), as two static Core AI graphs: the image tower (224 x 224 input, CLIP normalization
9
+ folded in) and the text tower (77 tokens, static batches 1 and 8, pooled at the first end-of-text token
10
+ without an attention mask), each with its projection and an in-graph L2 normalization, weights in float16.
11
+ It is not an official release of CLIP.
12
+
13
+ OpenAI's model card (https://github.com/openai/CLIP/blob/main/model-card.md) describes CLIP as a research
14
+ model: it considers any deployed use currently out of scope without thorough task-specific testing, and
15
+ surveillance and facial recognition always out of scope.
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: openai/clip-vit-base-patch32
4
+ pipeline_tag: zero-shot-image-classification
5
+ tags: [aether-kit, core-ai, clip, image-text-embedding, zero-shot-image-classification]
6
+ ---
7
+
8
+ # CLIP ViT-B/32 for Aether-Kit (Core AI)
9
+
10
+ [openai/clip-vit-base-patch32](https://huggingface.co/openai/clip-vit-base-patch32) at revision `3d74acf9`, exported by
11
+ [Aether-Kit](https://github.com/bubstackdev/aether-kit)'s Forge exporter (`Forge/clip/`) as two static Core
12
+ AI graphs: the image tower (an RGB image resized to 224 on its shortest side and center-cropped, on [0, 1];
13
+ CLIP normalization is in the graph) and the text tower (77 CLIP BPE tokens, batches of 1 or 8). Each returns
14
+ unit-length 512-wide embeddings in float32; the towers run in float16. Cosine similarity is the dot product, and
15
+ zero-shot classification is a softmax over 100 x cosine. Load it with Aether-Kit's `AetherVision`
16
+ (`clip-joint@1`, macOS); the manifest is `.aether/aether.json`. Gated against the
17
+ upstream implementation on CPU in float32 (see `export-report.json`).
18
+
19
+ OpenAI's [model card](https://github.com/openai/CLIP/blob/main/model-card.md) describes CLIP as a research
20
+ model and considers untested deployed use, surveillance and facial recognition out of scope.
21
+
22
+ MIT (`LICENSE`). A modified version (see `NOTICE`).
SHA256SUMS ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ab851888c05356d89b9eb7ef1bfe1b017e282b02055926847ef76d360510b035 .aether/aether.json
2
+ 987e63b32f6c89ff5160e429458a872ff048e6860b590a3912e938f9da8f14db LICENSE
3
+ 65fb3e46dcdcc7b630ef96ece0da2fb177e7a5d348c57091fe345c0d2d5def18 NOTICE
4
+ ae045dc8fc978ef9a972b3442286128da3cc00f67e997254c8e77824cde83fca README.md
5
+ d1c0b0f0323349a4bd9c48460bc7681a560c8ebb14bc00aa800f165a645f9f79 clip_vit_b32_image.aimodel/main.hash
6
+ d1e96135d26898b55cad462a2da4e75ea41149b4f79ca608cb01a648d24ea4e8 clip_vit_b32_image.aimodel/main.mlirb
7
+ be18860a32f3c74e9faec571fe89a8cc705b123ee5b52a3f4a43d8e2a878459d clip_vit_b32_image.aimodel/metadata.json
8
+ 5107534982347924da3ed4aded6564ac8c17be238e8b37021520bc2a650ed8f9 clip_vit_b32_text.aimodel/main.hash
9
+ 69a0127b96cac208d3ef71fdf0b6e832997621008abd2ab64cc1d8b87b0d4e01 clip_vit_b32_text.aimodel/main.mlirb
10
+ 6a4f126ad607f3aea64335f49a3f1cd8f126d9c6c0775ecd2c77691c4c2e7511 clip_vit_b32_text.aimodel/metadata.json
11
+ 1730e2280967bf6099f2ca4f1886362d1dec6135b74dfe08aaf55ee9ccdb1dbd export-report.json
12
+ f526393189112391ce6f9795d4695f704121ce452c3aad1f5335cc41337eba85 tokenizer/merges.txt
13
+ f8c0d6c39aee3f8431078ef6646567b0aba7f2246e9c54b8b99d55c22b707cbf tokenizer/special_tokens_map.json
14
+ b556ac8c99757ffb677208af34bc8c6721572114111a6e0aaf5fa69ff0b8d842 tokenizer/tokenizer.json
15
+ 34b7336e4bee12e0a9730eaf5189f582ef3c3eea5027f65730e5717256755aad tokenizer/tokenizer_config.json
16
+ 5047b556ce86ccaf6aa22b3ffccfc52d391ea4accdab9c2f2407da5b742d4363 tokenizer/vocab.json
clip_vit_b32_image.aimodel/main.hash ADDED
@@ -0,0 +1 @@
 
 
1
+ ��a5�h��\�F*-��^�I������H�N��
clip_vit_b32_image.aimodel/main.mlirb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1e96135d26898b55cad462a2da4e75ea41149b4f79ca608cb01a648d24ea4e8
3
+ size 175768383
clip_vit_b32_image.aimodel/metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "assetVersion" : "2.0",
3
+ "author" : "OpenAI (CLIP); Core AI export: Aether-Kit Forge",
4
+ "description" : "CLIP ViT-B\/32 image tower (openai\/clip-vit-base-patch32@3d74acf9a28c): image [1,3,224,224] RGB on [0,1] -> unit image_embedding [1,512].",
5
+ "producer" : "coreai-core 1.0.0b2",
6
+ "license" : "MIT",
7
+ "creationDate" : "20261106T195539Z"
8
+ }
clip_vit_b32_text.aimodel/main.hash ADDED
Binary file (32 Bytes). View file
 
clip_vit_b32_text.aimodel/main.mlirb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69a0127b96cac208d3ef71fdf0b6e832997621008abd2ab64cc1d8b87b0d4e01
3
+ size 127030587
clip_vit_b32_text.aimodel/metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "producer" : "coreai-core 1.0.0b2",
3
+ "assetVersion" : "2.0",
4
+ "description" : "CLIP ViT-B\/32 text tower (openai\/clip-vit-base-patch32@3d74acf9a28c): tokens [B,77] int32 (B = 1 or 8, one function each) -> unit text_embedding [B,512].",
5
+ "creationDate" : "20261106T195541Z",
6
+ "license" : "MIT",
7
+ "author" : "OpenAI (CLIP); Core AI export: Aether-Kit Forge"
8
+ }
export-report.json ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": 1,
3
+ "id": "clip-vit-b32",
4
+ "command": [
5
+ "Forge/clip/export_clip.py",
6
+ "--output",
7
+ "/Users/zakkeown/Code/bubstackdev/aether/forge-outputs/clip-vit-b32/bundle"
8
+ ],
9
+ "exportedAt": "2026-11-06T19:55:37.010068+00:00",
10
+ "host": {
11
+ "os": "26B123",
12
+ "machine": "arm64",
13
+ "python": "3.12.16"
14
+ },
15
+ "versions": {
16
+ "torch": "2.11.0",
17
+ "torchvision": "0.26.0",
18
+ "transformers": "5.22.1",
19
+ "coreai-torch": "0.4.2",
20
+ "coreai-core": "1.0.0b2",
21
+ "numpy": "2.5.4"
22
+ },
23
+ "forgeLockSHA256": "6729c123d0399129ae8ed3db306a9a0b680da0f9b61890218c328a7ac6e1920a",
24
+ "forgePyprojectSHA256": "652f31b5ec9485de2ac31e1bba00433f1ab16127f3b56822eeca5368e4f2bc77",
25
+ "scriptSHA256": {
26
+ "bench_clip.py": "67dfea418af25f5faa015507af6176ab6b13c869efb70ef92700a2e165619adc",
27
+ "check_clip.py": "1d2286d8c9ff084f54675edca517fbe24362ba647075dc3d35fd1b6f32918471",
28
+ "clip_graphs.py": "d715a141ac2befbe243e0c49b5e5465ed748fef505164de8f125fc6109dbd8c3",
29
+ "export_clip.py": "d6b32fd5d8a8ccda2e608cc6b73446be620904aa9c9307ed5e4f6ffbc38155b0",
30
+ "fetch_upstream.py": "39eae947367748d35762783e4c1ccaf837e782fc5a5fe38c6c70a3ada05e3d2f",
31
+ "reference_clip.py": "ec9ca1690b952804aa365058f1fbce82fd64d77f4ea2b02971ddb01e3a0c057f",
32
+ "selftest_clip.py": "0952e4d45ad836c2c6b0ac1b04b93d2e1fd03dd58f23cbf5c77a91f933b1fad5"
33
+ },
34
+ "source": {
35
+ "repository": "openai/clip-vit-base-patch32",
36
+ "revision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
37
+ "snapshot": "/Users/zakkeown/.cache/huggingface/hub/models--openai--clip-vit-base-patch32/snapshots/3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
38
+ "license": {
39
+ "repository": "openai/CLIP",
40
+ "commit": "d05afc436d78f1c48dc0dbf8e5980a9d471f35f6"
41
+ },
42
+ "verified": {
43
+ "README.md": "8f0e8c678e0afe5f384f3bf8a6694c1cb53c41e52f86277967b6c5354cb0f9f4",
44
+ "config.json": "b575ef3c36f2a057fa19e221650105052d61cc9c1a972ec15019c6261ec98770",
45
+ "merges.txt": "f526393189112391ce6f9795d4695f704121ce452c3aad1f5335cc41337eba85",
46
+ "preprocessor_config.json": "910e70b3956ac9879ebc90b22fb3bc8a75b6a0677814500101a4c072bd7857bd",
47
+ "pytorch_model.bin": "a63082132ba4f97a80bea76823f544493bffa8082296d62d71581a4feff1576f",
48
+ "special_tokens_map.json": "f8c0d6c39aee3f8431078ef6646567b0aba7f2246e9c54b8b99d55c22b707cbf",
49
+ "tokenizer.json": "b556ac8c99757ffb677208af34bc8c6721572114111a6e0aaf5fa69ff0b8d842",
50
+ "tokenizer_config.json": "34b7336e4bee12e0a9730eaf5189f582ef3c3eea5027f65730e5717256755aad",
51
+ "vocab.json": "5047b556ce86ccaf6aa22b3ffccfc52d391ea4accdab9c2f2407da5b742d4363",
52
+ "upstream:LICENSE": "987e63b32f6c89ff5160e429458a872ff048e6860b590a3912e938f9da8f14db",
53
+ "upstream:model-card.md": "7baf04f60c6234b301ec2c9ca39e67a3ca54b47c05e9509bddf732cbcbec8b7f",
54
+ "images:skimage/data/astronaut.png": "88431cd9653ccd539741b555fb0a46b61558b301d4110412b5bc28b5e3ea6cb5",
55
+ "images:skimage/data/camera.png": "b0793d2adda0fa6ae899c03989482bff9a42d3d5690fc7e3648f2795d730c23a",
56
+ "images:skimage/data/chelsea.png": "596aa1e7cb875eb79f437e310381d26b338a81c2da23439704a73c4651e8c4bb",
57
+ "images:skimage/data/coffee.png": "cc02f8ca188b167c775a7101b5d767d1e71792cf762c33d6fa15a4599b5a8de7",
58
+ "images:skimage/data/motorcycle_right.png": "5fc913ae870e42a4b662314bc904d1786bcad8e2f0b9b67dba5a229406357797",
59
+ "images:skimage/data/rocket.jpg": "c2dd0de7c538df8d111e479619b129464d0269d0ae5fd18ca91d33a7fdfea95c"
60
+ }
61
+ },
62
+ "precisionName": "float16",
63
+ "precision": "towers float16; normalization float32; image float16 and tokens int32 in, embeddings float32 out; no quantization",
64
+ "inputShapes": {
65
+ "image": [
66
+ 1,
67
+ 3,
68
+ 224,
69
+ 224
70
+ ],
71
+ "tokens": {
72
+ "batch1": [
73
+ 1,
74
+ 77
75
+ ],
76
+ "batch8": [
77
+ 8,
78
+ 77
79
+ ]
80
+ }
81
+ },
82
+ "compute": "gpu",
83
+ "conversion": {
84
+ "imageEncoder": {
85
+ "exportSeconds": 0.8,
86
+ "convertSeconds": 0.3,
87
+ "bytes": 175768765,
88
+ "inputs": [
89
+ "image"
90
+ ],
91
+ "outputs": [
92
+ "image_embedding"
93
+ ],
94
+ "functions": [
95
+ "main"
96
+ ]
97
+ },
98
+ "textEncoder": {
99
+ "exportSeconds": 1.3,
100
+ "convertSeconds": 0.4,
101
+ "bytes": 127030986,
102
+ "inputs": [
103
+ "tokens"
104
+ ],
105
+ "outputs": [
106
+ "text_embedding"
107
+ ],
108
+ "functions": [
109
+ "batch1",
110
+ "batch8"
111
+ ]
112
+ }
113
+ },
114
+ "stages": {
115
+ "verify-sources": 1.64,
116
+ "export-image": 1.21,
117
+ "export-text": 1.89,
118
+ "package": 0.11
119
+ },
120
+ "logitScale": 100.00000762939453,
121
+ "peakRSSGB": 1.59,
122
+ "wallSeconds": 4.9,
123
+ "bundleBytes": 306415251,
124
+ "assetBytes": {
125
+ "imageEncoder": 175768765,
126
+ "textEncoder": 127030986
127
+ },
128
+ "aetherJSONSHA256": "ab851888c05356d89b9eb7ef1bfe1b017e282b02055926847ef76d360510b035"
129
+ }
forge-log.jsonl ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {"message": "start", "stage": "verify-sources", "t": 1793994937.025}
2
+ {"message": "done", "peakRSSGB": 0.99, "seconds": 1.64, "stage": "verify-sources", "t": 1793994938.664}
3
+ {"message": "start", "stage": "export-image", "t": 1793994938.665}
4
+ {"message": "done", "peakRSSGB": 1.49, "seconds": 1.21, "stage": "export-image", "t": 1793994939.869}
5
+ {"message": "start", "stage": "export-text", "t": 1793994939.87}
6
+ {"message": "done", "peakRSSGB": 1.59, "seconds": 1.89, "stage": "export-text", "t": 1793994941.76}
7
+ {"message": "start", "stage": "package", "t": 1793994941.76}
8
+ {"message": "done", "peakRSSGB": 1.59, "seconds": 0.11, "stage": "package", "t": 1793994941.87}
tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": {"content": "<|startoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": "<|endoftext|>"}
tokenizer/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<|startoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": "<|endoftext|>", "add_prefix_space": false, "errors": "replace", "do_lower_case": true, "name_or_path": "./clip_ViT_B_32/", "model_max_length": 77}
tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff