Downloads · 30 days
0
arajgor1/cosmufr-v09
cosmufr-v09 is a other model from arajgor1. Use it for the other task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
124M-parameter cosmological emulator using Unified Field Representation (UFR) belief-state dynamics. Trained on 84M simulations from 9 cosmological suites.
Downloads · 30 days
0
Access
Public
Updated Apr 14, 2026
Repo size
545 MB
Likes
0
Public
Click a slice to open those files.
.pt545 MB · 100%
From the Hugging Face model README
124M-parameter cosmological emulator using Unified Field Representation (UFR) belief-state dynamics. Trained on 84M simulations from 9 cosmological suites.
No attention, no transformers — pure energy-minimizing belief settling across 16 gradient descent steps.
Given log P(k) at z=0 and z=0.47 as input (400d total), CosmUFR infers all 8 cosmological parameters simultaneously with calibrated per-parameter uncertainties.
| Param | Description | R² (val) | Status |
|---|---|---|---|
Om | Omega_m matter density | 0.907 | GREEN |
s8 | sigma_8 power spectrum amplitude | 0.911 | GREEN |
h | h Hubble constant | 0.604 | GREEN |
wa | w_a CPL dark energy | 0.187 | YELLOW |
w0 | w_0 dark energy EoS | 0.742 | YELLOW |
mv | Sigma_mv neutrino mass sum (eV) | 0.410 | YELLOW |
ns | n_s spectral index | 0.353 | YELLOW |
Ob | Omega_b baryon density | 0.406 | YELLOW |
Val metrics from 422K samples (live training monitor). Final 50K stratified test eval pending.
gs://cosmufr-training/checkpoints/v10/b200-b4096-run4-20260414_031247/belief_proposal (joint) and belief_proposal_seq (seq) are
separate modules — eliminates gradient interference that caused h oscillationb_prev or b_hatimport torch
from huggingface_hub import hf_hub_download
from model.cosmufr_arch import CosmUFRLite
from model.cosmufr_config import CosmUFRConfig
cfg = CosmUFRConfig()
model = CosmUFRLite(cfg)
ckpt = hf_hub_download("arajgor1/cosmufr-v09", "best.pt")
state = torch.load(ckpt, map_location="cpu", weights_only=False)
model.load_state_dict(state["model"])
model.eval()
# obs: [B, 400] — concat log10 P(k) at z=0 and z=0.47 (200 k-modes each)
obs = torch.randn(1, 400)
b_prev = torch.zeros(1, cfg.d_b)
out = model(obs, b_prev)
print("Params:", dict(zip(['Om','s8','h','ns','Ob','w0','mv','wa'],
out['params'][0].tolist())))
print("1-sigma:", out['variances'][0].sqrt().tolist())
@misc{cosmufr2026,
title = {CosmUFR v0.9: Belief-State Cosmological Emulator},
author = {Rajgor, Aaditya},
year = {2026},
url = {https://huggingface.co/arajgor1/cosmufr-v09}
}