Downloads · 30 days
12
34% of all-time downloads
mskayacioglu/gz-decals-morphology-challenger
gz-decals-morphology-challenger is a image classification model from mskayacioglu. Use it when you need a label for an image. It is set up for pytorch. The card lists the license as cc-by-4.0.
This repository contains the frozen weights and calibration artifacts for a three-member EfficientNetV2-S ensemble trained to predict the ten-question Galaxy Zoo DECaLS GZD-5 morphology decision tree.
Downloads · 30 days
12
34% of all-time downloads
All-time downloads
35
Public
Repo size
245 MB
Likes
0
Public
Click a slice to open those files.
.pt245 MB · 100%
From the Hugging Face model README
This repository contains the frozen weights and calibration artifacts for a three-member EfficientNetV2-S ensemble trained to predict the ten-question Galaxy Zoo DECaLS GZD-5 morphology decision tree.
The model produces calibrated vote-fraction estimates, calibrated decision confidence, and Dirichlet posterior concentrations for 34 answers across ten conditional questions. It is a custom PyTorch model and is not directly compatible with the standard Transformers pipeline API.
Each member maps its 34 logits to positive concentrations using:
alpha = 1 + 99 * sigmoid(logit)
The model is intended for research inference on galaxy images comparable to the Galaxy Zoo DECaLS cutouts used during training. Appropriate uses include morphology catalogue construction, sample filtering, uncertainty-aware downstream analysis, and reproducibility studies.
This model is not intended for non-astronomical images, human-facing high-stakes decisions, or use without respecting the conditional Galaxy Zoo question tree.
The frozen deployment preprocessing is:
INTER_AREA.The exact configuration is stored in deployment_config.json.
The registered test population contains 49,917 galaxies. Evaluation required at least 34 root-question votes and a question relevance ratio of at least 0.5.
| Metric | Published 2021 reference | Challenger |
|---|---|---|
| Macro accuracy | 0.87973 | 0.89782 |
| Macro weighted F1 | 0.87356 | 0.89634 |
| Macro top-label ECE | Not reported | 0.01616 |
| Maximum question ECE | Not reported | 0.02935 |
| Credible coverage error | Not reported | 0.01594 |
The 95% galaxy-level bootstrap intervals were:
Weighted F1 improved on all ten questions. Frozen A100 inference processed 49,917 galaxies in 606.7 seconds, including all 24 ensemble/view components.
The benchmark gate passed, but this result is not a pristine independent confirmation. The project test split had been opened during an earlier discarded experiment before the challenger evaluation. Challenger training and calibration did not use test labels, so there is no direct train-test leakage into the published weights. A new external sample or untouched holdout is still required for a strict confirmatory claim.
No additional model selection or tuning should be performed against the reported test result.
hf download mskayacioglu/gz-decals-morphology-challenger \
--local-dir ./challenger_efficientnetv2s_v1
cd challenger_efficientnetv2s_v1
shasum -a 256 -c SHA256SUMS
For the Google Colab workflow, download the repository contents into:
/content/drive/MyDrive/gz-decals-morphology/models/challenger_efficientnetv2s_v1/
Then run 08_inference_challenger.ipynb from the source repository.
The .pt files are compact inference payloads containing a state dictionary and the metadata required by the project notebooks.
from pathlib import Path
import torch
from torch import nn
from torchvision.models import efficientnet_v2_s
model_dir = Path("challenger_efficientnetv2s_v1")
payload = torch.load(
model_dir / "challenger_member_seed_20260731.pt",
map_location="cpu",
weights_only=False,
)
model = efficientnet_v2_s(weights=None)
model.classifier[-1] = nn.Linear(
model.classifier[-1].in_features,
len(payload["label_columns"]),
)
model.load_state_dict(payload["model_state"])
model.eval()
PyTorch .pt files use pickle-based serialization. Only load weights obtained from this repository or another source you trust. Verify SHA256SUMS before loading.
Full ensemble inference also requires the moment-matching and calibration procedure implemented in the project inference notebook. A single member is not equivalent to the published ensemble.
challenger_member_seed_*.pt: three frozen EMA inference payloadschallenger_calibration_v1.json: frozen calibration transformationschallenger_ensemble_contract_v1.json: ensemble membership and component definitionchallenger_finalist_contract_v1.json: final deployment freezechallenger_final_result_contract_v1.json: final benchmark statuschallenger_preregistration_v1.json: registered challenger protocolbenchmark_contract_v2.json: frozen evaluation definition and target valueschallenger_final_test_report_v1.json: final metrics and uncertainty reportprediction_freeze_v1.json: label-free prediction freeze recorddeployment_config.json: portable preprocessing and output configurationlabel_columns.json: ordered 34-output label vectorquestion_schema.parquet: question-to-output sliceshub_manifest_v1.json: portable file mapping and canonical weight hashesSHA256SUMS: release integrity manifestThe original contracts are preserved byte-for-byte. Their model_path fields record the original Colab Drive location; portable consumers should use the corresponding filename from hub_manifest_v1.json.
Training, calibration, evaluation, and deployment notebooks are maintained at:
https://github.com/mskayacioglu/gz-decals-morphology
Frozen source revision: a0d6f0b86d6c3d42d886494947ee88963d060de3.
Training used the Galaxy Zoo DECaLS release:
Please cite the original Galaxy Zoo DECaLS paper and dataset when using this model.
The model release is provided under the Creative Commons Attribution 4.0 International license. See LICENSE.md. The original GZD-5 dataset is also distributed under CC BY 4.0 and retains its own attribution requirements.