AstroPTv3 160M β€” alpha-1 (step 19k)

⚠️ Alpha release. This is an early research release, not a finished production model. Weights, config format and loading code may still change, and downstream scientific tasks have not yet been benchmarked.

AstroPTv3 is a multimodal "large observation model" for astronomy: a decoder-only transformer backbone trained autoregressively over interleaved images, spectra and scalar catalogue values of the same object. Continuous tokens are modelled with per-modality normalising flows and Gaussian-mixture heads.

Relative to pre-alpha-3, this first alpha release keeps the same 160M backbone and 19k-step schedule while upgrading the DESI spectra and redshift stream from DESI EDR to DESI DR1 (hugging-science/mmu_desi_DR1, PR #109), shifting the Legacy Survey North:South anchor draw weight from 1:2 to 1:4 (PR #107), and updating galaxies-with-hats RGB to unified 4Γ—4Γ—3 patches on 96Γ—96 cutouts with pre_flow_noise_max=0.20 (PR #106, issue #108, PR #110). A matched 10M scaling sibling is published as Smith42/astroPT3-alpha-1-10m.

Checkpoint

Backbone 157.5M parameters (157,522,176): 25 layers, hidden size 768, 12 query / 4 KV heads, intermediate size 2048
Total parameters 386.0M (385,998,976), including the per-modality flows (219.3M, hidden 192, depth 4, 8 steps, 8 heads), encoders, decoders and position embeddings (9.2M)
Modalities 57: Legacy Survey North/South images (8Γ—8 patches on 96Γ—96, 1:4 anchor draw weight), HSC images (8Γ—8 on 96Γ—96), DESI DR1 and SDSS DR17 spectra (64-bin patches), galaxies-with-hats RGB (4Γ—4Γ—3 patches on 96Γ—96, pre_flow_noise_max=0.20), and catalogue scalars (7 catalogues, min_catalogs=3)
Training 19,000 steps (12.6 h on 4Γ—H200), global batch 128 Γ— 4096 tokens, 2.00B fresh non-padding tokens (~3.48M fresh object draws; 7.93B non-padding with 4Γ— echo; 9.96B raw with padding)
Optimiser AdamW (β₁=0.9, Ξ²β‚‚=0.95, wd=0.1), LR 3e-4, 2k-step warmup, cosine to 3e-5, seed 42, pre_flow_noise_max=0.20 on galaxies RGB (0 elsewhere), latent noise 0.1 β†’ 0.0
Precision bfloat16 safetensors
Code UniverseTBD/astroPTv3 @ a9b44e3
Logs W&B run r7vr8lfa
Sibling model Smith42/astroPT3-alpha-1-10m (matched 10M scaling run)

Usage

pip install "git+https://github.com/UniverseTBD/astroPTv3.git@a9b44e3716fda47ec99074f574385e802fa4e9fe#subdirectory=astro"
import astropt3  # registers the AstroPT3 Auto classes
from transformers import AutoModel

model = AutoModel.from_pretrained("Smith42/astroPT3-alpha-1-160m")

Intermediate checkpoints

All 29 Pythia-schedule checkpoints of the run are published as branches: early log-spaced steps step1, step2, step4, step8, step16, step32, step64, step128, step256, step512, and every 1k steps step1000, step2000, … step19000. main holds the same weights as step19000.

model = AutoModel.from_pretrained("Smith42/astroPT3-alpha-1-160m", revision="step10000")

The learning rate and latent-noise schedules run over the full 19k steps. Earlier checkpoints are therefore mid-schedule snapshots, not shorter converged runs.

Sampling

To sample, download a local copy (huggingface_hub.snapshot_download) and pass that directory to astro/scripts/generate.py --checkpoint <dir> in the code repository.

Known limitations

  • Early in training. The model saw 2.00B fresh non-padding tokens (~3.48M fresh object draws) across 19k steps.
  • Step-19k held-out validation snapshot (shared 256-object DESI DR1 panel; contains no HSC objects):
    • val/image_family_loss: -0.198 nats/dim (val/galaxies_loss: -74.12 per 48-dim token, or -1.544 nats/dim)
    • val/spectrum_family_loss: -0.658 nats/dim (val/spectra_loss: -36.77 DESI DR1, val/sdss_spectra_loss: -63.91)
    • val/scalar_family_loss: -0.844 (pulled up by an outlier in val/legacy_south_ebv_loss = +10.12; final training scalar_family_loss = -2.51, val/photometry_loss = -3.20, val/Z_loss = -2.25)
  • Scaling vs. 10M sibling. On the identical validation panel, this 160M checkpoint outperforms Smith42/astroPT3-alpha-1-10m across all three modality families (val/image_family_loss: -0.198 vs -0.144; val/spectrum_family_loss: -0.658 vs -0.617; val/scalar_family_loss: -0.844 vs +2.740).
  • No downstream evaluation yet. Downstream scientific tasks have not been benchmarked.

Updates and community

AstroPT is an open-to-all UniverseTBD project. Join the UniverseTBD Discord for updates: https://discord.gg/MNEVegvfJq

Downloads last month
-
Safetensors
Model size
0.4B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support