Skip to content

Add Midnight-12k-SPECTRA encoder - #20

Open
PaulScotti wants to merge 2 commits into
MICS-Lab:mainfrom
MedARC-AI:codex/add-midnight12k-spectra
Open

PaulScotti wants to merge 2 commits into
MICS-Lab:mainfrom
MedARC-AI:codex/add-midnight12k-spectra

Conversation

@PaulScotti

@PaulScotti PaulScotti commented Oct 24, 2026 •

Copy link
Copy Markdown

Adds Midnight-12k-SPECTRA from MedARC and Sophont as midnight12k_spectra.

Loads the complete merged weights with the model card's preprocessing. Classification uses 3,072-dimensional concatenated CLS and mean-pooled patch features; segmentation uses 1,536-dimensional patch features, excluding the CLS token.

Evaluate with the standard THUNDER workflow:

thunder download-models midnight12k_spectra
sbatch scripts/benchmark_all_tasks.sh midnight12k_spectra

Validated the released checkpoint offline in FP32 with Transformers 5.15.1: preprocessing, pooled and dense embeddings, and nonzero input gradients.

@PaulScotti
PaulScotti marked this pull request as ready for review October 24, 2026 16:47

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant