Downloads · 30 days
14
8% of all-time downloads
brunoasm/Cicindela_Platydracus_ID_FMNH
Cicindela_Platydracus_ID_FMNH is a machine learning model from brunoasm. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for fastai. The card lists the license as apache-2.0.
A multilabel deep-learning model that jointly identifies Cicindela tiger beetles (Cicindelidae) and Platydracus rove beetles (Staphylinidae) from images of pinned museum specimens. The model predicts a hierarchical la…
Downloads · 30 days
14
8% of all-time downloads
All-time downloads
179
Public
Repo size
4.9 GB
Likes
0
Public
Click a slice to open those files.
.pkl1.2 GB · 50%
From the Hugging Face model README
A multilabel deep-learning model that jointly identifies Cicindela tiger beetles (Cicindelidae) and Platydracus rove beetles (Staphylinidae) from images of pinned museum specimens. The model predicts a hierarchical label set covering genus, species group (Platydracus only), species, and subspecies simultaneously.
Built on EVA-02 Large (448 px) from timm with a shared backbone and three classification heads:
Training used single-label pretraining followed by multi-label fine-tuning with AsymmetricLoss and square-root inverse-frequency weighted sampling. Mixed precision (fp16) on 2 GPUs.
327 labels total organized in a four-level hierarchy:
| Level | Count | Rule | Example |
|---|---|---|---|
| Genus | 2 | Capitalized | Cicindela, Platydracus |
| Species group | 14 | Contains group_ | platydracusgroup_femoratus |
| Species | 201 | One underscore after prefix | cicindela_repanda, platydracus_angusticeps |
| Subspecies | 110 | Two or more underscores | cicindela_repanda_repanda |
Species groups are defined only for Platydracus (14 morphologically diagnosable groups). See vocab.json for the full label list.
Identification of pinned Cicindela and Platydracus specimens from drawer-scan images generated by DrawerDissect. See the citation below for full dataset and method details.
Metrics on the held-out test set (specimen-weighted, excluding genus-level labels):
| Genus | Level | Terms | Specimens | Precision | Recall | F1 |
|---|---|---|---|---|---|---|
| Cicindela | species | 115 | 829 | 96.8% | 93.7% | 95.2% |
| Cicindela | subspecies | 80 | 468 | 87.1% | 82.5% | 84.7% |
| Cicindela | overall | 195 | 1297 | 93.3% | 89.7% | 91.5% |
| Platydracus | species group | 14 | 230 | 98.7% | 96.1% | 97.4% |
| Platydracus | species | 59 | 230 | 91.4% | 88.3% | 89.8% |
| Platydracus | subspecies | 3 | 30 | 100.0% | 90.0% | 94.7% |
| Platydracus | overall | 76 | 490 | 95.3% | 92.0% | 93.7% |
| All | overall | 271 | 1787 | 93.9% | 90.3% | 92.1% |
Load the FastAI learner directly (requires the same fastai environment and the MultiHeadBeetleModel class from the training notebook):
from huggingface_hub import from_pretrained_fastai
learn = from_pretrained_fastai("brunoasm/Cicindela_Platydracus_ID_FMNH")
Inference follows standard fastai conventions. The genus head routes each specimen to the appropriate species-level head automatically.
Images of pinned museum specimens generated using DrawerDissect on Field Museum collections. See the citation for details.
Postema, E. G., Briscoe, L., Harder, C., Hancock, G. R. A., Guarnieri, L. D., Eisel, T., Welch, K., Fischer, N., Johnson, C., de Souza, D., Phillip, D., Baquiran, R., Sepulveda, T., & de Medeiros, B. A. S. (2025). DrawerDissect: Whole-drawer insect imaging, segmentation, and transcription using AI. EcoEvoRxiv. https://doi.org/10.32942/X2QW84
Bruno de Medeiros, Negaunee Assistant Curator of Pollinating Insects, Field Museum