Omega02gdfdd commited on
Commit
c841bba
1 Parent(s): cf87e25

Upload 10 files

Browse files
README.md ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license:
3
+ - mit
4
+ language:
5
+ - en
6
+ library_name: open_clip
7
+ tags:
8
+ - zero-shot-image-classification
9
+ - clip
10
+ - biology
11
+ - CV
12
+ - images
13
+ - animals
14
+ - species
15
+ - taxonomy
16
+ - rare species
17
+ - endangered species
18
+ - evolutionary biology
19
+ - multimodal
20
+ - knowledge-guided
21
+ datasets:
22
+ - TreeOfLife-10M
23
+ - iNat21
24
+ - BIOSCAN-1M
25
+ - EOL
26
+ ---
27
+
28
+
29
+ # Model Card for BioCLIP
30
+
31
+ <!--
32
+ This modelcard has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1). And further altered to suit Imageomics Institute needs -->
33
+
34
+ BioCLIP is a foundation model for the tree of life, built using CLIP architecture as a vision model for general organismal biology.
35
+ It is trained on [TreeOfLife-10M](https://huggingface.co/datasets/imageomics/TreeOfLife-10M), our specially-created dataset covering over 450K taxa--the most biologically diverse ML-ready dataset available to date.
36
+ Through rigorous benchmarking on a diverse set of fine-grained biological classification tasks, BioCLIP consistently outperformed existing baselines by 17% to 20% absolute.
37
+ Through intrinsic evaluation, we found that BioCLIP learned a hierarchical representation aligned to the tree of life, which demonstrates its potential for robust generalizability.
38
+
39
+ **See the `examples/` directory for examples of how to use BioCLIP in zero-shot and few-shot settings.**
40
+
41
+ ## Model Details
42
+
43
+ ### Model Description
44
+
45
+ BioCLIP is based on OpenAI's [CLIP](https://openai.com/research/clip).
46
+ We trained the model on [TreeOfLife-10M](https://huggingface.co/datasets/imageomics/TreeOfLife-10M) from OpenAI's ViT-B/16 checkpoint, using [OpenCLIP's](https://github.com/mlfoundations/open_clip) code.
47
+ BioCLIP is trained with the standard CLIP objective to imbue the model with an understanding, not just of different species, but of the hierarchical structure that relates species across the tree of life.
48
+ In this way, BioCLIP offers potential to aid biologists in discovery of new and related creatures, since it does not see the 454K different taxa as distinct classes, but as part of an interconnected hierarchy.
49
+
50
+
51
+ - **Developed by:** Samuel Stevens, Jiaman Wu, Matthew J. Thompson, Elizabeth G. Campolongo, Chan Hee Song, David Edward Carlyn, Li Dong, Wasila M. Dahdul, Charles Stewart, Tanya Berger-Wolf, Wei-Lun Chao, and Yu Su
52
+ - **Model type:** Vision Transformer (ViT-B/16)
53
+ - **License:** MIT
54
+ - **Fine-tuned from model:** OpenAI CLIP, ViT-B/16
55
+
56
+ This model was developed for the benefit of the community as an open-source product, thus we request that any derivative products are also open-source.
57
+
58
+ ### Model Sources
59
+
60
+ - **Repository:** [BioCLIP](https://github.com/Imageomics/BioCLIP)
61
+ - **Paper:** BioCLIP: A Vision Foundation Model for the Tree of Life ([arXiv](https://doi.org/10.48550/arXiv.2311.18803))
62
+ - **Demo:** [BioCLIP Demo](https://huggingface.co/spaces/imageomics/bioclip-demo)
63
+
64
+ ## Uses
65
+
66
+ BioCLIP has been extensively evaluated on species classification tasks across many different subtrees of the tree of life.
67
+ The ViT-B/16 vision encoder is recommended as a base model for any computer vision task for biology; we expect it to outperform general domain models with the same architecture on biology-specific tasks.
68
+
69
+
70
+ ### Direct Use
71
+
72
+ See the demo [here](https://huggingface.co/spaces/imageomics/bioclip-demo) for examples of zero-shot classification.
73
+ It can also be used in a few-shot setting with a KNN; please see [our paper](https://doi.org/10.48550/arXiv.2311.18803) for details for both few-shot and zero-shot settings without fine-tuning.
74
+
75
+
76
+ ## Bias, Risks, and Limitations
77
+
78
+ This model was developed from the original CLIP model, thus many of the concerns discussed in ([Radford et al. 2021](https://proceedings.mlr.press/v139/radford21a/radford21a.pdf)) apply.
79
+ We encourage the concerned/curious user to read their extensive ethics statement, while we focus our attention on the biological perspective which is unique to BioCLIP.
80
+ - No specific geographic information (eg., GPS coordinates) are included in training, so the species classification does not pose a direct threat to animals through aiding poachers, as it cannot inform them of their location.
81
+ - BioCLIP is designed to aid in scientific discovery through an association of images to the hierarchical taxonomy structure. As with many--if not all--models currently in production, it is important to retain the context that it is meant to assist biologists in their work, not replace them. As such, we caution against over-reliance on model predictions.
82
+
83
+ ### Recommendations
84
+
85
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
86
+ More information needed for further recommendations.
87
+
88
+ ## How to Get Started with the Model
89
+
90
+ BioCLIP can be used with the `open_clip` library:
91
+
92
+ ```py
93
+ import open_clip
94
+
95
+ model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:imageomics/bioclip')
96
+ tokenizer = open_clip.get_tokenizer('hf-hub:imageomics/bioclip')
97
+ ```
98
+
99
+ ## Training Details
100
+
101
+ ### Compute Infrastructure
102
+
103
+ Training was performed on 8 NVIDIA A100-80GB GPUs distributed over 2 nodes on [OSC's](https://www.osc.edu/) Ascend HPC Cluster with global batch size 32,768 for 4 days.
104
+
105
+ Based on [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://doi.org/10.48550/arXiv.1910.09700), that's 132.71 kg of CO<sub>2</sub> eq., or 536km driven by an average ICE car.
106
+
107
+ ### Training Data
108
+
109
+ This model was trained on [TreeOfLife-10M](https://huggingface.co/datasets/imageomics/TreeOfLife-10M), which is a compilation of images matched to [Linnaean taxonomic rank](https://www.britannica.com/science/taxonomy/The-objectives-of-biological-classification) from kingdom through species. They are also matched with common (vernacular) name of the subject of the image where available. For more information, please see our dataset, [TreeOfLife-10M](https://huggingface.co/datasets/imageomics/TreeOfLife-10M).
110
+
111
+ ### Training Hyperparameters
112
+
113
+ - **Training regime:** fp16 mixed precision.
114
+
115
+ We resize images to 224 x 224 pixels.
116
+ We use a maximum learning rate of 1e4 with 1000 linear warm-up steps, then use cosine decay to 0 over 100 epochs.
117
+ We also use a weight decay of 0.2 and a batch size of 32K.
118
+
119
+ ## Evaluation
120
+
121
+ ### Testing Data
122
+
123
+ We tested BioCLIP on the following collection of 10 biologically-relevant tasks.
124
+ - [Meta-Album](https://paperswithcode.com/dataset/meta-album): Specifically, we used the Plankton, Insects, Insects 2, PlantNet, Fungi, PlantVillage, Medicinal Leaf, and PlantDoc datasets from Set-0 through Set-2 (Set-3 was still not released as of our publication/evaluation (Nov. 2023).
125
+ - [Birds 525](https://www.kaggle.com/datasets/gpiosenka/100-bird-species): We evaluated on the 2,625 test images provided with the dataset.
126
+ - [Rare Species](https://huggingface.co/datasets/imageomics/rare-species): A new dataset we curated for the purpose of testing this model and to contribute to the ML for Conservation community. It consists of 400 species labeled Near Threatened through Extinct in the Wild by the [IUCN Red List](https://www.iucnredlist.org/), with 30 images per species. For more information, see our dataset, [Rare Species](https://huggingface.co/datasets/imageomics/rare-species).
127
+
128
+ For more information about the contents of these datasets, see Table 2 and associated sections of [our paper](https://doi.org/10.48550/arXiv.2311.18803).
129
+
130
+ ### Metrics
131
+
132
+ We use top-1 and top-5 accuracy to evaluate models, and validation loss to choose the best performing checkpoints from training.
133
+
134
+ ### Results
135
+
136
+ We compare BioCLIP to OpenAI's CLIP and OpenCLIP's LAION-2B checkpoint.
137
+ Here are the zero-shot classification results on our benchmark tasks.
138
+ Please see [our paper](https://doi.org/10.48550/arXiv.2311.18803) for few-shot results.
139
+
140
+ <table cellpadding="0" cellspacing="0">
141
+ <thead>
142
+ <tr>
143
+ <th rowspan="2">Model</th>
144
+ <th colspan="4">Animals</th>
145
+ <th colspan="5">Plants & Fungi</th>
146
+ <th rowspan="2">Rare Species</th>
147
+ <th rowspan="2">Mean</th>
148
+ </tr>
149
+ <tr>
150
+ <th>Birds 525</th>
151
+ <th>Plankton</th>
152
+ <th>Insects</th>
153
+ <th>Insects 2</th>
154
+ <th>PlantNet</th>
155
+ <th>Fungi</th>
156
+ <th>PlantVillage</th>
157
+ <th>Med. Leaf</th>
158
+ <th>PlantDoc</th>
159
+ </tr>
160
+ </thead>
161
+ <tbody>
162
+ <tr>
163
+ <td>CLIP</td>
164
+ <td>49.9</td>
165
+ <td>3.2</td>
166
+ <td>9.1</td>
167
+ <td>9.8</td>
168
+ <td>58.5</td>
169
+ <td>10.2</td>
170
+ <td>5.4</td>
171
+ <td>15.9</td>
172
+ <td>26.1</td>
173
+ <td>26.6</td>
174
+ <td>21.4</td>
175
+ </tr>
176
+ <tr>
177
+ <td>OpenCLIP</td>
178
+ <td>54.7</td>
179
+ <td>2.2</td>
180
+ <td>6.5</td>
181
+ <td>9.6</td>
182
+ <td>50.2</td>
183
+ <td>5.7</td>
184
+ <td>8.0</td>
185
+ <td>12.4</td>
186
+ <td>25.8</td>
187
+ <td>31.0</td>
188
+ <td>20.6</td>
189
+ </tr>
190
+ <tr>
191
+ <td>BioCLIP</td>
192
+ <td><b>74.7</b></td>
193
+ <td><b>5.4</b></td>
194
+ <td><b>32.7</b></td>
195
+ <td><b>21.2</b></td>
196
+ <td><b>91.0</b></td>
197
+ <td><b>51.8</b></td>
198
+ <td><b>24.0</b></td>
199
+ <td><b>48.1</b></td>
200
+ <td><b>27.5</b></td>
201
+ <td><b>39.2</b></td>
202
+ <td><b>41.5</b></td>
203
+ </tr>
204
+ <tr>
205
+ <td>iNat21 Only</td>
206
+ <td>55.7</td>
207
+ <td>2.7</td>
208
+ <td>29.9</td>
209
+ <td>12.0</td>
210
+ <td>89.3</td>
211
+ <td>42.7</td>
212
+ <td>16.4</td>
213
+ <td>22.2</td>
214
+ <td>18.8</td>
215
+ <td>19.4</td>
216
+ <td>30.9</td>
217
+ </tr>
218
+ </tbody>
219
+ </table>
220
+
221
+
222
+ ### Summary
223
+
224
+ BioCLIP outperforms general-domain baselines by 18% on average.
225
+
226
+ ### Model Examination
227
+
228
+ We encourage readers to see Section 4.6 of [our paper](https://doi.org/10.48550/arXiv.2311.18803).
229
+ In short, BioCLIP forms representations that more closely align to the taxonomic hierarchy compared to general-domain baselines like CLIP or OpenCLIP.
230
+
231
+
232
+ ## Citation
233
+
234
+ **BibTeX:**
235
+
236
+ ```
237
+ @software{bioclip2023,
238
+ author = {Samuel Stevens and Jiaman Wu and Matthew J. Thompson and Elizabeth G. Campolongo and Chan Hee Song and David Edward Carlyn and Li Dong and Wasila M. Dahdul and Charles Stewart and Tanya Berger-Wolf and Wei-Lun Chao and Yu Su},
239
+ doi = {10.57967/hf/1511},
240
+ month = nov,
241
+ title = {BioCLIP},
242
+ version = {v0.1},
243
+ year = {2023}
244
+ }
245
+ ```
246
+
247
+ Please also cite our paper:
248
+
249
+ ```
250
+ @article{stevens2023bioclip,
251
+ title = {BIOCLIP: A Vision Foundation Model for the Tree of Life},
252
+ author = {Samuel Stevens and Jiaman Wu and Matthew J Thompson and Elizabeth G Campolongo and Chan Hee Song and David Edward Carlyn and Li Dong and Wasila M Dahdul and Charles Stewart and Tanya Berger-Wolf and Wei-Lun Chao and Yu Su},
253
+ year = {2023},
254
+ eprint = {2311.18803},
255
+ archivePrefix = {arXiv},
256
+ primaryClass = {cs.CV}
257
+ }
258
+
259
+ ```
260
+
261
+
262
+ Please also consider citing OpenCLIP, iNat21 and BIOSCAN-1M:
263
+ ```
264
+ @software{ilharco_gabriel_2021_5143773,
265
+ author={Ilharco, Gabriel and Wortsman, Mitchell and Wightman, Ross and Gordon, Cade and Carlini, Nicholas and Taori, Rohan and Dave, Achal and Shankar, Vaishaal and Namkoong, Hongseok and Miller, John and Hajishirzi, Hannaneh and Farhadi, Ali and Schmidt, Ludwig},
266
+ title={OpenCLIP},
267
+ year={2021},
268
+ doi={10.5281/zenodo.5143773},
269
+ }
270
+ ```
271
+ ```
272
+ @misc{inat2021,
273
+ author={Van Horn, Grant and Mac Aodha, Oisin},
274
+ title={iNat Challenge 2021 - FGVC8},
275
+ publisher={Kaggle},
276
+ year={2021},
277
+ url={https://kaggle.com/competitions/inaturalist-2021}
278
+ }
279
+ ```
280
+ ```
281
+ @inproceedings{gharaee2023step,
282
+ author={Gharaee, Z. and Gong, Z. and Pellegrino, N. and Zarubiieva, I. and Haurum, J. B. and Lowe, S. C. and McKeown, J. T. A. and Ho, C. Y. and McLeod, J. and Wei, Y. C. and Agda, J. and Ratnasingham, S. and Steinke, D. and Chang, A. X. and Taylor, G. W. and Fieguth, P.},
283
+ title={A Step Towards Worldwide Biodiversity Assessment: The {BIOSCAN-1M} Insect Dataset},
284
+ booktitle={Advances in Neural Information Processing Systems ({NeurIPS}) Datasets \& Benchmarks Track},
285
+ year={2023},
286
+ }
287
+ ```
288
+
289
+ ## Acknowledgements
290
+
291
+ The authors would like to thank Josef Uyeda, Jim Balhoff, Dan Rubenstein, Hank Bart, Hilmar Lapp, Sara Beery, and colleagues from the Imageomics Institute and the OSU NLP group for their valuable feedback. We also thank the BIOSCAN-1M team and the iNaturalist team for making their data available and easy to use, and Jennifer Hammack at EOL for her invaluable help in accessing EOL’s images.
292
+
293
+ The [Imageomics Institute](https://imageomics.org) is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
294
+
295
+
296
+ ## Model Card Authors
297
+
298
+ Elizabeth G. Campolongo, Samuel Stevens, and Jiaman Wu
299
+
300
+ ## Model Card Contact
301
+
302
+ [stevens.994@osu.edu](mailto:stevens.994@osu.edu)
gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz 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
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
open_clip_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_cfg": {
3
+ "embed_dim": 512,
4
+ "vision_cfg": {
5
+ "image_size": 224,
6
+ "layers": 12,
7
+ "width": 768,
8
+ "patch_size": 16
9
+ },
10
+ "text_cfg": {
11
+ "context_length": 77,
12
+ "vocab_size": 49408,
13
+ "width": 512,
14
+ "heads": 8,
15
+ "layers": 12
16
+ }
17
+ },
18
+ "preprocess_cfg": {
19
+ "mean": [
20
+ 0.48145466,
21
+ 0.4578275,
22
+ 0.40821073
23
+ ],
24
+ "std": [
25
+ 0.26862954,
26
+ 0.26130258,
27
+ 0.27577711
28
+ ]
29
+ }
30
+ }
open_clip_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e380384f0c30d425d8c6c40f24471f9dd497fbdfa734a89c461a94aee95f0ef4
3
+ size 598599013
preprocessor_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 224,
3
+ "do_center_crop": true,
4
+ "do_normalize": true,
5
+ "do_resize": true,
6
+ "feature_extractor_type": "CLIPFeatureExtractor",
7
+ "image_mean": [
8
+ 0.48145466,
9
+ 0.4578275,
10
+ 0.40821073
11
+ ],
12
+ "image_std": [
13
+ 0.26862954,
14
+ 0.26130258,
15
+ 0.27577711
16
+ ],
17
+ "resample": 3,
18
+ "size": 224
19
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 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
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": {
4
+ "__type": "AddedToken",
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "do_lower_case": true,
12
+ "eos_token": {
13
+ "__type": "AddedToken",
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "errors": "replace",
21
+ "model_max_length": 77,
22
+ "pad_token": "<|endoftext|>",
23
+ "special_tokens_map_file": "./special_tokens_map.json",
24
+ "tokenizer_class": "CLIPTokenizer",
25
+ "unk_token": {
26
+ "__type": "AddedToken",
27
+ "content": "<|endoftext|>",
28
+ "lstrip": false,
29
+ "normalized": true,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff