Datasets:
uuid string | challenge_group string | seen_in_training list | species string | source_dataset string | source_id string | kingdom string | phylum string | class string | order string | family string | genus string | scientific_name string | common_name string | publisher string | basisOfRecord string | img_type string | resolution_status string | source_url string | license_name string | copyright_owner string | license_link string | image video | emb_bioclip list | emb_bioclip2 list | emb_bioclip2p5 list |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aabae2ee-fbd6-43c4-ac15-73b5b70c7bbe | Peromyscus | [
"bioclip-2",
"bioclip-2.5"
] | null | gbif | 4177133807 | Animalia | Chordata | Mammalia | Rodentia | Cricetidae | Peromyscus | Peromyscus Gloger, 1841 | null | iNaturalist.org | HUMAN_OBSERVATION | Citizen Science | EXACT_MATCH_PRIMARY_SOURCE_ACCEPTED_AUTHOR_DISAMBIGUATION | cc-by-nc-4.0 | eriemetroparks | http://creativecommons.org/licenses/by-nc/4.0/ | [
0.28673025965690613,
-0.3282307982444763,
0.18549802899360657,
-0.340992271900177,
-0.32152581214904785,
-0.10910744220018387,
0.36053574085235596,
-0.6606091260910034,
-0.08224446326494217,
-0.018663235008716583,
-0.06996650993824005,
-0.2092726230621338,
0.16334933042526245,
-0.240788981... | [
0.3390052914619446,
2.8572773933410645,
1.3177059888839722,
-1.4173080921173096,
0.7651369571685791,
-0.3012021780014038,
-1.9097260236740112,
0.43012720346450806,
0.15045928955078125,
-0.9055401086807251,
0.11108648777008057,
2.3186216354370117,
-1.143715739250183,
-0.25616684556007385,
... | [
-0.2045753002166748,
0.55181485414505,
0.3776264190673828,
1.3286634683609009,
1.2798842191696167,
-0.5559526085853577,
0.8591007590293884,
-1.9061248302459717,
0.4944568872451782,
-0.6066250801086426,
-0.9739803075790405,
-0.010488525032997131,
-1.000791072845459,
-0.5248621702194214,
0... | ||
59e080ab-59ac-4300-a1c1-6ab65a821111 | Peromyscus | [
"bioclip-2",
"bioclip-2.5"
] | null | gbif | 3321198391 | Animalia | Chordata | Mammalia | Rodentia | Cricetidae | Peromyscus | Peromyscus Gloger, 1841 | null | iNaturalist.org | HUMAN_OBSERVATION | Citizen Science | EXACT_MATCH_PRIMARY_SOURCE_ACCEPTED_AUTHOR_DISAMBIGUATION | cc-0-1.0 | Étienne Lacroix-Carignan | http://creativecommons.org/publicdomain/zero/1.0/ | [
0.5285890698432922,
-0.7860369682312012,
0.08457916975021362,
0.776810348033905,
0.2778867781162262,
0.13709266483783722,
-0.2068796008825302,
0.6356545090675354,
0.4083104133605957,
-0.17374415695667267,
-0.3309253752231598,
0.46447786688804626,
-0.029769064858555794,
-0.544600784778595,
... | [
0.50706547498703,
1.897578239440918,
0.0658908486366272,
3.071552276611328,
0.24012231826782227,
-1.8383569717407227,
-2.0813565254211426,
-0.09679605811834335,
-2.2512998580932617,
-0.5034412741661072,
0.5560142397880554,
0.351959764957428,
-2.42718505859375,
-1.591935634613037,
2.10428... | [
-0.4803220331668854,
-0.43150508403778076,
-0.6987513303756714,
0.24895402789115906,
1.2536088228225708,
0.3589344918727875,
1.0813498497009277,
-1.9849121570587158,
-0.3691380023956299,
-0.6527808904647827,
-1.4622880220413208,
-0.4594342112541199,
-0.6394052505493164,
0.4054478406906128,... | ||
ace974de-75f5-4ecc-9230-2a12c17b5dbc | Peromyscus | [
"bioclip-2",
"bioclip-2.5"
] | null | gbif | 4009774583 | Animalia | Chordata | Mammalia | Rodentia | Cricetidae | Peromyscus | Peromyscus Gloger, 1841 | null | iNaturalist.org | HUMAN_OBSERVATION | Citizen Science | EXACT_MATCH_PRIMARY_SOURCE_ACCEPTED_AUTHOR_DISAMBIGUATION | cc-by-nc-4.0 | Erika Mitchell | http://creativecommons.org/licenses/by-nc/4.0/ | [
0.046161238104104996,
-0.2200680822134018,
-0.20662212371826172,
0.8891505599021912,
0.40984106063842773,
-0.013260051608085632,
0.2825907766819,
-0.057134851813316345,
0.16909891366958618,
-0.34055644273757935,
0.4089832007884979,
-0.0984378308057785,
0.8052782416343689,
-0.43307557702064... | [
0.7092311382293701,
3.0884456634521484,
0.25927722454071045,
1.444980263710022,
1.4994258880615234,
0.5304321646690369,
-2.6646947860717773,
-0.030263781547546387,
-1.806005835533142,
-0.2041739821434021,
-0.7400093078613281,
1.447873592376709,
0.03987018018960953,
0.3658429980278015,
0.... | [
0.4474726617336273,
0.18428882956504822,
-0.1828937977552414,
0.5969431400299072,
0.5655208230018616,
-0.24166716635227203,
1.202436923980713,
-1.8381770849227905,
-0.03924664855003357,
-1.3176965713500977,
-0.9691423773765564,
-0.19796286523342133,
-0.14470341801643372,
-0.634919643402099... | ||
7665a747-f60a-4d13-bc40-20f3fd3ed0fe | Peromyscus | [
"bioclip-2",
"bioclip-2.5"
] | null | gbif | 4177250700 | Animalia | Chordata | Mammalia | Rodentia | Cricetidae | Peromyscus | Peromyscus Gloger, 1841 | null | iNaturalist.org | HUMAN_OBSERVATION | Citizen Science | EXACT_MATCH_PRIMARY_SOURCE_ACCEPTED_AUTHOR_DISAMBIGUATION | cc-by-nc-4.0 | not provided | http://creativecommons.org/licenses/by-nc/4.0/ | [
0.26649853587150574,
-0.10672225058078766,
-0.33116796612739563,
0.4120793342590332,
-0.16520445048809052,
-0.36419984698295593,
0.19839125871658325,
-0.7989016771316528,
0.07455749064683914,
-0.2874942421913147,
-0.17206978797912598,
-0.01848711259663105,
0.21755579113960266,
-0.303088426... | [
1.4213322401046753,
3.1589598655700684,
2.620786666870117,
-1.186420202255249,
2.095357894897461,
0.32355234026908875,
-3.074324369430542,
-0.28495484590530396,
-0.49111348390579224,
-1.909749984741211,
1.5876948833465576,
2.2639408111572266,
-2.9100630283355713,
-0.9732792973518372,
0.6... | [
0.25887537002563477,
0.2933847904205322,
0.8702137470245361,
0.0431852713227272,
1.3990811109542847,
-0.5187960863113403,
0.6986553072929382,
-2.386129140853882,
-0.0229252427816391,
-0.25827327370643616,
-0.9700171947479248,
-0.3486725091934204,
-0.5776844024658203,
-0.7772196531295776,
... | ||
2a54f999-dacb-4f41-b997-e135bc83c48d | Peromyscus | [
"bioclip-2",
"bioclip-2.5"
] | null | gbif | 4176927531 | Animalia | Chordata | Mammalia | Rodentia | Cricetidae | Peromyscus | Peromyscus Gloger, 1841 | null | iNaturalist.org | HUMAN_OBSERVATION | Citizen Science | EXACT_MATCH_PRIMARY_SOURCE_ACCEPTED_AUTHOR_DISAMBIGUATION | cc-by-nc-4.0 | not provided | http://creativecommons.org/licenses/by-nc/4.0/ | [-0.04828302562236786,-0.07768631726503372,0.053951624780893326,0.6801857352256775,-0.33645963668823(...TRUNCATED) | [0.36533623933792114,2.7765424251556396,1.8328421115875244,-0.3986263573169708,0.9838003516197205,-0(...TRUNCATED) | [0.5683387517929077,0.22054068744182587,-0.0077181607484817505,0.341325044631958,1.3585408926010132,(...TRUNCATED) | ||
dfd823c5-db0b-44cf-a610-9d886fbea9ff | Peromyscus | [
"bioclip-2",
"bioclip-2.5"
] | null | gbif | 4177066785 | Animalia | Chordata | Mammalia | Rodentia | Cricetidae | Peromyscus | Peromyscus Gloger, 1841 | null | iNaturalist.org | HUMAN_OBSERVATION | Citizen Science | EXACT_MATCH_PRIMARY_SOURCE_ACCEPTED_AUTHOR_DISAMBIGUATION | cc-by-nc-4.0 | eriemetroparks | http://creativecommons.org/licenses/by-nc/4.0/ | [0.26096978783607483,-0.28754180669784546,-0.335943341255188,0.322918176651001,-0.005403950810432434(...TRUNCATED) | [0.8584362268447876,2.7814149856567383,2.1347384452819824,-0.6592967510223389,1.0725083351135254,-0.(...TRUNCATED) | [0.24247372150421143,0.4235060214996338,0.2139386385679245,0.6275862455368042,1.4243018627166748,-0.(...TRUNCATED) | ||
be69d06f-3293-4249-87b4-c0b101398e1c | Peromyscus | [
"bioclip-2",
"bioclip-2.5"
] | null | gbif | 3325485325 | Animalia | Chordata | Mammalia | Rodentia | Cricetidae | Peromyscus | Peromyscus Gloger, 1841 | null | iNaturalist.org | HUMAN_OBSERVATION | Citizen Science | EXACT_MATCH_PRIMARY_SOURCE_ACCEPTED_AUTHOR_DISAMBIGUATION | cc-by-nc-4.0 | Kevin Meza | http://creativecommons.org/licenses/by-nc/4.0/ | [0.2654592990875244,0.2032281756401062,-0.35370850563049316,0.9682729244232178,0.14312228560447693,-(...TRUNCATED) | [1.1795694828033447,2.7374777793884277,2.6014187335968018,-0.1035824716091156,0.06687106937170029,-0(...TRUNCATED) | [-0.7537470459938049,0.5669025182723999,-0.22755731642246246,-0.6439040899276733,1.0194658041000366,(...TRUNCATED) | ||
09b1cc94-9137-41f2-b366-c10d5dcca191 | Peromyscus | [
"bioclip-2",
"bioclip-2.5"
] | null | gbif | 3456904989 | Animalia | Chordata | Mammalia | Rodentia | Cricetidae | Peromyscus | Peromyscus Gloger, 1841 | null | iNaturalist.org | HUMAN_OBSERVATION | Citizen Science | EXACT_MATCH_PRIMARY_SOURCE_ACCEPTED_AUTHOR_DISAMBIGUATION | cc-by-nc-4.0 | not provided | http://creativecommons.org/licenses/by-nc/4.0/ | [0.6573053002357483,-0.10797585546970367,-0.1766006499528885,0.46032631397247314,0.9512179493904114,(...TRUNCATED) | [1.9128493070602417,1.5597810745239258,2.4725449085235596,2.8034474849700928,0.26700860261917114,-1.(...TRUNCATED) | [-0.04066607356071472,0.11541080474853516,-0.988478422164917,-0.746369481086731,0.8121216297149658,0(...TRUNCATED) | ||
8a39e182-772b-4ab7-9177-38421443c271 | Peromyscus | [
"bioclip-2",
"bioclip-2.5"
] | null | gbif | 3398766358 | Animalia | Chordata | Mammalia | Rodentia | Cricetidae | Peromyscus | Peromyscus Gloger, 1841 | null | iNaturalist.org | HUMAN_OBSERVATION | Citizen Science | EXACT_MATCH_PRIMARY_SOURCE_ACCEPTED_AUTHOR_DISAMBIGUATION | cc-by-nc-4.0 | J. Burke Korol | http://creativecommons.org/licenses/by-nc/4.0/ | [0.32214784622192383,-0.05381340533494949,0.1446404755115509,0.6603442430496216,0.247470423579216,-0(...TRUNCATED) | [2.5262632369995117,1.504908561706543,1.5623689889907837,1.7882360219955444,0.9391708374023438,-0.30(...TRUNCATED) | [0.5409203767776489,-0.14943763613700867,-0.23481212556362152,-0.20451892912387848,1.628033280372619(...TRUNCATED) | ||
0d3ff9bb-f2b2-4594-a2de-156fb6a510d9 | Peromyscus | [
"bioclip-2",
"bioclip-2.5"
] | null | gbif | 4177216581 | Animalia | Chordata | Mammalia | Rodentia | Cricetidae | Peromyscus | Peromyscus Gloger, 1841 | null | iNaturalist.org | HUMAN_OBSERVATION | Citizen Science | EXACT_MATCH_PRIMARY_SOURCE_ACCEPTED_AUTHOR_DISAMBIGUATION | cc-by-nc-4.0 | eriemetroparks | http://creativecommons.org/licenses/by-nc/4.0/ | [0.2374257594347,-0.13616618514060974,-0.21125444769859314,0.2004445195198059,0.13839349150657654,-0(...TRUNCATED) | [0.5008360147476196,1.7137666940689087,2.357635498046875,0.4570053219795227,1.5010020732879639,0.359(...TRUNCATED) | [-0.2849227786064148,0.34199827909469604,0.074014812707901,0.6405055522918701,1.3782520294189453,0.2(...TRUNCATED) |
Fine-Grained Challenges
Groups of morphologically similar species for evaluating and tuning fine-grained classifiers on top of BioCLIP ecosystem model embeddings. Each group gathers species that are easily confused with one another, and the groups span several clades so a classifier can be probed on the distinctions that actually matter rather than on coarse taxonomy.
The corpus lives in a Lance dataset and can be acted on as a whole, on any single group independently, or on any single image. Images, embeddings from three BioCLIP model generations, taxonomic lineage, provenance, and search indexes all live in the same table:
data/challenges.lance/
Schema
| Column | Type | Meaning |
|---|---|---|
uuid |
string | stable image id |
challenge_group |
string | which group, e.g. Peromyscus, Trochilidae, Ixodidae, zebra |
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) |
species |
string | full binomial (Peromyscus maniculatus) if available, else null |
kingdom…genus, scientific_name |
string | taxonomy |
common_name |
string | common name if available, else null |
source_dataset, source_id, publisher, basisOfRecord, img_type, resolution_status |
string | record provenance |
source_url |
string | URL of the image (from TreeOfLife-200M provenance) |
license_name, license_link, copyright_owner |
string | per-image license + attribution (see Licensing) |
emb_bioclip |
fixed_size_list<float32>[512] | original BioCLIP embedding (IVF_PQ-indexed) |
emb_bioclip2 |
fixed_size_list<float32>[768] | BioCLIP 2 embedding (IVF_PQ-indexed) |
emb_bioclip2p5 |
fixed_size_list<float32>[1024] | BioCLIP 2.5 ViT-H/14 embedding (IVF_PQ-indexed) |
image |
binary | webp bytes (decode with PIL.Image.open(io.BytesIO(...))) |
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.
Embedding columns contain raw, unnormalized encoder output stored as float32. Normalize downstream when using cosine similarity or when an analysis requires unit-length features. Model repository IDs, revisions, dimensions, preprocessing, and software versions are recorded in data/challenges.embedding_models.json and in each embedding field's Arrow metadata.
Groups
Each group is a set of confusable species drawn from TreeOfLife-200M. Images are sampled at up to 100 per species with a fixed random seed, so classes stay roughly balanced; images that resolve only to a genus are kept as a separate bucket, also capped at 100.
| group | contents |
|---|---|
Peromyscus |
deermice and relatives |
Trochilidae |
hummingbirds |
Ixodidae |
hard ticks |
zebra |
the zebras of genus Equus (Equus quagga, zebra, grevyi, hartmannae) |
Every group here is drawn from the training corpus of the listed models, so seen_in_training is ["bioclip-2", "bioclip-2.5"] throughout. Held-out cohorts, marked seen_in_training = [], can be added to any group later without changing the schema.
Usage
Install: uv pip install pylance polars pillow
import lance
import polars as pl
URI = "hf://datasets/thompsonmj/test-fine-grained-challenges/data/challenges.lance"
ds = lance.dataset(URI) # scans remotely over hf://, no full download
# Groups present and their sizes
pl.from_arrow(ds.to_table(columns=["challenge_group"]))["challenge_group"].value_counts()
# One group independently (filter pushed down to only retrieve relevant rows and column projection to only retrieve relevant columns)
hummingbirds = ds.scanner(
filter="challenge_group = 'Trochilidae'",
columns=["uuid", "species", "emb_bioclip2p5"],
).to_table()
# Select by training exposure (unseen test set vs. seen in training)
unseen = ds.scanner(filter="array_length(seen_in_training) = 0").to_table()
seen_by_bioclip2 = ds.scanner(
filter="array_has(seen_in_training, 'bioclip-2')").to_table()
# Image bytes (raw webp), same pattern as the HF Lance image example
import io
from PIL import Image
row = ds.take([0], columns=["image", "species"]).to_pylist()[0]
img = Image.open(io.BytesIO(row["image"]))
# Materialize (i.e. download) a group locally for heavy/training use (avoids Hub rate limits)
lance.write_dataset(hummingbirds, "./Trochilidae.lance")
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 the emb_* columns). For example, count the images of one species without fetching any images or embeddings:
ds.count_rows(filter="species = 'Peromyscus maniculatus'")
Considerations for using this data
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:
| cohort | seen_in_training | meaning |
|---|---|---|
| the groups here (via TreeOfLife-200M) | ["bioclip-2", "bioclip-2.5"] |
in the training corpus of both models |
| held-out cohorts, e.g. camera-trap | [] |
novel to every listed model |
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.
Models referenced: bioclip, bioclip-2, and bioclip-2.5-vith14. The corresponding columns are emb_bioclip, emb_bioclip2, and emb_bioclip2p5.
Licensing and attribution
The dataset compilation (curation, metadata, embeddings, and indexes) is released under CC0-1.0, matching imageomics/TreeOfLife-200M. This does not relicense the images.
Each image keeps its own license, recorded in its row (license_name, license_link, copyright_owner) from TreeOfLife-200M's provenance.parquet.
No-derivatives (*-nd) licenses are excluded at build time, since the stored webp and embeddings are derivative works. Images whose license cannot be determined from provenance are excluded for the same reason. The remaining mix is mostly NonCommercial (*-nc-*), with some ShareAlike (*-sa-*), plain attribution, and public-domain images.
Use each image under its own license.
Per-license counts, computed from the data (URI as defined above):
import lance
import polars as pl
t = lance.dataset(URI).to_table(columns=["challenge_group", "license_name"])
pl.from_arrow(t).group_by(["challenge_group", "license_name"]).len() # license counts, per group
- Downloads last month
- 131