netzhang commited on
Commit
f04b6e2
·
verified ·
1 Parent(s): cf9f9a2

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +515 -0
README.md ADDED
@@ -0,0 +1,515 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ language:
4
+ - en
5
+ pretty_name: TreeOfLife-200M Embeddings
6
+ task_categories:
7
+ - feature-extraction
8
+ tags:
9
+ - biology
10
+ - biodiversity
11
+ - embeddings
12
+ - bioclip
13
+ - tree-of-life
14
+ - imageomics
15
+ - parquet
16
+ - duckdb
17
+ - taxonomy
18
+ - plants
19
+ - animals
20
+ - fungi
21
+ - image
22
+ size_categories:
23
+ - 100M<n<1B
24
+ datasets:
25
+ - imageomics/TreeOfLife-200M
26
+ description: >-
27
+ Pre-computed image embeddings for all images from the TreeOfLife-200M
28
+ dataset, sorted by taxonomic hierarchy for efficient filtered access via
29
+ DuckDB. Multiple embedding model configs supported. No images stored.
30
+ dataset_info:
31
+ - config_name: bioclip-2_float16
32
+ features:
33
+ - name: uuid
34
+ dtype: string
35
+ - name: emb
36
+ sequence: float16
37
+ length: 768
38
+ - name: source_dataset
39
+ dtype: string
40
+ - name: source_id
41
+ dtype: string
42
+ - name: kingdom
43
+ dtype: string
44
+ - name: phylum
45
+ dtype: string
46
+ - name: class
47
+ dtype: string
48
+ - name: order
49
+ dtype: string
50
+ - name: family
51
+ dtype: string
52
+ - name: genus
53
+ dtype: string
54
+ - name: species
55
+ dtype: string
56
+ - name: scientific_name
57
+ dtype: string
58
+ - name: common_name
59
+ dtype: string
60
+ - name: publisher
61
+ dtype: string
62
+ - name: basisOfRecord
63
+ dtype: string
64
+ - name: identifier
65
+ dtype: string
66
+ - name: img_type
67
+ dtype: string
68
+ splits:
69
+ - name: train
70
+ num_examples: 233055986
71
+ - config_name: bioclip-2.5-vith14_float16
72
+ features:
73
+ - name: uuid
74
+ dtype: string
75
+ - name: emb
76
+ sequence: float16
77
+ length: 1024
78
+ - name: source_dataset
79
+ dtype: string
80
+ - name: source_id
81
+ dtype: string
82
+ - name: kingdom
83
+ dtype: string
84
+ - name: phylum
85
+ dtype: string
86
+ - name: class
87
+ dtype: string
88
+ - name: order
89
+ dtype: string
90
+ - name: family
91
+ dtype: string
92
+ - name: genus
93
+ dtype: string
94
+ - name: species
95
+ dtype: string
96
+ - name: scientific_name
97
+ dtype: string
98
+ - name: common_name
99
+ dtype: string
100
+ - name: publisher
101
+ dtype: string
102
+ - name: basisOfRecord
103
+ dtype: string
104
+ - name: identifier
105
+ dtype: string
106
+ - name: img_type
107
+ dtype: string
108
+ splits:
109
+ - name: train
110
+ num_examples: 233055986
111
+ configs:
112
+ - config_name: bioclip-2_float16
113
+ data_files:
114
+ - split: train
115
+ path: bioclip-2_float16/*.parquet
116
+ - config_name: bioclip-2.5-vith14_float16
117
+ data_files:
118
+ - split: train
119
+ path: bioclip-2.5-vith14_float16/*.parquet
120
+ - config_name: darwins_finches
121
+ data_files:
122
+ - split: train
123
+ path: demo_subset/darwins_finches/bioclip-2_float16/*.parquet
124
+ - config_name: wolf_sample
125
+ data_files:
126
+ - split: train
127
+ path: demo_subset/wolf_sample/bioclip-2_float16/*.parquet
128
+ ---
129
+
130
+ # TreeOfLife-200M Embeddings
131
+
132
+ Pre-computed image embeddings for all images from the [TreeOfLife-200M](https://huggingface.co/datasets/imageomics/TreeOfLife-200M) dataset (revision [94bbc0b](https://huggingface.co/datasets/imageomics/TreeOfLife-200M/commit/94bbc0b90cd26cbb15f94d3144941026f4b41213)), sorted by taxonomic hierarchy for efficient filtered access.
133
+
134
+ This repository hosts embedding **configs** for TreeOfLife-200M. Each config corresponds to a different embedding model and/or precision. Currently available: [BioCLIP 2](https://huggingface.co/imageomics/bioclip-2) (float16) and [BioCLIP 2.5 Huge](https://huggingface.co/imageomics/bioclip-2.5-vith14) (float16, L2-normalized). Additional configs will be added as new embeddings are generated.
135
+
136
+ We recommend using [DuckDB](https://duckdb.org/) to access this dataset.
137
+
138
+ **This repository does not contain or redistribute any images.** It contains only pre-computed embedding vectors and metadata derived from [TreeOfLife-200M](https://huggingface.co/datasets/imageomics/TreeOfLife-200M).
139
+
140
+ ## Dataset Details
141
+
142
+ - **License:** [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) for embeddings; metadata inherits upstream licenses (see [Licensing Information](#licensing-information)).
143
+ - **Source dataset:** [imageomics/TreeOfLife-200M](https://huggingface.co/datasets/imageomics/TreeOfLife-200M)
144
+ - **Embedding models:** [BioCLIP 2](https://huggingface.co/imageomics/bioclip-2), [BioCLIP 2.5 Huge](https://huggingface.co/imageomics/bioclip-2.5-vith14) (more configs coming)
145
+
146
+ ### Dataset Description
147
+
148
+ <!-- TODO: confirm curated by list -->
149
+ - **Curated by:** Net Zhang, Elizabeth Campolongo, Matthew Thompson, Jianyang Gu
150
+ - **Homepage:** [BioCLIP Ecosystem Site](https://imageomics.github.io/bioclip-ecosystem/)
151
+ - **Repository:** [TreeOfLife-Toolbox](https://github.com/Imageomics/treeoflife-toolbox)
152
+ - **Paper:** [BioCLIP 2: Emergent Properties from Scaling Hierarchical Contrastive Learning](https://arxiv.org/abs/2505.23883)
153
+
154
+ This repository contains pre-computed embedding vectors derived from the [TreeOfLife-200M](https://huggingface.co/datasets/imageomics/TreeOfLife-200M) dataset. Each row pairs a TreeOfLife-200M image (identified by `uuid`) with its embedding vector and associated taxonomic metadata. The data is sorted by taxonomy and stored in Parquet format with page indexes, enabling fast filtered access through Hugging Face.
155
+
156
+ ### Supported Tasks
157
+
158
+ - **Feature extraction:** Retrieve pre-computed embedding vectors for any (taxonomic) subset without re-running the image embedding model.
159
+ - **Taxonomy-filtered retrieval:** Query embeddings by kingdom, order, family, genus, or species using DuckDB with page-index predicate pushdown.
160
+ - **Downstream training:** Use filtered embedding subsets for fine-tuning classifiers, training probes, or building custom indices.
161
+ - **Exact similarity computation:** Compute similarity between embeddings.
162
+
163
+
164
+ ## Dataset Structure
165
+
166
+ ### Configs
167
+
168
+ Each config corresponds to a different embedding model and precision. Users load a specific config:
169
+
170
+ ```python
171
+ # Python
172
+ from datasets import load_dataset
173
+ ds = load_dataset("imageomics/TreeOfLife-200M-Embeddings", "bioclip-2_float16")
174
+ ```
175
+
176
+ | Config | Model | Precision | Normalized | Dimensions | Files | Size | Rows |
177
+ |--------|-------|-----------|------------|------------|-------|------|------|
178
+ | `bioclip-2_float16` | [BioCLIP 2](https://huggingface.co/imageomics/bioclip-2) (ViT-L/14) | float16 | No | 768 | 666 | ~346 GB | 233,055,986 |
179
+ | `bioclip-2.5-vith14_float16` | [BioCLIP 2.5 Huge](https://huggingface.co/imageomics/bioclip-2.5-vith14) (ViT-H/14) | float16 | Yes (L2) | 1024 | 933 | ~457 GB | 233,055,986 |
180
+ | `darwins_finches` | [BioCLIP 2](https://huggingface.co/imageomics/bioclip-2) (ViT-L/14) | float16 | No | 768 | 1 | ~1 MB | 677 |
181
+ | `wolf_sample` | [BioCLIP 2](https://huggingface.co/imageomics/bioclip-2) (ViT-L/14) | float16 | No | 768 | 1 | ~1.5 MB | 960 |
182
+
183
+ **Normalization:**
184
+ - `bioclip-2.5-vith14_float16` config stores **L2-normalized** embeddings
185
+ - `bioclip-2_float16` config stores **un-normalized** embeddings, which should be normalized before computing the cosine similarity.
186
+
187
+ The `demo_subset/` directory contains small **curated subsets** of the full
188
+ `bioclip-2_float16` TreeOfLife-200M embeddings, such as `darwins_finches` and
189
+ `wolf_sample`. These subsets were curated for quick experiments, prototyping,
190
+ and demos—for example the
191
+ [Image Embedding Explorer](https://github.com/Imageomics/emb-explorer) demo—without
192
+ downloading the full 200M embedding dataset.
193
+
194
+ ### Data Fields
195
+
196
+ | Column | Type | Description |
197
+ |--------|------|-------------|
198
+ | `uuid` | `string` | Unique image identifier (matches [TreeOfLife-200M](https://huggingface.co/datasets/imageomics/TreeOfLife-200M)) |
199
+ | `emb` | `fixed_size_list<float>[N]` | Image embedding vector (dimensions depend on config) |
200
+ | `source_dataset` | `string` | Data source: `gbif`, `eol`, `bioscan`, or `fathomnet` |
201
+ | `source_id` | `string` | Unique identifier from source (e.g., GBIF occurrence ID) |
202
+ | `kingdom` | `string` | Taxonomic kingdom |
203
+ | `phylum` | `string` | Taxonomic phylum |
204
+ | `class` | `string` | Taxonomic class |
205
+ | `order` | `string` | Taxonomic order |
206
+ | `family` | `string` | Taxonomic family |
207
+ | `genus` | `string` | Taxonomic genus |
208
+ | `species` | `string` | Species epithet (e.g., `plexippus`; use `scientific_name` for the full binomial `Danaus plexippus`) |
209
+ | `scientific_name` | `string` | Full scientific name |
210
+ | `common_name` | `string` | Vernacular/common name |
211
+ | `publisher` | `string` | Organization that published the data (GBIF records only; NULL for non-GBIF) |
212
+ | `basisOfRecord` | `string` | GBIF basis of record (GBIF records only; NULL for non-GBIF) |
213
+ | `identifier` | `string` | Source image URL |
214
+ | `img_type` | `string` | Image type (e.g., `Citizen Science`, `Museum Specimen: Fungi`, `Camera-trap`); GBIF records only, NULL for non-GBIF |
215
+
216
+ For more background on metadata columns, see the [TreeOfLife-200M data field descriptions](https://huggingface.co/datasets/imageomics/TreeOfLife-200M#data-fields).
217
+
218
+ ### Data Organization
219
+
220
+ - **Sort order:** `source_dataset > kingdom > phylum > class > order > family > genus > species > common_name`
221
+ - **Row groups:** 50,000 rows each with column statistics and page indexes
222
+ - **Compression:** ZSTD level 3
223
+ - **Precision:** config-dependent (see [Configs](#configs) table)
224
+ - **File naming:** `train-00000-of-NNNNN.parquet` (count depends on config)
225
+
226
+ Repository layout:
227
+
228
+ ```text
229
+ TreeOfLife-200M-Embeddings/
230
+ ├── bioclip-2_float16/ # full dataset — 666 shards
231
+ │ ├── train-00000-of-00666.parquet
232
+ │ └── ...
233
+ ├── bioclip-2.5-vith14_float16/ # full dataset — 933 shards
234
+ │ ├── train-00000-of-00933.parquet
235
+ │ └── ...
236
+ └── demo_subset/ # curated subsets for quick experiments / demos
237
+ ├── darwins_finches/
238
+ │ └── bioclip-2_float16/
239
+ │ └── emb_darwin_finches.parquet # 677 rows
240
+ └── wolf_sample/
241
+ └── bioclip-2_float16/
242
+ └── emb_wolf_sample.parquet # 960 rows
243
+ ```
244
+
245
+ ### Data Splits
246
+
247
+ Single `train` split containing all 233,055,986 rows.
248
+
249
+
250
+ ## Usage
251
+
252
+ We recommend using [DuckDB](https://duckdb.org/) to access this dataset. All examples below use the `bioclip-2_float16` config; replace with the appropriate config name for other embeddings.
253
+
254
+ > `order` and `class` are SQL reserved words: always quote them as `"order"` and `"class"`.
255
+
256
+ **Choosing between download vs. remote query.** Downloading the full config is the preferred path. Once local, queries run in seconds, read access is deterministic, and there are no network failure modes. The tradeoffs: it requires ~320 GB of disk, and users must occasionally re-sync as the dataset is updated on Hugging Face (`hf download` skips unchanged files based on LFS hashes, so subsequent syncs only transfer what changed). Remote queries over `hf://` are still useful for quick checks such as row counts, metadata browsing, aggregate statistics, and fetching a single species' embeddings. However, at the time of writing, `COPY` of larger slices (more than ~20 MB of `emb` data spanning multiple files) is unstable and frequently fails mid-transfer with `TProtocolException`. For any repeated batch access to embeddings at scale, download first.
257
+
258
+ ### Download, then Query Locally (Recommended)
259
+
260
+ The fastest and most reliable workflow is to download the config once, then run DuckDB queries against the local files. All filtered slices return in seconds thanks to ZSTD decompression and page-index predicate pushdown.
261
+
262
+ **Benchmark** ([Cardinal](https://www.osc.edu/resources/technical_support/supercomputers/cardinal) login node, single session, `bioclip-2_float16`): full download ~6 min at ~1 GB/s. Once local, a Felidae slice (152,867 rows, 466 MB) is extracted in ~6 s.
263
+
264
+ #### 1. Download the config
265
+
266
+ ```bash
267
+ hf download imageomics/TreeOfLife-200M-Embeddings \
268
+ --repo-type dataset \
269
+ --include "bioclip-2_float16/*" \
270
+ --local-dir ./data
271
+ ```
272
+
273
+ **Check if your local copy is in sync.** Re-run the same `hf download` command. It performs an incremental sync: files whose LFS hashes already match the remote are skipped with no bytes transferred, and only new or changed files are downloaded. A fully in-sync local copy completes in about 1 second.
274
+
275
+ #### 2. Query locally with DuckDB
276
+
277
+ ```python
278
+ import duckdb
279
+
280
+ con = duckdb.connect()
281
+ glob = "./data/bioclip-2_float16/*.parquet"
282
+
283
+ # Extract a species slice to a new file (fast: ~6s for 150K rows)
284
+ con.sql(f"""
285
+ COPY (
286
+ SELECT * FROM read_parquet('{glob}')
287
+ WHERE family = 'Felidae'
288
+ ) TO 'felidae.parquet'
289
+ """)
290
+
291
+ # Aggregate across the full config (fast: page index + dictionary encoding)
292
+ con.sql(f"""
293
+ SELECT "order", COUNT(*) AS n
294
+ FROM read_parquet('{glob}')
295
+ WHERE "order" IS NOT NULL
296
+ GROUP BY "order"
297
+ ORDER BY n DESC
298
+ LIMIT 10
299
+ """).show()
300
+ ```
301
+
302
+ ```bash
303
+ # CLI equivalent
304
+ duckdb -c "
305
+ COPY (SELECT * FROM read_parquet('./data/bioclip-2_float16/*.parquet')
306
+ WHERE \"order\" = 'Primates')
307
+ TO 'primates.parquet';
308
+ "
309
+ ```
310
+
311
+ #### Slice sizes (after local extraction)
312
+
313
+ | Slice | Rows | Size on disk | Local `COPY` time* |
314
+ |---|---|---|---|
315
+ | `scientific_name = 'Puma concolor'` | 11,811 | 36 MB | 1.7 s |
316
+ | `family = 'Felidae'` | 152,867 | 466 MB | 5.9 s |
317
+ | `"order" = 'Primates'` | 164,239 | 501 MB | 5.8 s |
318
+
319
+ *Measured on the [Cardinal](https://www.osc.edu/resources/technical_support/supercomputers/cardinal) cluster login node after the full config is already downloaded locally.*
320
+
321
+ ### Query Remotely
322
+
323
+ For **aggregate queries** and **small embedding slices**, you can query directly from Hugging Face with DuckDB. The `hf://` protocol streams only the page ranges needed, so filtered aggregations typically return in ~10 s and a single-species `COPY` finishes in under a minute.
324
+
325
+ > **Limitations of remote `COPY`:** sustained multi-file reads from `hf://` (e.g., extracting >~20 MB of embeddings across many files) can be interrupted by the Hugging Face CDN and fail with `TProtocolException: Invalid data`. If this happens, fall back to the [download-then-query workflow](#download-then-query-locally-recommended) above.
326
+
327
+ #### Python
328
+
329
+ ```python
330
+ import duckdb
331
+
332
+ con = duckdb.connect()
333
+ # Authenticate for higher rate limits (recommended)
334
+ con.execute("CREATE SECRET (TYPE HUGGINGFACE, TOKEN 'hf_...')")
335
+
336
+ glob = "hf://datasets/imageomics/TreeOfLife-200M-Embeddings/bioclip-2_float16/*.parquet"
337
+
338
+ # Count by taxonomic order (aggregate: fast, ~10s)
339
+ con.sql(f"""
340
+ SELECT "order", COUNT(*) AS n
341
+ FROM read_parquet('{glob}')
342
+ WHERE "order" IS NOT NULL
343
+ GROUP BY "order"
344
+ ORDER BY n DESC
345
+ LIMIT 10
346
+ """).show()
347
+
348
+ # Fetch embeddings for a single species (~18 MB, safe slice size)
349
+ df = con.sql(f"""
350
+ SELECT uuid, emb
351
+ FROM read_parquet('{glob}')
352
+ WHERE scientific_name = 'Puma concolor'
353
+ """).df()
354
+ ```
355
+
356
+ #### CLI
357
+
358
+ ```bash
359
+ duckdb -c "
360
+ SELECT species, COUNT(*) AS n
361
+ FROM read_parquet('hf://datasets/imageomics/TreeOfLife-200M-Embeddings/bioclip-2_float16/*.parquet')
362
+ WHERE family = 'Nymphalidae'
363
+ GROUP BY species
364
+ ORDER BY n DESC
365
+ LIMIT 10;
366
+ "
367
+ ```
368
+
369
+ *First query in a session includes a one-time ~3 min glob resolution overhead: DuckDB expands the `*.parquet` wildcard by making HTTP requests to Hugging Face to discover all 666 filenames. Subsequent queries in the same session reuse the cached file list.*
370
+
371
+ ## Dataset Creation
372
+
373
+ ### Curation Rationale
374
+
375
+ The [TreeOfLife-200M](https://huggingface.co/datasets/imageomics/TreeOfLife-200M) dataset contains 200M+ organism images totaling ~92 TB. Running an embedding model over this corpus is expensive. This repository provides pre-computed embeddings to enable downstream tasks such as:
376
+
377
+ - Training taxonomic classifiers or linear probes on embedding subsets
378
+ - Computing exact pairwise similarity between organisms
379
+ - Building custom search indices or retrieval systems
380
+ - Analyzing embedding space structure across taxonomic groups
381
+
382
+ ### Source Data
383
+
384
+ #### Data Collection and Processing
385
+
386
+ 1. **Embedding generation.** All images in [TreeOfLife-200M](https://huggingface.co/datasets/imageomics/TreeOfLife-200M) are embedded using a vision foundation model (see [Configs](#configs) for model details). Each image produces a fixed-dimensional vector.
387
+ 2. **Global sort.** All rows are sorted by `source_dataset > kingdom > phylum > class > order > family > genus > species > common_name`, so taxonomically similar rows are adjacent. This enables page-index predicate pushdown for fast filtered access.
388
+ 3. **Precision & Normalization** Embedding precision is config-dependent (e.g., float16 for `bioclip-2_float16`, `bioclip-2.5-vith14_float16`). The `bioclip-2.5-vith14_float16` config is L2-normalized; `bioclip-2_float16` is not.
389
+ 4. **Parquet write.** PyArrow writes files targeting ~500 MB each, with ZSTD level 3 compression, [page indexes](https://huggingface.co/docs/hub/en/datasets-data-files-configuration#dataset-viewer-size-limit-errors-toobigcontenterror), and 50,000-row row groups for optimal streaming and query performance.
390
+
391
+ #### Source Data Producers
392
+
393
+ - **Images:** [TreeOfLife-200M revision 94bbc0b](https://huggingface.co/datasets/imageomics/TreeOfLife-200M/commit/94bbc0b90cd26cbb15f94d3144941026f4b41213), aggregated from [GBIF](https://www.gbif.org/), [EOL](https://eol.org/), [BIOSCAN-5M](https://github.com/bioscan-ml/BIOSCAN-5M), and [FathomNet](https://www.fathomnet.org/).
394
+ - **Taxonomic metadata:** Standardized using [TaxonoPy](https://github.com/Imageomics/TaxonoPy).
395
+ - **Other metadata:** For instance, publisher, basis of record, image URLs, source IDs are inherited from the respective data sources via the [TreeOfLife-200M catalog revision 94bbc0b](https://huggingface.co/datasets/imageomics/TreeOfLife-200M/commit/94bbc0b90cd26cbb15f94d3144941026f4b41213).
396
+
397
+ ### Annotations
398
+
399
+ This dataset does not include annotations created specifically for this repository. All taxonomic labels, common names, and provenance metadata are inherited directly from the TreeOfLife-200M catalog, which aligned the taxonomic names provided by [GBIF](https://www.gbif.org/), [EOL](https://eol.org/), [BIOSCAN-5M](https://github.com/bioscan-ml/BIOSCAN-5M), and [FathomNet](https://www.fathomnet.org/) using [TaxonoPy](https://imageomics.github.io/TaxonoPy/). See the [TreeOfLife-200M dataset card](https://huggingface.co/datasets/imageomics/TreeOfLife-200M) for details on annotation processes and provenance.
400
+
401
+ ### Personal and Sensitive Information
402
+
403
+ This repository does not contain or redistribute any images. However, the metadata includes URLs (`identifier` column) pointing to source images that may occasionally contain humans in the background (e.g., citizen science observations). The upstream TreeOfLife-200M dataset applies human face detection filtering to minimize such occurrences. See the [TreeOfLife-200M dataset card](https://huggingface.co/datasets/imageomics/TreeOfLife-200M#data-curation-and-processing) for details.
404
+
405
+
406
+ ## Considerations for Using the Data
407
+
408
+ ### Bias, Risks, and Limitations
409
+
410
+ This dataset inherits biases from [TreeOfLife-200M](https://huggingface.co/datasets/imageomics/TreeOfLife-200M#considerations-for-using-the-data):
411
+
412
+ - **Taxonomic coverage is uneven.** Citizen science observations (primarily iNaturalist) comprise ~60% of the data, skewing representation toward charismatic species and regions where citizen science is most active.
413
+ - **Incomplete taxonomic labels.** Not all records have complete taxonomy at every rank. Records may have NULL values at lower ranks and *incertae sedis* at kingdom level due to biodiversity data complexities (unresolved taxonomy, ambiguous identifications, etc.).
414
+ - **Embedding bias.** Similarity is determined by the embedding model, which may encode biases from its training data.
415
+
416
+ ### Recommendations
417
+
418
+ - When using results for research, verify taxonomic labels against authoritative sources, since labels are inherited from community-contributed data.
419
+ - Be aware of geographic and taxonomic sampling biases when interpreting embedding-based analyses.
420
+ - For issues with specific records, report via the [Community tab](https://huggingface.co/datasets/imageomics/TreeOfLife-200M-Embeddings/discussions).
421
+
422
+
423
+ ## Related Datasets
424
+
425
+ - [TreeOfLife-200M](https://huggingface.co/datasets/imageomics/TreeOfLife-200M) (source images and metadata).
426
+ - [bioclip-image-search-lite](https://huggingface.co/datasets/imageomics/bioclip-image-search-lite) (FAISS index and DuckDB metadata for BioCLIP 2 image similarity search over TreeOfLife-200M).
427
+
428
+
429
+
430
+ ## Licensing Information
431
+
432
+ The embedding vectors in this repository are dedicated to the public domain under the [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/). The metadata inherits licensing terms from its upstream sources (GBIF, EOL, BIOSCAN-5M, FathomNet); see the [TreeOfLife-200M licensing information](https://huggingface.co/datasets/imageomics/TreeOfLife-200M#licensing-information) for per-record details.
433
+
434
+ **Important:** This repository does not contain or redistribute any images. The metadata includes URLs pointing to images hosted by their original sources. Individual images retain their original source licenses. Users must respect each image's original license terms when accessing images via the provided URLs.
435
+
436
+ We ask that you cite this dataset and associated papers if you make use of it in your research.
437
+
438
+
439
+ ## Citation
440
+
441
+ <!-- TODO: generate DOI and finalize citation -->
442
+ <!-- TODO: Check Citation Format -->
443
+ **Data:**
444
+ ```bibtex
445
+ @misc{treeoflife_200m_embeddings,
446
+ author = {Zhang, Net and Campolongo, Elizabeth and Thompson, Matthew and Gu, Jianyang},
447
+ title = {{TreeOfLife-200M Embeddings}},
448
+ year = {2026},
449
+ url = {https://huggingface.co/datasets/imageomics/TreeOfLife-200M-Embeddings},
450
+ publisher = {Hugging Face}
451
+ }
452
+ ```
453
+
454
+ Please also cite the source dataset and embedding model (include data sources as appropriate):
455
+
456
+ **TreeOfLife-200M:**
457
+ ```bibtex
458
+ @dataset{treeoflife_200m,
459
+ title = {{T}ree{O}f{L}ife-200{M} (Revision 94bbc0b)},
460
+ author = {Jianyang Gu and Samuel Stevens and Elizabeth G Campolongo and Matthew J Thompson and Net Zhang and Jiaman Wu and Andrei Kopanev and Zheda Mai and Alexander E. White and James Balhoff and Wasila M Dahdul and Daniel Rubenstein and Hilmar Lapp and Tanya Berger-Wolf and Wei-Lun Chao and Yu Su},
461
+ year = {2025},
462
+ url = {https://huggingface.co/datasets/imageomics/TreeOfLife-200M},
463
+ doi = {10.57967/hf/8980},
464
+ publisher = {Hugging Face}
465
+ }
466
+ ```
467
+
468
+ **BioCLIP 2 Paper:**
469
+ ```bibtex
470
+ @inproceedings{NEURIPS2025_94da80cb,
471
+ author = {Gu, Jianyang and Stevens, Sam and Campolongo, Elizabeth and Thompson, Matthew and Zhang, Net and Wu, Jiaman and Kopanev, Andrei and Mai, Zheda and White, Alexander and Balhoff, James and Dahdul, Wasila and Rubenstein, Daniel and Lapp, Hilmar and Berger-Wolf, Tanya and Chao, Wei-Lun (Harry) and Su, Yu},
472
+ booktitle = {Advances in Neural Information Processing Systems},
473
+ editor = {D. Belgrave and C. Zhang and H. Lin and R. Pascanu and P. Koniusz and M. Ghassemi and N. Chen},
474
+ pages = {102778--102811},
475
+ publisher = {Curran Associates, Inc.},
476
+ title = {{BioCLIP 2:} Emergent Properties from Scaling Hierarchical Contrastive Learning},
477
+ url = {https://proceedings.neurips.cc/paper_files/paper/2025/file/94da80cbfe870c1db958c88a8a27018c-Paper-Conference.pdf},
478
+ volume = {38},
479
+ year = {2025}
480
+ }
481
+ ```
482
+
483
+ <!--https://arxiv.org/abs/2505.23883-->
484
+
485
+ **BioCLIP 2.5 Huge Model:**
486
+ ```bibtex
487
+ @software{Gu_BioCLIP_2.5_Huge_model,
488
+ author = {Jianyang Gu and Samuel Stevens and Elizabeth G Campolongo and Matthew J Thompson and Net Zhang and Jiaman Wu and Andrei Kopanev and Zheda Mai and Alexander E. White and James Balhoff and Wasila M Dahdul and Daniel Rubenstein and Hilmar Lapp and Tanya Berger-Wolf and Wei-Lun Chao and Yu Su},
489
+ license = {MIT},
490
+ title = {{BioCLIP 2.5 Huge}},
491
+ url = {https://huggingface.co/imageomics/bioclip-2.5-vith14},
492
+ version = {1.0.0},
493
+ doi = {10.57967/hf/10131},
494
+ publisher = {Hugging Face},
495
+ year = {2026}
496
+ }
497
+ ```
498
+
499
+
500
+
501
+ ## Acknowledgements
502
+
503
+ This work was supported by the [Imageomics Institute](https://imageomics.org), which 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.
504
+
505
+ This work used resources of the [Ohio Supercomputer Center (OSC)](https://www.osc.edu/): Ohio Supercomputer Center. 1987. Ohio Supercomputer Center. Columbus OH: Ohio Supercomputer Center. https://ror.org/01apna436.
506
+
507
+
508
+ ## Dataset Card Authors
509
+
510
+ Net Zhang, Elizabeth Campolongo
511
+
512
+
513
+ ## Dataset Card Contact
514
+
515
+ For questions or issues, please use the [Community tab](https://huggingface.co/datasets/imageomics/TreeOfLife-200M-Embeddings/discussions) on this repository.