thompsonmj commited on
Commit
4a6319a
·
verified ·
1 Parent(s): 669a727

Prepare v0.1.0: Peromyscus, Ixodidae, and zebra

Browse files
Files changed (31) hide show
  1. .gitattributes +8 -0
  2. README.md +262 -68
  3. data/challenges.embedding_models.json +36 -0
  4. data/challenges.lance/{data/1000111111111011001100118ce56b40728960ba2e0e1868b2.lance → _indices/1a12220b-73a1-4ecd-9fb8-ec486a8ebfc3/auxiliary.idx} +2 -2
  5. data/challenges.lance/_indices/1a12220b-73a1-4ecd-9fb8-ec486a8ebfc3/index.idx +0 -0
  6. data/challenges.lance/_indices/337103a8-8631-4260-952a-5cd560bfcdd7/page_data.lance +0 -0
  7. data/challenges.lance/_indices/4ef3a3c2-656b-4601-9a8d-a8e8d565bedf/page_data.lance +0 -0
  8. data/challenges.lance/_indices/{337103a8-8631-4260-952a-5cd560bfcdd7 → 4ef3a3c2-656b-4601-9a8d-a8e8d565bedf}/page_lookup.lance +0 -0
  9. data/challenges.lance/_indices/80d3a887-8dc6-4d2b-b6d3-edce54120ca0/index.idx +0 -0
  10. data/challenges.lance/_indices/bc8f11e2-2214-4026-ac80-c269b42077f4/page_data.lance +0 -0
  11. data/challenges.lance/_indices/eb1bbd9e-7fee-45b9-96e7-2f77a1346022/auxiliary.idx +3 -0
  12. data/challenges.lance/_indices/eb1bbd9e-7fee-45b9-96e7-2f77a1346022/index.idx +0 -0
  13. data/challenges.lance/_indices/f5449cde-d17e-477b-b182-fc53fc8e9754/auxiliary.idx +3 -0
  14. data/challenges.lance/_indices/f5449cde-d17e-477b-b182-fc53fc8e9754/index.idx +0 -0
  15. data/challenges.lance/_indices/{80d3a887-8dc6-4d2b-b6d3-edce54120ca0/auxiliary.idx → f95aa145-e9a2-47f5-8071-d193f5c686b4/page_data.lance} +2 -2
  16. data/challenges.lance/_indices/{bc8f11e2-2214-4026-ac80-c269b42077f4 → f95aa145-e9a2-47f5-8071-d193f5c686b4}/page_lookup.lance +0 -0
  17. data/challenges.lance/_transactions/0-31b8568a-b16c-4613-ac7d-4b6cfa431754.txn +0 -0
  18. data/challenges.lance/_transactions/1-d7accaee-cde2-43ed-ac75-1da9251689af.txn +0 -0
  19. data/challenges.lance/_transactions/2-c9294e92-2309-434f-8023-32ac4c6f09da.txn +0 -0
  20. data/challenges.lance/_transactions/3-ab6c7801-369a-4efc-8d1c-9d9b1fe1b46b.txn +0 -0
  21. data/challenges.lance/_transactions/5-9cbd2678-043f-45f2-81bd-f89699a8d50b.txn +0 -0
  22. data/challenges.lance/_versions/18446744073709551609.manifest +0 -0
  23. data/challenges.lance/_versions/18446744073709551611.manifest +0 -0
  24. data/challenges.lance/_versions/18446744073709551612.manifest +0 -0
  25. data/challenges.lance/_versions/18446744073709551613.manifest +0 -0
  26. data/challenges.lance/_versions/18446744073709551614.manifest +0 -0
  27. data/challenges.lance/_versions/latest_version_hint.json +1 -1
  28. data/challenges.lance/data/010101110011010100000010ed20d04e6cb152ceea7534c8a0.lance +3 -0
  29. data/challenges.lance/data/101101100000111011110011f5c9d3403aa1cebe5cea843305.lance +3 -0
  30. data/challenges.lance/data/1101000010011111010010013ad4064fce8c52968e7d132950.lance +3 -0
  31. data/challenges.lance/data/1110111001010100001110112e0a4b43b896df3b6750b0e327.lance +3 -0
.gitattributes CHANGED
@@ -60,3 +60,11 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  data/challenges.lance/_indices/80d3a887-8dc6-4d2b-b6d3-edce54120ca0/auxiliary.idx filter=lfs diff=lfs merge=lfs -text
62
  data/challenges.lance/data/1000111111111011001100118ce56b40728960ba2e0e1868b2.lance filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  data/challenges.lance/_indices/80d3a887-8dc6-4d2b-b6d3-edce54120ca0/auxiliary.idx filter=lfs diff=lfs merge=lfs -text
62
  data/challenges.lance/data/1000111111111011001100118ce56b40728960ba2e0e1868b2.lance filter=lfs diff=lfs merge=lfs -text
