Downloads · 30 days
0
UniverseTBD/astrobridge-model-v3_qwen
astrobridge-model-v3_qwen is a machine learning model from UniverseTBD. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
n-modality (image + spectra) astronomy captioner. LoRA adapter + fusion stack trained on top of a frozen Qwen/Qwen3.5-9B. The base model itself is NOT included here — load it fresh from Qwen/Qwen3.5-9B and apply this…
Downloads · 30 days
0
Access
Public
Updated Sep 6, 2026
Repo size
255 MB
Likes
0
Public
Click a slice to open those files.
.pt118 MB · 46%
From the Hugging Face model README
n-modality (image + spectra) astronomy captioner. LoRA adapter + fusion stack trained on top of
a frozen Qwen/Qwen3.5-9B. The base model itself is NOT included here — load it fresh from
Qwen/Qwen3.5-9B and apply this adapter on top.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
base = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen3.5-9B", dtype=torch.bfloat16, trust_remote_code=True
)
llm = PeftModel.from_pretrained(base, "UniverseTBD/astrobridge-model-v3_qwen")
tokenizer = AutoTokenizer.from_pretrained("UniverseTBD/astrobridge-model-v3_qwen")
# middle.pt (fusion stack: projectors/modality_identity/qformer/adapter) needs the captioner
# package's FusionStack class to reload — see captioner/model/captioner.py and
# captioner/train/stage1.py's run_stage1 for how it's constructed and wired to the LLM.
{
"per_modality": {
"image": {
"shuffle_test": {
"modality": "image",
"n": 29,
"mean_edit_distance": 475.3448275862069,
"null_result": false
},
"ablation_test": {
"modality": "image",
"n": 80,
"fraction_caption_changed": 1.0,
"null_result": false
}
},
"spectra": {
"shuffle_test": {
"modality": "spectra",
"n": 42,
"mean_edit_distance": 230.76190476190476,
"null_result": false
},
"ablation_test": {
"modality": "spectra",
"n": 92,
"fraction_caption_changed": 1.0,
"null_result": false
}
},
"lightcurve": {
"shuffle_test": {
"modality": "lightcurve",
"n": 6,
"mean_edit_distance": 215.83333333333334,
"null_result": false
},
"ablation_test": {
"modality": "lightcurve",
"n": 28,
"fraction_caption_changed": 1.0,
"null_result": false
}
}
}
}