Publish validated EIDORA schema-v3 ONNX model
Browse files- .gitattributes +1 -0
- README.md +50 -0
- config.yaml +221 -0
- conversion_report.json +38 -0
- image_encoder.onnx +3 -0
- text_encoder.onnx +3 -0
- tokenizer/merges.txt +0 -0
- tokenizer/special_tokens_map.json +30 -0
- tokenizer/tokenizer.json +0 -0
- tokenizer/tokenizer_config.json +31 -0
- tokenizer/vocab.json +0 -0
- validation-report.json +26 -0
- validation.yaml +14 -0
- validation/attention_mask.npy +3 -0
- validation/embedding.npy +3 -0
- validation/fused_embedding.npy +3 -0
- validation/image_embedding.npy +3 -0
- validation/input_ids.npy +3 -0
- validation/photo.png +3 -0
- validation/pixels.npy +3 -0
- validation/sentence.txt +1 -0
- validation/source_parity.json +21 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ 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 |
+
validation/photo.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: feature-extraction
|
| 3 |
+
tags:
|
| 4 |
+
- eidora
|
| 5 |
+
- eidora-model-zoo
|
| 6 |
+
- onnx
|
| 7 |
+
- onnxruntime
|
| 8 |
+
- clip
|
| 9 |
+
- embeddings
|
| 10 |
+
- multimodal
|
| 11 |
+
- vit
|
| 12 |
+
base_model: openai/clip-vit-base-patch32
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# EIDORA CLIP ViT-B/32 — Multimodal
|
| 16 |
+
|
| 17 |
+
Image-and-text model. EIDORA combines the normalized component embeddings using normalized-mean fusion. This combined vector is not the same as CLIP's ordinary image-text similarity score. For text-to-image retrieval, compare the separate Image and Text variants.
|
| 18 |
+
|
| 19 |
+
Based on `openai/clip-vit-base-patch32`.
|
| 20 |
+
All embeddings are 512-dimensional and L2-normalized.
|
| 21 |
+
|
| 22 |
+
Sibling variants:
|
| 23 |
+
- CLIP Image: https://huggingface.co/EIDORA/CLIP_ViTB32_Image
|
| 24 |
+
- CLIP Text: https://huggingface.co/EIDORA/CLIP_ViTB32_Text
|
| 25 |
+
- CLIP Multimodal: https://huggingface.co/EIDORA/CLIP_ViTB32_Multimodal
|
| 26 |
+
|
| 27 |
+
These repositories may not yet be public.
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
## Licensing
|
| 31 |
+
|
| 32 |
+
The OpenAI CLIP source repository uses MIT.
|
| 33 |
+
The separate redistribution terms of the pretrained
|
| 34 |
+
weights require review before public release.
|
| 35 |
+
|
| 36 |
+
## Limitations
|
| 37 |
+
|
| 38 |
+
Similarity does not establish identity, factual correctness,
|
| 39 |
+
authorship or intent. Performance depends on the domain
|
| 40 |
+
and language of the input data.
|
| 41 |
+
|
| 42 |
+
## EIDORA CLIP Variant Selection
|
| 43 |
+
|
| 44 |
+
Supports image and text inputs. When both are selected, EIDORA combines their embeddings using normalized-mean fusion. This fused embedding is different from CLIP's usual image-text similarity score. For ordinary text-to-image retrieval, compare the separate Image and Text variants.
|
| 45 |
+
|
| 46 |
+
Related variants:
|
| 47 |
+
|
| 48 |
+
- **Image:** https://huggingface.co/EIDORA/CLIP_ViTB32_Image
|
| 49 |
+
- **Text:** https://huggingface.co/EIDORA/CLIP_ViTB32_Text
|
| 50 |
+
- **Multimodal:** https://huggingface.co/EIDORA/CLIP_ViTB32_Multimodal
|
config.yaml
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version: 3
|
| 2 |
+
id: EIDORA/CLIP_ViTB32_Multimodal
|
| 3 |
+
name: CLIP ViT-B/32 Multimodal
|
| 4 |
+
version: 0.1.0
|
| 5 |
+
modality: multimodal
|
| 6 |
+
license: other
|
| 7 |
+
bibtex: "@inproceedings{radford2021learning,\n title={Learning Transferable Visual\
|
| 8 |
+
\ Models From Natural Language Supervision},\n author={Radford, Alec and Kim, Jong\
|
| 9 |
+
\ Wook and Hallacy, Chris and Ramesh, Aditya and Goh, Gabriel and Agarwal, Sandhini\
|
| 10 |
+
\ and Sastry, Girish and Askell, Amanda and Mishkin, Pamela and Clark, Jack and\
|
| 11 |
+
\ Krueger, Gretchen and Sutskever, Ilya},\n booktitle={ICML},\n year={2021}\n}"
|
| 12 |
+
compatibility:
|
| 13 |
+
min_eidora_version: 0.2.0
|
| 14 |
+
artifacts:
|
| 15 |
+
- path: README.md
|
| 16 |
+
sha256: b1ebd2a22e5c5d8703ae60c0388be5a7f251375a7dcb26641fa4643e5087e218
|
| 17 |
+
role: asset
|
| 18 |
+
- path: conversion_report.json
|
| 19 |
+
sha256: 15ad5140537402294eff026ed820e7094625b4be549cf9bf64a9c773ec14edd1
|
| 20 |
+
role: asset
|
| 21 |
+
- path: image_encoder.onnx
|
| 22 |
+
sha256: e7b31f500e645350c2bb0ade2a506e3d9557b2b75338e7941cf4d4db51ee29de
|
| 23 |
+
role: graph
|
| 24 |
+
- path: text_encoder.onnx
|
| 25 |
+
sha256: 14e0dd0d24dcf841b6e966d9eb0352586d4aa99238ed840a45580d38bd37bb33
|
| 26 |
+
role: graph
|
| 27 |
+
- path: tokenizer/merges.txt
|
| 28 |
+
sha256: 9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a
|
| 29 |
+
role: asset
|
| 30 |
+
- path: tokenizer/special_tokens_map.json
|
| 31 |
+
sha256: 2cdb3b8331a60c92fc1e55a13e9fd61fd2293c5a51275fdcccd62b780052530e
|
| 32 |
+
role: asset
|
| 33 |
+
- path: tokenizer/tokenizer.json
|
| 34 |
+
sha256: 8e019f9349caf5f9bb92514b0e4fc00c92841aef6ae8df9d833d975c623b7c72
|
| 35 |
+
role: asset
|
| 36 |
+
- path: tokenizer/tokenizer_config.json
|
| 37 |
+
sha256: 39bae5313c2da6467866dee758e754d69f0e302a875027b142531cb9c51c7c28
|
| 38 |
+
role: asset
|
| 39 |
+
- path: tokenizer/vocab.json
|
| 40 |
+
sha256: 5047b556ce86ccaf6aa22b3ffccfc52d391ea4accdab9c2f2407da5b742d4363
|
| 41 |
+
role: asset
|
| 42 |
+
- path: validation/attention_mask.npy
|
| 43 |
+
sha256: ae5d428d93c3f5acae10a7ae4944e36da2f5cf5fba57ca047e703b3c0486ec24
|
| 44 |
+
role: asset
|
| 45 |
+
- path: validation/embedding.npy
|
| 46 |
+
sha256: 6fe4baa5663769ccab25fcede78b9fd6b73f9d6eb46b4014541fb9eee2538099
|
| 47 |
+
role: asset
|
| 48 |
+
- path: validation/fused_embedding.npy
|
| 49 |
+
sha256: 0a787abbc8e338537b146c296d4e23c7759328bd15213388ede319da070e1040
|
| 50 |
+
role: asset
|
| 51 |
+
- path: validation/image_embedding.npy
|
| 52 |
+
sha256: 4557f61170cbeadf8b82a6aedc7df3e2f5b70c55c1b02c63f16e26ce1b3224a9
|
| 53 |
+
role: asset
|
| 54 |
+
- path: validation/input_ids.npy
|
| 55 |
+
sha256: 0c9c8c962d90e9126314adf19d5fb3b332f1bc1ed8bd2db15f5d3be5d62a86c9
|
| 56 |
+
role: asset
|
| 57 |
+
- path: validation/photo.png
|
| 58 |
+
sha256: 1d70a03fc99c16e3aa674dbb9c7a8d0c127b45e1cf416118131451932b2f2389
|
| 59 |
+
role: asset
|
| 60 |
+
- path: validation/pixels.npy
|
| 61 |
+
sha256: 49e3049b432634bb2d8c33a78f7a63404e5e9961016b7dd71156cb4a840ce7f3
|
| 62 |
+
role: asset
|
| 63 |
+
- path: validation/sentence.txt
|
| 64 |
+
sha256: c0b581bf5fc722a80c9a95b07768db20a9af7edad868de4bfcb7aa759d9e8ab8
|
| 65 |
+
role: asset
|
| 66 |
+
- path: validation/source_parity.json
|
| 67 |
+
sha256: 58542124d8c10a0f9e260ceb3a8fcc458e78714676cf350df4d3ffaa8b4d1246
|
| 68 |
+
role: asset
|
| 69 |
+
- path: validation.yaml
|
| 70 |
+
sha256: 18ad4d37ccc5bbd5f6150fcee231d62c7f652293288a6e1048c1ad0001a43e2d
|
| 71 |
+
role: asset
|
| 72 |
+
runtime:
|
| 73 |
+
execution_providers:
|
| 74 |
+
- CPUExecutionProvider
|
| 75 |
+
fusion: normalized_mean
|
| 76 |
+
components:
|
| 77 |
+
image:
|
| 78 |
+
runtime:
|
| 79 |
+
graph: image_encoder.onnx
|
| 80 |
+
inputs:
|
| 81 |
+
- name: pixel_values
|
| 82 |
+
source: pixels
|
| 83 |
+
dtype: float32
|
| 84 |
+
shape:
|
| 85 |
+
- batch
|
| 86 |
+
- 3
|
| 87 |
+
- 224
|
| 88 |
+
- 224
|
| 89 |
+
output:
|
| 90 |
+
name: embedding
|
| 91 |
+
dtype: float32
|
| 92 |
+
shape:
|
| 93 |
+
- batch
|
| 94 |
+
- 512
|
| 95 |
+
execution_providers:
|
| 96 |
+
- CPUExecutionProvider
|
| 97 |
+
preparation:
|
| 98 |
+
width: 224
|
| 99 |
+
height: 224
|
| 100 |
+
layout: NCHW
|
| 101 |
+
resize: short_edge_crop
|
| 102 |
+
resize_rounding: truncate
|
| 103 |
+
interpolation: bicubic
|
| 104 |
+
rescale: 0.00392156862745098
|
| 105 |
+
mean:
|
| 106 |
+
- 0.48145466
|
| 107 |
+
- 0.4578275
|
| 108 |
+
- 0.40821073
|
| 109 |
+
std:
|
| 110 |
+
- 0.26862954
|
| 111 |
+
- 0.26130258
|
| 112 |
+
- 0.27577711
|
| 113 |
+
alpha_background:
|
| 114 |
+
- 0
|
| 115 |
+
- 0
|
| 116 |
+
- 0
|
| 117 |
+
short_edge: 224
|
| 118 |
+
parameters:
|
| 119 |
+
resize:
|
| 120 |
+
default: short_edge_crop
|
| 121 |
+
choices:
|
| 122 |
+
- stretch
|
| 123 |
+
- fill_crop
|
| 124 |
+
- fit_pad
|
| 125 |
+
- short_edge_crop
|
| 126 |
+
interpolation:
|
| 127 |
+
default: bicubic
|
| 128 |
+
choices:
|
| 129 |
+
- nearest
|
| 130 |
+
- bilinear
|
| 131 |
+
- bicubic
|
| 132 |
+
- lanczos
|
| 133 |
+
crop_position:
|
| 134 |
+
default: center
|
| 135 |
+
short_edge:
|
| 136 |
+
default: 224
|
| 137 |
+
minimum: 224
|
| 138 |
+
maximum: 2048
|
| 139 |
+
text:
|
| 140 |
+
runtime:
|
| 141 |
+
graph: text_encoder.onnx
|
| 142 |
+
inputs:
|
| 143 |
+
- name: input_ids
|
| 144 |
+
source: token_ids
|
| 145 |
+
dtype: int64
|
| 146 |
+
shape:
|
| 147 |
+
- batch
|
| 148 |
+
- 77
|
| 149 |
+
- name: attention_mask
|
| 150 |
+
source: attention_mask
|
| 151 |
+
dtype: int64
|
| 152 |
+
shape:
|
| 153 |
+
- batch
|
| 154 |
+
- 77
|
| 155 |
+
output:
|
| 156 |
+
name: embedding
|
| 157 |
+
dtype: float32
|
| 158 |
+
shape:
|
| 159 |
+
- batch
|
| 160 |
+
- 512
|
| 161 |
+
execution_providers:
|
| 162 |
+
- CPUExecutionProvider
|
| 163 |
+
preparation:
|
| 164 |
+
tokenizer_path: tokenizer
|
| 165 |
+
max_length: 77
|
| 166 |
+
padding_side: right
|
| 167 |
+
truncation_side: right
|
| 168 |
+
add_special_tokens: true
|
| 169 |
+
prefix: ''
|
| 170 |
+
suffix: ''
|
| 171 |
+
parameters:
|
| 172 |
+
truncation_side:
|
| 173 |
+
default: right
|
| 174 |
+
embedding:
|
| 175 |
+
dimensions: 512
|
| 176 |
+
normalized: true
|
| 177 |
+
similarity: cosine
|
| 178 |
+
shared_space:
|
| 179 |
+
id: openai/clip-vit-base-patch32
|
| 180 |
+
revision: b97b0100e55e367c057773c2a614676470b0d575
|
| 181 |
+
metadata:
|
| 182 |
+
summary: CLIP ViT-B/32 image and text encoders combined using EIDORA normalized-mean
|
| 183 |
+
fusion.
|
| 184 |
+
trained_on: Publicly available image-caption data collected from the internet; the
|
| 185 |
+
exact training dataset was not released.
|
| 186 |
+
feature_type: embedding
|
| 187 |
+
pooling: cls_projection
|
| 188 |
+
group:
|
| 189 |
+
id: multimodal
|
| 190 |
+
label: Multimodal Models
|
| 191 |
+
order: 10
|
| 192 |
+
provenance:
|
| 193 |
+
base_model: openai/clip-vit-base-patch32
|
| 194 |
+
source_repository: https://huggingface.co/openai/clip-vit-base-patch32
|
| 195 |
+
original_name: CLIP ViT-B/32
|
| 196 |
+
original_model_url: https://github.com/openai/CLIP
|
| 197 |
+
paper_title: Learning Transferable Visual Models From Natural Language Supervision
|
| 198 |
+
paper_url: https://arxiv.org/abs/2103.00020
|
| 199 |
+
training_data: Publicly available image-caption data collected from the internet;
|
| 200 |
+
the exact training dataset was not released.
|
| 201 |
+
upstream_license: OpenAI CLIP source repository is MIT. A separate explicit pretrained-weight
|
| 202 |
+
redistribution statement was not found during review, so public redistribution
|
| 203 |
+
remains blocked pending review.
|
| 204 |
+
authors:
|
| 205 |
+
- Alec Radford
|
| 206 |
+
- Jong Wook Kim
|
| 207 |
+
- Chris Hallacy
|
| 208 |
+
- Aditya Ramesh
|
| 209 |
+
- Gabriel Goh
|
| 210 |
+
- Sandhini Agarwal
|
| 211 |
+
- Girish Sastry
|
| 212 |
+
- Amanda Askell
|
| 213 |
+
- Pamela Mishkin
|
| 214 |
+
- Jack Clark
|
| 215 |
+
- Gretchen Krueger
|
| 216 |
+
- Ilya Sutskever
|
| 217 |
+
source_model: openai/clip-vit-base-patch32
|
| 218 |
+
source_revision: b97b0100e55e367c057773c2a614676470b0d575
|
| 219 |
+
exported_opset: 17
|
| 220 |
+
export_date: '2026-10-26'
|
| 221 |
+
exporter_version: eidora-onnx 1.0.0
|
conversion_report.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 3,
|
| 3 |
+
"source_framework": "pytorch",
|
| 4 |
+
"source_model": "openai/clip-vit-base-patch32",
|
| 5 |
+
"converter": "reuse_independently_verified_onnx_components",
|
| 6 |
+
"embedding_dimensions": 512,
|
| 7 |
+
"fusion": "normalized_mean",
|
| 8 |
+
"components": {
|
| 9 |
+
"image": {
|
| 10 |
+
"status": "passed",
|
| 11 |
+
"max_abs_error": 2.8312206268310547e-07,
|
| 12 |
+
"sha256": "e7b31f500e645350c2bb0ade2a506e3d9557b2b75338e7941cf4d4db51ee29de",
|
| 13 |
+
"source_vs_onnx": {
|
| 14 |
+
"status": "passed",
|
| 15 |
+
"max_abs_error": 2.8312206268310547e-07,
|
| 16 |
+
"mean_abs_error": 5.361172839002393e-08,
|
| 17 |
+
"atol": 0.0001,
|
| 18 |
+
"rtol": 0.001,
|
| 19 |
+
"onnxruntime_version": "1.30.0"
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"text": {
|
| 23 |
+
"status": "passed",
|
| 24 |
+
"max_abs_error": 2.384185791015625e-07,
|
| 25 |
+
"sha256": "14e0dd0d24dcf841b6e966d9eb0352586d4aa99238ed840a45580d38bd37bb33",
|
| 26 |
+
"source_vs_onnx": {
|
| 27 |
+
"status": "passed",
|
| 28 |
+
"max_abs_error": 2.384185791015625e-07,
|
| 29 |
+
"mean_abs_error": 2.0399065547849204e-08,
|
| 30 |
+
"atol": 0.0001,
|
| 31 |
+
"rtol": 0.001,
|
| 32 |
+
"onnxruntime_version": "1.30.0"
|
| 33 |
+
}
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"shared_space_max_abs_error": 7.450580596923828e-08,
|
| 37 |
+
"fusion_max_abs_error": 2.1606683731079102e-07
|
| 38 |
+
}
|
image_encoder.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7b31f500e645350c2bb0ade2a506e3d9557b2b75338e7941cf4d4db51ee29de
|
| 3 |
+
size 351591848
|
text_encoder.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14e0dd0d24dcf841b6e966d9eb0352586d4aa99238ed840a45580d38bd37bb33
|
| 3 |
+
size 253942140
|
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,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|startoftext|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 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 |
+
}
|
| 30 |
+
}
|
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,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"49406": {
|
| 5 |
+
"content": "<|startoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 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",
|
| 30 |
+
"unk_token": "<|endoftext|>"
|
| 31 |
+
}
|
tokenizer/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
validation-report.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"desktop_version": "0.2.0",
|
| 3 |
+
"schema_version": 3,
|
| 4 |
+
"preparation_version": 2,
|
| 5 |
+
"providers": {
|
| 6 |
+
"CPUExecutionProvider": {
|
| 7 |
+
"status": "passed",
|
| 8 |
+
"fixture_runs": 23,
|
| 9 |
+
"scope": "session provider chain; CPU graph-node support allowed",
|
| 10 |
+
"environment": {
|
| 11 |
+
"onnxruntime": "1.31.0",
|
| 12 |
+
"platform": "Linux-7.0.0-38-generic-x86_64-with-glibc2.43",
|
| 13 |
+
"python": "3.13.16 (main, Oct 9 2026, 15:23:36) [Clang 22.1.3 ]"
|
| 14 |
+
}
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"environment": {
|
| 18 |
+
"onnxruntime": "1.31.0",
|
| 19 |
+
"platform": "Linux-7.0.0-38-generic-x86_64-with-glibc2.43",
|
| 20 |
+
"python": "3.13.16 (main, Oct 9 2026, 15:23:36) [Clang 22.1.3 ]"
|
| 21 |
+
},
|
| 22 |
+
"publication_ready": true,
|
| 23 |
+
"validation_sha256": "1088394bd33a0a692927508686379b94e3a0e5274fbd497b84b7f87c402d8e6a",
|
| 24 |
+
"contract_sha256": "65c20b19452a5cedc6874434d8379a280d6c9b4343a4deab6d9772d93ee8d6b0",
|
| 25 |
+
"package_sha256": "f0efcbecc78a9f65c9e2cf41ed394414fcc5ca2a363dfebf6dca66ced9e79f57"
|
| 26 |
+
}
|
validation.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fixtures:
|
| 2 |
+
- modality: image
|
| 3 |
+
path: validation/photo.png
|
| 4 |
+
expected_tensors:
|
| 5 |
+
pixel_values: validation/pixels.npy
|
| 6 |
+
expected_vectors: validation/image_embedding.npy
|
| 7 |
+
- modality: text
|
| 8 |
+
path: validation/sentence.txt
|
| 9 |
+
expected_tensors:
|
| 10 |
+
input_ids: validation/input_ids.npy
|
| 11 |
+
attention_mask: validation/attention_mask.npy
|
| 12 |
+
expected_vectors: validation/embedding.npy
|
| 13 |
+
note: Original-source image/text references. Normalized-mean fusion reference stored
|
| 14 |
+
as validation/fused_embedding.npy.
|
validation/attention_mask.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae5d428d93c3f5acae10a7ae4944e36da2f5cf5fba57ca047e703b3c0486ec24
|
| 3 |
+
size 744
|
validation/embedding.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fe4baa5663769ccab25fcede78b9fd6b73f9d6eb46b4014541fb9eee2538099
|
| 3 |
+
size 2176
|
validation/fused_embedding.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a787abbc8e338537b146c296d4e23c7759328bd15213388ede319da070e1040
|
| 3 |
+
size 2176
|
validation/image_embedding.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4557f61170cbeadf8b82a6aedc7df3e2f5b70c55c1b02c63f16e26ce1b3224a9
|
| 3 |
+
size 2176
|
validation/input_ids.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c9c8c962d90e9126314adf19d5fb3b332f1bc1ed8bd2db15f5d3be5d62a86c9
|
| 3 |
+
size 744
|
validation/photo.png
ADDED
|
Git LFS Details
|
validation/pixels.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49e3049b432634bb2d8c33a78f7a63404e5e9961016b7dd71156cb4a840ce7f3
|
| 3 |
+
size 602240
|
validation/sentence.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
A photograph of a person.
|
validation/source_parity.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": "openai/clip-vit-base-patch32",
|
| 3 |
+
"certified_image_onnx": "/home/neelesh/eidora-model-zoo-release-20261026/next-batch-20261027/clip-image-release/clip_vit_b32_image_medium_openai_512/model.onnx",
|
| 4 |
+
"certified_image_sha256": "e7b31f500e645350c2bb0ade2a506e3d9557b2b75338e7941cf4d4db51ee29de",
|
| 5 |
+
"old_image_onnx": "/home/neelesh/DHSS WORK/EIDORA_ONNX/EIDORA_ONNX/eidora_onnx/dist/CLIP_ViT-B32/image_encoder.onnx",
|
| 6 |
+
"old_image_sha256": "d93613e6a85cea2b584a00a9dab80337b4d4a00b2a80425fe617bfd46fc186cc",
|
| 7 |
+
"text_onnx": "/home/neelesh/DHSS WORK/EIDORA_ONNX/EIDORA_ONNX/eidora_onnx/dist/CLIP_ViT-B32/text_encoder.onnx",
|
| 8 |
+
"text_sha256": "14e0dd0d24dcf841b6e966d9eb0352586d4aa99238ed840a45580d38bd37bb33",
|
| 9 |
+
"certified_image_max_abs_error": 2.8312206268310547e-07,
|
| 10 |
+
"old_image_max_abs_error": 0.11951310187578201,
|
| 11 |
+
"old_vs_certified_image_max_abs_error": 0.11951310932636261,
|
| 12 |
+
"text_max_abs_error": 2.384185791015625e-07,
|
| 13 |
+
"corrected_similarity_max_abs_error": 7.450580596923828e-08,
|
| 14 |
+
"old_similarity_max_abs_error": 0.01277083158493042,
|
| 15 |
+
"captions": [
|
| 16 |
+
"A photograph of a person.",
|
| 17 |
+
"A photograph of buildings.",
|
| 18 |
+
"A photograph of a landscape."
|
| 19 |
+
],
|
| 20 |
+
"status": "passed"
|
| 21 |
+
}
|