63
+ data/challenges.lance/_indices/1a12220b-73a1-4ecd-9fb8-ec486a8ebfc3/auxiliary.idx filter=lfs diff=lfs merge=lfs -text
64
+ data/challenges.lance/_indices/eb1bbd9e-7fee-45b9-96e7-2f77a1346022/auxiliary.idx filter=lfs diff=lfs merge=lfs -text
65
+ data/challenges.lance/_indices/f5449cde-d17e-477b-b182-fc53fc8e9754/auxiliary.idx filter=lfs diff=lfs merge=lfs -text
66
+ data/challenges.lance/_indices/f95aa145-e9a2-47f5-8071-d193f5c686b4/page_data.lance filter=lfs diff=lfs merge=lfs -text
67
+ data/challenges.lance/data/010101110011010100000010ed20d04e6cb152ceea7534c8a0.lance filter=lfs diff=lfs merge=lfs -text
68
+ data/challenges.lance/data/101101100000111011110011f5c9d3403aa1cebe5cea843305.lance filter=lfs diff=lfs merge=lfs -text
69
+ data/challenges.lance/data/1101000010011111010010013ad4064fce8c52968e7d132950.lance filter=lfs diff=lfs merge=lfs -text
70
+ data/challenges.lance/data/1110111001010100001110112e0a4b43b896df3b6750b0e327.lance filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,119 +1,313 @@
1
  ---
2
- # license below = the dataset COMPILATION/curation/metadata (CC0, matching imageomics/TreeOfLife-200M). Individual IMAGES retain their own per-image licenses, recorded per row (license_name / license_link / copyright_owner) from TreeOfLife-200M provenance.parquet. See the Licensing section.
3
  license: cc0-1.0
 
 
 
 
 
4
  tags:
5
  - biology
 
 
 
6
  - imageomics
 
7
  - fine-grained-classification
 
8
  - bioclip
 
9
  - lance
10
- pretty_name: Fine-Grained Challenges
 
 
11
  ---
12
 
13
- # Fine-Grained Challenges
14
 
