Downloads · 30 days
0
msiudek/astroPT_euclid_VIS_model
astroPT_euclid_VIS_model is a machine learning model from msiudek. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Pre-trained AstroPT model for single-band analysis using Euclid VIS imaging.
Downloads · 30 days
0
Access
Public
Updated Dec 5, 2025
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.pt1.1 GB · 100%
From the Hugging Face model README
Pre-trained AstroPT model for single-band analysis using Euclid VIS imaging.
This is a pre-trained checkpoint for the AstroPT framework, trained on Euclid VIS band imaging from the Euclid Q1 dataset.
Citation: Euclid Collaboration: Siudek, M et al. 2025 (arXiv:2503.15312)
import torch
from pathlib import Path
# Load model checkpoint
model_path = "astropt/090M/ckpt.pt"
device = "cuda" if torch.cuda.is_available() else "cpu"
# Load state dict
checkpoint = torch.load(model_path, map_location=device)
# Initialize your model architecture here
# model.load_state_dict(checkpoint)
from datasets import load_dataset
import torch
# Load dataset
dataset = load_dataset(
"msiudek/astroPT_euclid_dataset",
split="train_batch_1",
streaming=True
)
# Run inference
model.eval()
with torch.no_grad():
for sample in dataset:
vis_image = sample['VIS_image'] # 224×224
vis_image = torch.tensor(vis_image, dtype=torch.float32)
vis_image = vis_image.unsqueeze(0).unsqueeze(0) # [1, 1, 224, 224]
# Get embeddings
embeddings = model(vis_image)
For inference code, training scripts, and tutorials, visit the AstroPT GitHub Repository.
@article{Siudek2025,
title={AstroPT: Astronomical Physics Transformers for Multi-modal Learning},
author={Siudek, M and others},
journal={Euclid Collaboration},
eprint={2503.15312},
archivePrefix={arXiv},
year={2025},
url={https://ui.adsabs.harvard.edu/abs/2025arXiv250315312E/abstract}
}
CC-BY-4.0
Last Updated: December 2025
Model Version: 1.0