config.json
Schema for released sage-projector-v1 checkpoint configurations and TrainKit exports.
Every released component directory contains projector.safetensors and a config.json following format_version: "sage-projector-v1".
Top-level fields
| Field | Description |
|---|---|
format_version | Schema identifier, currently "sage-projector-v1". |
component_type | Component kind, "scientific_projector". |
task | Task identifier matching the repository index (e.g., "cif/jarvis", "eeg/neu06"). |
weights | Weight filename in the same directory, "projector.safetensors". |
projector | Architecture specification read by modeling_projector.build (see below). |
output_dim | Target language-model embedding width (e.g., 4096). |
base_model | Object with repo_id, revision, dtype, and training_fingerprint. |
prompt | Prompt rendering layout: system, names, template_kwargs, include_reasoning, and atom_numbering. |
scientific_inputs | Array of input specs with encoder, preprocessing, representation (feature_dim, modality, rows, maximum_tokens), scientific_readout, and side_features_per_object. |
training_step | Integer training step of the exported checkpoint. |
training | Optional provenance block written by TrainKit exports (step, export, xtuner_revision, initialized_from, trainable_parameters, learning rate, sizing, manifest revision, and dataset.json / features.json provenance). |
projector block fields
All nine currently released checkpoints use kind: "atom". Across the released checkpoints and modeling_projector.build, the following fields apply:
| Field | Scope | Description |
|---|---|---|
id | Common (atom) | Architecture identifier (e.g., "scientific-cif-positions"). |
kind | Common | "atom", "atom-set", or lead projector fallback when neither is set. |
modality | Common (atom) | Modality identifier (e.g., "cif", "eeg", "spectra"). |
feature_dim | Common | Input scientific feature dimension per token or atom. |
tokens | Lead / atom | null for atom checkpoints; integer slot count for LeadProjector. |
hidden_dim | Common (atom / Lead) | Hidden width of the MLP stack. |
index_dim | Common (atom / atom-set) | Learned positional embedding width (atom_index). |
max_atoms | Common (atom / atom-set) | Maximum number of position slots in atom_index. |
discrete_sizes, discrete_dim | Optional (atom) | Per-atom discrete embedding table sizes and embedding dimension (e.g., spectra/qm9s: [3], 16). |
side_dim, side_hidden_dim | Optional (atom) | Per-object side-feature width and MLP hidden width (e.g., protein-seq/mpbind: 2 / 128; rna/ncrna: 13 / 128). |
task_head_outputs | Optional | Auxiliary head output width (protein-seq/mpbind and protein-struct/psr: 1). |
readout_classes, readout_uses_side | Optional (atom) | Pretrained scientific classification readout count and side-channel flag (protein-seq/mpbind: 1, false). |
output_scale, depth, block_mult, block_exit_norm | Optional | Output L2 norm scaling and residual MLP block options. |
graph_layers, graph_hidden_dim | Optional (atom) | Bond-message residual layers over graph edges and bond types. |
context_layers, context_dim, context_heads | Optional (atom) | Per-object Transformer context residual options. |
model_dim, layers, heads, ffn_dim | atom-set | Transformer encoder parameters for AtomSetProjector. |