15
- Morphologically similar species image groups (including cryptic species) for evaluating and tuning fine-grained classifiers on top of [BioCLIP ecosystem model](https://imageomics.github.io/bioclip-ecosystem/pages/models.html) embeddings.
16
 
17
- The corpus lives in a [Lance dataset](https://huggingface.co/docs/hub/en/datasets-lance) and can be acted on as a whole, on any single morphologically similar species group independently, or on any single image. Images, embeddings (such as the 768-d BioCLIP 2 embeddings), taxonomic lineage, provenance, and the search indexes are provided in the same table:
18
 
19
- ```
20
- data/challenges.lance/
21
- ```
 
 
 
 
22
 
23
- ## Schema
24
 
25
- | Column | Type | Meaning |
26
- |---|---|---|
27
- | `uuid` | string | stable image id |
28
- | `challenge_group` | string | which challenge group, e.g. `Peromyscus` |
29
- | `seen_in_training` | list\<string\> | model-version ids whose training data included this image, e.g. `["bioclip-2", "bioclip-2.5"]`; `[]` = held out from every listed model (see Considerations) |
30
- | `species` | string | full binomial (`Peromyscus maniculatus`) if available, else null |
31
- | `kingdom`…`genus`, `scientific_name` | string | taxonomy |
32
- | `common_name` | string | common name if available, else null |
33
- | `source_dataset`, `source_id`, `publisher`, `basisOfRecord`, `img_type`, `resolution_status` | string | record provenance |
34
- | `source_url` | string | URL of the image (from TreeOfLife-200M provenance) |
35
- | `license_name`, `license_link`, `copyright_owner` | string | per-image license + attribution (see Licensing) |
36
- | `emb_bioclip2` | fixed_size_list\<float32\>[768] | BioCLIP 2 embedding (IVF_PQ-indexed) |
37
- | `image` | binary | webp bytes (decode with `PIL.Image.open(io.BytesIO(...))`) |
38
 
39
- `seen_in_training` is per-image and is constant within a source cohort, so a single group can mix images seen in training with held-out images. See Considerations for using this data.
40
 
41
- ## Groups
42
 
43
- | group | images | seen_in_training | notes |
44
- |---|---|---|---|
45
- | `Peromyscus` | 1432 | `["bioclip-2", "bioclip-2.5"]` | deermice and relatives; 1332 species-labeled + 100 genus-only |
46
 
 
47
 
48
- ## Usage
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
 
50
- Install: `uv pip install pylance polars pillow`
 
 
 
 
51
 
52
  ```python
53
  import lance
 
54
  URI = "hf://datasets/imageomics/fine-grained-challenges/data/challenges.lance"
55
- ds = lance.dataset(URI) # scans remotely over hf://, no full download
56
 
57
- # Full dataset
58
- ds.count_rows()
59
 
60
- # One group independently (filter pushed down to only retrieve relevant rows and column projection to only retrieve relevant columns)
61
  peromyscus = ds.scanner(
62
  filter="challenge_group = 'Peromyscus'",
63
- columns=["uuid", "species", "emb_bioclip2"],
64
  ).to_table()
 
65
 
66
- # Select by training exposure (unseen test set vs. seen in training)
67
- unseen = ds.scanner(filter="array_length(seen_in_training) = 0").to_table()
68
- seen_by_bioclip2 = ds.scanner(
69
- filter="array_has(seen_in_training, 'bioclip-2')").to_table()
70
 
71
- # Image bytes (raw webp), same pattern as the HF Lance image example
72
- import io
73
- from PIL import Image
74
- row = ds.take([0], columns=["image", "species"]).to_pylist()[0]
75
- img = Image.open(io.BytesIO(row["image"]))
76
 
77
- # Materialize (i.e. download) a group locally for heavy/training use (avoids Hub rate limits)
78
- lance.write_dataset(peromyscus, "./Peromyscus.lance")
 
 
 
 
 
 
79
  ```
80
 
81
- Because reads are columnar and pushed down over `hf://`, you can browse metadata cheaply by projecting to just the columns you need (e.g. omit `image` and `emb_bioclip2`). For example, count the images of one species without fetching any images or embeddings:
82
 
83
  ```python
84
- ds.count_rows(filter="species = 'Peromyscus maniculatus'")
 
 
 
 
85
  ```
86
 
87
- ## Considerations for using this data
88
 
89
- The `seen_in_training` field records the model versions whose training data included each image, so in-distribution evaluation can be separated from unseen tests:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
 
91
- | group / cohort | seen_in_training | meaning |
92
- |---|---|---|
93
- | `Peromyscus` (GBIF/EOL via TreeOfLife-200M) | `["bioclip-2", "bioclip-2.5"]` | in the training corpus of both models |
94
- | (held-out cohorts, e.g. camera-trap) | `[]` | novel to every listed model |
95
 
96
- The `seen_in_training` field is derived per image from its presence in TreeOfLife-200M, the training data for the listed models. It is a per-image membership fact for those model versions. For held-out evaluation, select `array_length(seen_in_training) = 0`, which corresponds to images novel to every listed model.
97
 
98
- Models referenced: [`bioclip-2`](https://huggingface.co/imageomics/bioclip-2) (trained on an earlier TreeOfLife-200M snapshot) and [`bioclip-2.5`](https://huggingface.co/imageomics/bioclip-2.5-vith14) (trained on a later, expanded snapshot). The corresponding embedding columns use a filename-safe slug: value `bioclip-2.5` corresponds to column `emb_bioclip2p5`.
99
 
100
- Currently, only `emb_bioclip2` is provided.
101
 
102
- ## Licensing and attribution
103
 
104
- The dataset compilation (curation, metadata, embeddings, and indexes) is released under CC0-1.0, matching `imageomics/TreeOfLife-200M`. This does not relicense the images.
105
 
106
- Each image keeps its own license, recorded in its row (`license_name`, `license_link`, `copyright_owner`) from TreeOfLife-200M's `provenance.parquet`.
107
 
108
- No-derivatives (`*-nd`) licenses are excluded at build time, since the stored webp and embeddings are derivative works. The remaining mix is mostly NonCommercial (`*-nc-*`), with some ShareAlike (`*-sa-*`), plain attribution, and public-domain images.
109
 
110
- Use each image under its own license.
111
 
112
- Per-license counts, computed from the data (`URI` as defined above):
113
 
114
- ```python
115
- import lance
116
- import polars as pl
117
- t = lance.dataset(URI).to_table(columns=["challenge_group", "license_name"])
118
- pl.from_arrow(t).group_by(["challenge_group", "license_name"]).len() # license counts, per group
119
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
 
2
  license: cc0-1.0
3
+ language:
4
+ - en
5
+ pretty_name: Fine-Grained Challenges
6
+ task_categories:
7
+ - image-classification
8
  tags:
9
  - biology
10
+ - image
11
+ - animals
12
+ - CV
13
  - imageomics
14
+ - biodiversity
15
  - fine-grained-classification
16
+ - camera-trap
17
  - bioclip
18
+ - embeddings
19
  - lance
20
+ size_categories:
21
+ - 1K<n<10K
22
+ description: Images, taxonomy, provenance, and BioCLIP-family embeddings for focused fine-grained biological classification challenges.
23
  ---
24
 
25
+ # Dataset Card for Fine-Grained Challenges
26
 
27
+ Fine-Grained Challenges collects focused groups of visually similar animals for testing biological image classifiers. It combines images, taxonomy, provenance, and frozen embeddings from three BioCLIP-family models in one Lance dataset.
28
 
29
+ ## Dataset Details
30
 
31
+ ### Dataset Description
32
+
33
+ - **Curated by:** Matthew J. Thompson, Imageomics Institute
34
+ - **Language(s) (NLP):** English metadata and scientific nomenclature
35
+ - **Homepage:** https://huggingface.co/datasets/imageomics/fine-grained-challenges
36
+ - **Repository:** https://huggingface.co/datasets/imageomics/fine-grained-challenges
37
+ - **Paper:** No associated paper
38
 
39
+ Release `v0.1.0` contains three challenge groups:
40
 
41
+ | Challenge group | Focus | Rows | Species-labeled rows | Genus or higher rows | Labeled species |
42
+ | --------------- | ------------------------------ | --------: | -------------------: | -------------------: | --------------: |
43
+ | `Peromyscus` | Deermice and close relatives | 1,737 | 1,332 | 405 | 37 |
44
+ | `Ixodidae` | Hard ticks | 4,499 | 4,423 | 76 | 173 |
45
+ | `zebra` | Zebra species in genus *Equus* | 397 | 397 | 0 | 4 |
46
+ | **Total** | | **6,633** | **6,152** | **481** | **214** |
 
 
 
 
 
 
 
47
 
48
+ The `Peromyscus` group includes 305 camera-trap images resolved only to genus. They were not included in the training data of the listed BioCLIP models and can be used as an open-ended, field-like inspection set. They are not species-level ground truth.
49
 
50
+ This repository uses pre-1.0 semantic versioning. During the `v0.x` series, minor releases may add or revise data, schema, embeddings, or scientific interpretation. Patch releases are reserved for documentation and other changes that do not alter the data. Tags identify fixed release states.
51
 
52
+ ### Supported Tasks and Leaderboards
 
 
53
 
54
+ The dataset supports:
55
 
56
+ - fine-grained image classification within a challenge group;
57
+ - zero-shot classification with vision-language models;
58
+ - few-shot classifiers trained on frozen image embeddings;
59
+ - comparison of embedding spaces across BioCLIP model generations;
60
+ - inspection of predictions on genus-only camera-trap images;
61
+ - testing retrieval and nearest-neighbor methods.
62
+
63
+ The repository does not define a leaderboard, a mandatory train-test split, or a single metric. A valid evaluation must describe its split, sampling unit, label set, model revision, text prompts if applicable, and metric.
64
+
65
+ ## Dataset Structure
66
+
67
+ The corpus is a single Lance dataset with embedded image bytes:
68
+
69
+ ```text
70
+ data/
71
+ |-- challenges.lance/
72
+ | |-- data/
73
+ | |-- _indices/
74
+ | |-- _transactions/
75
+ | `-- _versions/
76
+ `-- challenges.embedding_models.json
77
+ ```
78
 
79
+ Lance supports column projection and filter pushdown, so metadata can be inspected without retrieving image bytes or embeddings.
80
+
81
+ ### Data Instances
82
+
83
+ Open the current repository state remotely:
84
 
85
  ```python
86
  import lance
87
+
88
  URI = "hf://datasets/imageomics/fine-grained-challenges/data/challenges.lance"
89
+ ds = lance.dataset(URI)
90
 
91
+ print(ds.count_rows())
92
+ print(ds.count_rows(filter="challenge_group = 'Peromyscus'"))
93
 
 
94
  peromyscus = ds.scanner(
95
  filter="challenge_group = 'Peromyscus'",
96
+ columns=["uuid", "species", "source_dataset", "emb_bioclip2p5"],
97
  ).to_table()
98
+ ```
99
 
100
+ For a durable analysis, download a tagged release and open it locally:
 
 
 
101
 
102
+ ```python
103
+ from huggingface_hub import snapshot_download
104
+ import lance
 
 
105
 
106
+ root = snapshot_download(
107
+ repo_id="imageomics/fine-grained-challenges",
108
+ repo_type="dataset",
109
+ revision="v0.1.0",
110
+ allow_patterns="data/challenges.lance/**",
111
+ local_dir="fine-grained-challenges-v0.1.0",
112
+ )
113
+ ds = lance.dataset(f"{root}/data/challenges.lance")
114
  ```
115
 
116
+ Decode an image from its stored WebP bytes:
117
 
118
  ```python
119
+ import io
120
+ from PIL import Image
121
+
122
+ row = ds.take([0], columns=["image", "scientific_name"]).to_pylist()[0]
123
+ image = Image.open(io.BytesIO(row["image"]))
124
  ```
125
 
126
+ ### Data Fields
127
 
128
+ | Field | Type | Description |
129
+ | ------------------------- | ---------------- | --------------------------------------------------------------------------- |
130
+ | `uuid` | string | Stable image identifier within the dataset |
131
+ | `challenge_group` | string | `Peromyscus`, `Ixodidae`, or `zebra` |
132
+ | `seen_in_training` | list of string | Model identifiers whose documented training corpus included this image |
133
+ | `species` | string, nullable | Species binomial used as a classification label when available |
134
+ | `source_dataset` | string | Immediate source collection, such as `gbif`, `eol`, `bioscan`, or `lila-bc` |
135
+ | `source_id` | string | Record identifier supplied by the source |
136
+ | `kingdom` through `genus` | string, nullable | Resolved standard taxonomic ranks |
137
+ | `scientific_name` | string, nullable | Most specific resolved scientific name |
138
+ | `common_name` | string, nullable | Vernacular name when available |
139
+ | `publisher` | string, nullable | Source publisher or contributing organization |
140
+ | `basisOfRecord` | string, nullable | Biodiversity record type when supplied |
141
+ | `img_type` | string, nullable | Image type metadata inherited from the source |
142
+ | `resolution_status` | string, nullable | Taxonomic resolution status |
143
+ | `source_url` | string | URL associated with the source image or record |
144
+ | `license_name` | string | Per-image license identifier or label |
145
+ | `copyright_owner` | string | Per-image attribution or copyright owner |
146
+ | `license_link` | string | URL for the applicable per-image license |
147
+ | `image` | large binary | Lossless WebP image bytes, with maximum edge no greater than 720 pixels |
148
+ | `emb_bioclip` | float32[512] | Raw, unnormalized BioCLIP image embedding |
149
+ | `emb_bioclip2` | float32[768] | Raw, unnormalized BioCLIP 2 image embedding |
150
+ | `emb_bioclip2p5` | float32[1024] | Raw, unnormalized BioCLIP 2.5 image embedding |
151
 
152
+ The embedding columns are indexed with cosine IVF-FLAT indices. `uuid` and `challenge_group` have scalar B-tree indices. Model revisions and embedding norm statistics are recorded in `data/challenges.embedding_models.json` and in the Arrow field metadata.
 
 
 
153
 
154
+ ### Data Splits
155
 
156
+ No fixed train, validation, or test split is provided.
157
 
158
+ The 6,328 rows derived from TreeOfLife-200M have `seen_in_training = ["bioclip-2", "bioclip-2.5"]`. This is an image-membership statement for those named model versions, not a guarantee about other models or about related observations.
159
 
160
+ The 305 LILA camera-trap rows have `seen_in_training = []`, `species = null`, and `scientific_name = "Peromyscus"`. They are suitable for prediction inspection, not supervised species-level scoring.
161
 
162
+ Users should make splits at the observation, sequence, specimen, site, or source level where that information is available. Random image-level splits can leak near-duplicate or related observations across partitions.
163
 
164
+ ## Dataset Creation
165
 
166
+ ### Curation Rationale
167
 
168
+ Broad biological benchmarks can conceal failures among close relatives. These challenge groups concentrate on distinctions that are scientifically meaningful and visually difficult. The dataset also places pretrained embeddings beside the images and metadata so that zero-shot and few-shot methods can be compared without repeating expensive image encoding.
169
 
170
+ ### Source Data
171
 
172
+ The species-labeled images were selected from [TreeOfLife-200M](https://huggingface.co/datasets/imageomics/TreeOfLife-200M). The genus-only camera-trap images came from two collections distributed through [LILA BC](https://lila.science/): the Wildlife Conservation Society Camera Traps and the North American Camera Trap Images dataset.
173
+
174
+ Source composition in `v0.1.0` is:
175
+
176
+ | Challenge group | Immediate source | Rows |
177
+ | --------------- | ------------------------------ | ----: |
178
+ | `Peromyscus` | GBIF | 1,149 |
179
+ | `Peromyscus` | EOL | 283 |
180
+ | `Peromyscus` | LILA BC | 305 |
181
+ | `Ixodidae` | GBIF | 3,785 |
182
+ | `Ixodidae` | EOL | 674 |
183
+ | `Ixodidae` | BIOSCAN | 37 |
184
+ | `Ixodidae` | Unspecified in source metadata | 3 |
185
+ | `zebra` | GBIF | 351 |
186
+ | `zebra` | EOL | 45 |
187
+ | `zebra` | Unspecified in source metadata | 1 |
188
+
189
+ The four rows whose immediate source is unspecified retain usable per-image license and provenance fields. They were not assigned a source that could not be verified.
190
+
191
+ #### Data Collection and Processing
192
+
193
+ TreeOfLife-200M records were grouped by the selected fine-grained challenges. Species were sampled with a fixed random seed up to 100 images per species. Records resolved only to genus were retained in a separate bucket, also capped at 100 during that sampling stage. Images, taxonomic annotations, provenance, and model embeddings were joined by stable image identifiers.
194
+
195
+ Rows were excluded when the image license was missing, lacked a license URL, was marked `all-rights-reserved` or `other`, or prohibited derivative works. This is necessary because the stored WebP representation and model embeddings are derivative outputs. Every retained row has a license name, license URL, and copyright-owner field.
196
+
197
+ For the camera-trap cohort, records labeled as *Peromyscus* were identified before taxonomic resolution. The Ohio Small Animals collection was excluded. Candidate records came from the Wildlife Conservation Society Camera Traps and North American Camera Trap Images collections. Taxonomy was resolved with [TaxonoPy](https://imageomics.github.io/TaxonoPy/) 0.2.0. Of 432 candidate image records, 431 could be retrieved. Images were resized with Lanczos resampling to a maximum edge of 720 pixels and encoded as lossless WebP with method 6.
198
+
199
+ [MegaDetector](https://github.com/agentmorris/MegaDetector) v1000 Redwood was used to screen the camera-trap images. A confidence threshold of 0.30 retained 305 images containing an animal detection: 198 from Wildlife Conservation Society Camera Traps and 107 from North American Camera Trap Images. Detection outputs are not species annotations.
200
+
201
+ All images in the release decode as lossless WebP and have a maximum edge no greater than 720 pixels.
202
+
203
+ The three embedding columns were recomputed in FP32 with TensorFloat-32 disabled using the preprocessing configuration pinned with each model. The stored values are raw image embeddings and are not L2-normalized:
204
+
205
+ | Column | Model | Revision | Dimension |
206
+ | ---------------- | ------------------------------- | ------------------------------------------ | --------: |
207
+ | `emb_bioclip` | `imageomics/bioclip` | `ce901ab3c6a913f9e9ef94ce6d27761069f4f01c` | 512 |
208
+ | `emb_bioclip2` | `imageomics/bioclip-2` | `2957b322090f9cb17ae72c71981c7218a28d81e0` | 768 |
209
+ | `emb_bioclip2p5` | `imageomics/bioclip-2.5-vith14` | `191d741545e4c741cdef4b22c6eb69c945c1e592` | 1,024 |
210
+
211
+ Normalize these embeddings before cosine classification or cosine-based model comparison.
212
+
213
+ #### Who are the source data producers?
214
+
215
+ The source photographs were made and published by the people and organizations represented in the original TreeOfLife-200M and LILA BC records. These include biodiversity observers, collection personnel, research teams, and automated camera-trap systems. Per-image ownership and license information remains in each row.
216
+
217
+ ### Annotations
218
+
219
+ #### Annotation process
220
+
221
+ TreeOfLife-derived taxonomy follows the resolved rank fields available in the TreeOfLife annotation pipeline. Camera-trap candidates were first identified by their source label and then resolved with TaxonoPy. The camera-trap cohort remains at genus because its source metadata does not establish a species label.
222
+
223
+ `seen_in_training` records direct image membership in the documented training corpus for the named BioCLIP versions. It does not infer membership from taxonomic similarity.
224
+
225
+ MegaDetector provided animal presence and bounding-box screening for the camera-trap cohort. Its detections should not be interpreted as taxonomic labels.
226
+
227
+ #### Who are the annotators?
228
+
229
+ Taxonomic and record metadata originate with the contributing source datasets and were standardized through the TreeOfLife and TaxonoPy processing described above. MegaDetector supplied automated animal detections. No new human species-level annotation was added to the LILA camera-trap images.
230
+
231
+ ### Personal and Sensitive Information
232
+
233
+ The release does not intentionally include names of photographed people, coordinates, or other direct personal identifiers. Camera traps can capture people incidentally. No retained camera-trap image had a MegaDetector person detection at the 0.30 screening threshold, but this automated check is not a guarantee that people are absent.
234
+
235
+ Source URLs can lead to external records containing location or occurrence information. Users should evaluate the sensitivity of those records before redistribution or publication, particularly for vulnerable species.
236
+
237
+ ## Considerations for Using the Data
238
+
239
+ The challenge groups differ in source, scale, taxonomic coverage, and image setting. Report results per group rather than treating all 6,633 rows as one classification problem.
240
+
241
+ The TreeOfLife-derived images are in the training corpus of BioCLIP 2 and BioCLIP 2.5. Scores on those rows measure performance on this curated challenge, but they are not held-out estimates for those models.
242
+
243
+ The LILA rows are independent images for the listed model versions, but they lack species labels. Use them to inspect whether predictions are credible, compare methods, or identify examples for expert review. Do not treat model predictions as ground truth.
244
+
245
+ Common names can be missing or can repeat the most specific scientific name. Prompt-based evaluation should state exactly how missing common names were handled.
246
+
247
+ ### Bias, Risks, and Limitations
248
+
249
+ - Source sampling is not representative of biological abundance or geographic occurrence.
250
+ - Class counts are capped for portions of the corpus and should not be used as ecological frequency estimates.
251
+ - Taxonomic names can change, and source records can contain identification errors.
252
+ - Images from aggregators can preserve biases and duplicate relationships from their upstream collections.
253
+ - The release does not provide specimen, individual, sequence, site, or duplicate group identifiers uniformly across every source.
254
+ - Camera-trap filtering favors images detected by MegaDetector and can exclude small, obscured, or unusual animals.
255
+ - Camera-trap images are genus-only and cannot measure species accuracy without independent expert annotation.
256
+ - Precomputed embeddings reproduce only the pinned model revisions and preprocessing configurations.
257
+
258
+ ### Recommendations
259
+
260
+ - Pin a dataset tag and record the ordered UUID hash for reproducible work.
261
+ - Select rows by `challenge_group`, source, and training exposure before fitting or scoring a model.
262
+ - Normalize the stored embeddings when the method assumes unit vectors.
263
+ - Fit downstream classifiers separately for each model's embedding space.
264
+ - Group related observations before splitting whenever suitable provenance is available.
265
+ - Inspect per-image licenses and attribution requirements before republishing images.
266
+ - Seek expert review before assigning species labels to the LILA camera-trap cohort.
267
+ - Preserve model revision, preprocessing, prompt, split, and metric details with reported results.
268
+
269
+ ## Licensing Information
270
+
271
+ The dataset compilation, including its selection, curation metadata, embeddings, and indices, is released under CC0-1.0. This does not relicense the images.
272
+
273
+ Each image retains the license recorded in `license_name` and `license_link`, and the associated attribution is recorded in `copyright_owner`. The retained licenses include public-domain terms and licenses that can require attribution, limit commercial use, or require ShareAlike distribution. The LILA camera-trap images use CDLA-Permissive-1.0 in this release. Users are responsible for following the terms attached to each image.
274
+
275
+ NoDerivatives, `all-rights-reserved`, ambiguous `other`, and missing-license-link records were excluded from this release.
276
+
277
+ ## Citation
278
+
279
+ No formal citation is provided for this release. Link to this dataset repository and cite the applicable source datasets when using these data.
280
+
281
+ TreeOfLife-200M is available at https://huggingface.co/datasets/imageomics/TreeOfLife-200M and has DOI https://doi.org/10.57967/hf/8980. Source URLs and provenance fields identify the other contributing collections at row level.
282
+
283
+ ## Acknowledgements
284
+
285
+ 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.
286
+
287
+ The curators also acknowledge the source-image contributors, biodiversity data publishers, and camera-trap teams represented in the per-row provenance.
288
+
289
+ ## Glossary
290
+
291
+ - **Challenge group:** A set of related, visually confusable taxa selected for a focused analysis.
292
+ - **Frozen embedding:** A numeric representation produced without updating the pretrained encoder.
293
+ - **Genus-only:** Taxonomy is resolved to genus but not to a supported species label.
294
+ - **Seen in training:** The exact image is present in the documented training corpus of a named model version.
295
+ - **Zero-shot:** Classification using model-aligned text or class prototypes without fitting a classifier to labeled examples from the target task.
296
+ - **Few-shot:** Adaptation using a small number of labeled examples per class.
297
+
298
+ ## More Information
299
+
300
+ - [BioCLIP model family](https://imageomics.github.io/bioclip-ecosystem/pages/models.html)
301
+ - [Lance dataset format](https://lancedb.github.io/lance/)
302
+ - [TaxonoPy](https://imageomics.github.io/TaxonoPy/)
303
+ - [MegaDetector](https://github.com/agentmorris/MegaDetector)
304
+ - [Wildlife Conservation Society Camera Traps](https://lila.science/datasets/wcscameratraps/)
305
+ - [North American Camera Trap Images](https://lila.science/datasets/nacti/)
306
+
307
+ ## Dataset Card Authors
308
+
309
+ Matthew J. Thompson
310
+
311
+ ## Dataset Card Contact
312
+
313
+ Use the Discussions tab in this Hugging Face dataset repository.
data/challenges.embedding_models.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rows": 6633,
3
+ "ordered_uuid_sha256": "079b737f870270f1e6691abf3e5dede48a3933c32158852cbf949f88c57daf2f",
4
+ "embeddings": {
5
+ "emb_bioclip": {
6
+ "dimension": 512,
7
+ "model_repo_id": "imageomics/bioclip",
8
+ "model_revision": "ce901ab3c6a913f9e9ef94ce6d27761069f4f01c",
9
+ "dtype": "float32",
10
+ "normalized": false,
11
+ "norm_min": 6.65630578994751,
12
+ "norm_mean": 8.59104061126709,
13
+ "norm_max": 15.807360649108887
14
+ },
15
+ "emb_bioclip2": {
16
+ "dimension": 768,
17
+ "model_repo_id": "imageomics/bioclip-2",
18
+ "model_revision": "2957b322090f9cb17ae72c71981c7218a28d81e0",
19
+ "dtype": "float32",
20
+ "normalized": false,
21
+ "norm_min": 36.83430480957031,
22
+ "norm_mean": 44.56373596191406,
23
+ "norm_max": 58.65436935424805
24
+ },
25
+ "emb_bioclip2p5": {
26
+ "dimension": 1024,
27
+ "model_repo_id": "imageomics/bioclip-2.5-vith14",
28
+ "model_revision": "191d741545e4c741cdef4b22c6eb69c945c1e592",
29
+ "dtype": "float32",
30
+ "normalized": false,
31
+ "norm_min": 20.498933792114258,
32
+ "norm_mean": 24.851869583129883,
33
+ "norm_max": 27.95465087890625
34
+ }
35
+ }
36
+ }
data/challenges.lance/{data/1000111111111011001100118ce56b40728960ba2e0e1868b2.lance → _indices/1a12220b-73a1-4ecd-9fb8-ec486a8ebfc3/auxiliary.idx} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:86e469d2ccb6a7ba04d8553399b9665388b243cddcf55367d11e3fd1f17d88f0
3
- size 528489198
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c14b5c4d40837a2d4b886db94bd5dda299e34d60de1a1ccdb213876424271427
3
+ size 13615858
data/challenges.lance/_indices/1a12220b-73a1-4ecd-9fb8-ec486a8ebfc3/index.idx ADDED
Binary file (33.1 kB). View file
 
data/challenges.lance/_indices/337103a8-8631-4260-952a-5cd560bfcdd7/page_data.lance DELETED
Binary file (39.8 kB)
 
data/challenges.lance/_indices/4ef3a3c2-656b-4601-9a8d-a8e8d565bedf/page_data.lance ADDED
Binary file (25.1 kB). View file
 
data/challenges.lance/_indices/{337103a8-8631-4260-952a-5cd560bfcdd7 → 4ef3a3c2-656b-4601-9a8d-a8e8d565bedf}/page_lookup.lance RENAMED
Binary files a/data/challenges.lance/_indices/337103a8-8631-4260-952a-5cd560bfcdd7/page_lookup.lance and b/data/challenges.lance/_indices/4ef3a3c2-656b-4601-9a8d-a8e8d565bedf/page_lookup.lance differ
 
data/challenges.lance/_indices/80d3a887-8dc6-4d2b-b6d3-edce54120ca0/index.idx DELETED
Binary file (49.5 kB)
 
data/challenges.lance/_indices/bc8f11e2-2214-4026-ac80-c269b42077f4/page_data.lance DELETED
Binary file (3.4 kB)
 
data/challenges.lance/_indices/eb1bbd9e-7fee-45b9-96e7-2f77a1346022/auxiliary.idx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f042c29692429440947d70bf121b04443f4a7c9cc6fc715700b73d8b2c5bed9
3
+ size 20408223
data/challenges.lance/_indices/eb1bbd9e-7fee-45b9-96e7-2f77a1346022/index.idx ADDED
Binary file (49.5 kB). View file
 
data/challenges.lance/_indices/f5449cde-d17e-477b-b182-fc53fc8e9754/auxiliary.idx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22d473847a73d145ef133eca11ee8d254279c351a37d98e6c00e1b64be12979b
3
+ size 27200418
data/challenges.lance/_indices/f5449cde-d17e-477b-b182-fc53fc8e9754/index.idx ADDED
Binary file (65.9 kB). View file
 
data/challenges.lance/_indices/{80d3a887-8dc6-4d2b-b6d3-edce54120ca0/auxiliary.idx → f95aa145-e9a2-47f5-8071-d193f5c686b4/page_data.lance} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f36fb31fa2c0e911e947edca31051580f4c05acf4962b634eda367e5e4d33fb6
3
- size 801724
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89ff82773340b6555941300ee2af8a2d5c09cfa38d0ead483874782cc45d34cb
3
+ size 191774
data/challenges.lance/_indices/{bc8f11e2-2214-4026-ac80-c269b42077f4 → f95aa145-e9a2-47f5-8071-d193f5c686b4}/page_lookup.lance RENAMED
Binary files a/data/challenges.lance/_indices/bc8f11e2-2214-4026-ac80-c269b42077f4/page_lookup.lance and b/data/challenges.lance/_indices/f95aa145-e9a2-47f5-8071-d193f5c686b4/page_lookup.lance differ
 
data/challenges.lance/_transactions/0-31b8568a-b16c-4613-ac7d-4b6cfa431754.txn DELETED
Binary file (1.15 kB)
 
data/challenges.lance/_transactions/1-d7accaee-cde2-43ed-ac75-1da9251689af.txn DELETED
Binary file (468 Bytes)
 
data/challenges.lance/_transactions/2-c9294e92-2309-434f-8023-32ac4c6f09da.txn DELETED
Binary file (202 Bytes)
 
data/challenges.lance/_transactions/3-ab6c7801-369a-4efc-8d1c-9d9b1fe1b46b.txn DELETED
Binary file (192 Bytes)
 
data/challenges.lance/_transactions/5-9cbd2678-043f-45f2-81bd-f89699a8d50b.txn ADDED
Binary file (198 Bytes). View file
 
data/challenges.lance/_versions/18446744073709551609.manifest ADDED
Binary file (3.89 kB). View file
 
data/challenges.lance/_versions/18446744073709551611.manifest DELETED
Binary file (2.15 kB)
 
data/challenges.lance/_versions/18446744073709551612.manifest DELETED
Binary file (2.02 kB)
 
data/challenges.lance/_versions/18446744073709551613.manifest DELETED
Binary file (2.12 kB)
 
data/challenges.lance/_versions/18446744073709551614.manifest DELETED
Binary file (2.37 kB)
 
data/challenges.lance/_versions/latest_version_hint.json CHANGED
@@ -1 +1 @@
1
- {"version":4}
 
1
+ {"version":6}
data/challenges.lance/data/010101110011010100000010ed20d04e6cb152ceea7534c8a0.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f84b7fe01b61f08eaa9bb13186c486881bc999065fd7c5e8af84a3afa7389e37
3
+ size 220508173
data/challenges.lance/data/101101100000111011110011f5c9d3403aa1cebe5cea843305.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5afce880a2b04ebfdfbd7aef6e03c9e3a1f58cd2ce9042ff18df253ab5f5ef2
3
+ size 728253282
data/challenges.lance/data/1101000010011111010010013ad4064fce8c52968e7d132950.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f36eb192db7c5b532a90a92035cb318deec86366e2f395263422d8678d5d5b30
3
+ size 653773342
data/challenges.lance/data/1110111001010100001110112e0a4b43b896df3b6750b0e327.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7866ada89ea6061e86cc4090b3740f95a23eea5a06e84b5908e6601254a150d
3
+ size 645403880