Sage Sci Perception maps scientific representations into a language model's input space, enabling natural-language analysis and structured scientific answers. Use it to explore interfaces between your scientific workflow and a language model: material property prediction, biomolecular sequence labeling, spectral structure identification, and signal classification.
Projectors are organized by modality, task, and language-model version. Start with the available checkpoints below, or use the
inference guide
to connect projected scientific inputs to a serving workflow. Each checkpoint records its matching language model and input representation in
config.json
.
Examples
Recorded views of scientific inputs, annotations, and task interfaces. Checkpoint evaluations are listed in
Released projectors
.
Three spectra → molecular structure
IR, Raman and UV–Vis with streamed analysis and a recorded prediction.
Protein interface sites
Sequence positions and reference residue-level annotations.
Crystal structure and formation energy
Atomic geometry and a reference material property.
RNA interface refinement
Design revisions guided by experimental feedback.
Released projectors
Open a task to browse its files, or download its weights and configuration directly. Additional modalities, tasks, and compatible language-model versions will be added as the project develops.
Scores come from generated answers using each task's selected checkpoint. Metrics differ across rows;
MAD/MAE is a ratio where higher is better
, rather than an error to minimize. MPBind uses the assembly-1 reconstructed evaluation set and mean per-protein F1; PSR uses mean Spearman. Each projector is trained for its respective task.
Inference
Our serving path inserts the projected scientific vectors into the language model's
full templated prompt embeddings
, then sends them to vLLM through
prompt_embeds
at
/v1/completions
. Text tokens use the matching language model's input embedding table; the scientific span uses the projector output. Scientific feature extraction and projection run in the client, while the language-model service generates the answer.
1. Prepare the weights and scientific inputs
The complete
crystal client example
implements feature projection, native chat-template rendering, text embedding lookup, scientific-span insertion, and the HTTP request. Download the example and loader modules, then select a projector through the repository index:
The download tool reads the root
config.json
to locate the selected projector and retrieves its configuration and weights from the same repository revision. Change the projector ID using the
component index
.
Prepare
cif_features.pt
as a PyTorch tensor of shape
[num_atoms, 64]
: the real CHGNet 0.3.0 atom states specified by
cif/jarvis/config.json
, in atom order. The local language-model directory must match the exact revision recorded in the checkpoint's
config.json
. The client reads its tokenizer, configuration, and sharded safetensors input embedding table without loading the full language model.
2. Start the vLLM server
In your inference environment, start a compatible vLLM server with
--enable-prompt-embeds
. Choose tensor parallelism for the selected model and your hardware; the command below shows an eight-way deployment example.
The transport core below is an excerpt from the client.
prompt_embeds
already includes the native system, user, and assistant-generation prefixes, with the projector vectors inserted in the scientific span:
The Completions endpoint consumes the assembled embeddings directly. Keep the checkpoint's system prompt, template options, and scientific input representation when preparing a request. The
component index
describes the currently available inputs; the crystal example uses its own task's format. See the
vLLM prompt embedding documentation
for the serving interface.
Scientific encoder weights and preprocessing runners are separate dependencies. Task-adapted scientific models for DNA, MPBind, and ncRNA are not yet included here. This inference example starts from prepared scientific features.
Optional: check projector loading on CPU
From the same downloaded directory, you can verify the projector's parameter count and output dimension on CPU without starting the language-model service:
from load_projector import load_projector
projector, config = load_projector(
"projectors/glm-5.3-flash/cif/jarvis", device="cpu"
)
print(config["task"])
print(sum(p.numel() for p in projector.parameters()))
print(config["output_dim"])
Expected output:
cif/jarvis
4314304
4096
For another task, pass its ID from the
component index
to the same download tool. Forward inputs vary by task; consult its scientific input description when preparing predictions.
Framework
A task-specific projector maps scientific features to the language model's embedding dimension. During the language-mapping stage, the scientific models and language model stay frozen while the projector is trained. Some tasks use scientific models that were adapted to their task beforehand, or combine encoder states with scientific readouts.
Feedback and next steps
For integration questions, missing assets, or examples you would like to see,
open a GitHub issue
. Include the task, your scientific input format, and the step you want to run. You can also use the
Hugging Face community tab
for release questions, or follow
InternLM
for updates.
License metadata has not yet been specified for this release.
Citation
If you use Sage-SciPerception in your work, please cite:
@misc{sage_sciperception,
author = {{InternLM}},
title = {{Sage-SciPerception}},
note = {GitHub repository},
year = {2026},
url = {https://github.com/InternLM/Sage-SciPerception}
}
Runs of internlm Sage-SciPerception on huggingface.co
808
Total runs
0
24-hour runs
39
3-day runs
157
7-day runs
808
30-day runs
More Information About Sage-SciPerception huggingface.co Model
Sage-SciPerception huggingface.co
Sage-SciPerception huggingface.co is an AI model on huggingface.co that provides Sage-SciPerception's model effect (), which can be used instantly with this internlm Sage-SciPerception model. huggingface.co supports a free trial of the Sage-SciPerception model, and also provides paid use of the Sage-SciPerception. Support call Sage-SciPerception model through api, including Node.js, Python, http.
Sage-SciPerception huggingface.co is an online trial and call api platform, which integrates Sage-SciPerception's modeling effects, including api services, and provides a free online trial of Sage-SciPerception, you can try Sage-SciPerception online for free by clicking the link below.
internlm Sage-SciPerception online free url in huggingface.co:
Sage-SciPerception is an open source model from GitHub that offers a free installation service, and any user can find Sage-SciPerception on GitHub to install. At the same time, huggingface.co provides the effect of Sage-SciPerception install, users can directly use Sage-SciPerception installed effect in huggingface.co for debugging and trial. It also supports api for free installation.