<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Sage-SciPerception</title><link>https://internlm.github.io/Sage-SciPerception/zh/</link><description>Recent content on Sage-SciPerception</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Tue, 01 Dec 2026 09:21:52 +0800</lastBuildDate><atom:link href="https://internlm.github.io/Sage-SciPerception/zh/index.xml" rel="self" type="application/rss+xml"/><item><title>让九项科学基准评测可复现</title><link>https://internlm.github.io/Sage-SciPerception/zh/blog/reproducible-scientific-evaluation/</link><pubDate>Sun, 29 Nov 2026 00:00:00 +0000</pubDate><dc:creator>书生·浦语（InternLM）</dc:creator><guid>https://internlm.github.io/Sage-SciPerception/zh/blog/reproducible-scientific-evaluation/</guid><description>&lt;p&gt;EvalKit 从 SciTS NEU06 睡眠分期起步，如今通过同一个 &lt;code&gt;scip-eval score&lt;/code&gt; 命令提供九个数据集 ID。各数据集实现负责自己的参考集、答案规则和指标。评分器按 ID 将参考答案和 JSONL 预测记录对齐，再写出逐条结果和汇总报告。&lt;/p&gt;</description></item><item><title>九种模态共用一套投影模块训练流程</title><link>https://internlm.github.io/Sage-SciPerception/zh/blog/nine-modality-projector-training/</link><pubDate>Sun, 29 Nov 2026 00:00:00 +0000</pubDate><dc:creator>书生·浦语（InternLM）</dc:creator><guid>https://internlm.github.io/Sage-SciPerception/zh/blog/nine-modality-projector-training/</guid><description>&lt;p&gt;九种已发布投影模块共用 &lt;code&gt;atom&lt;/code&gt; 架构，各任务具有自己的特征宽度和可选组件。首个公开的 TrainKit 配方用于训练 NEU06 睡眠分期投影模块。通用配方将同一训练接口扩展到九种模态，同时保留严格的 NEU06 配方。&lt;/p&gt;</description></item><item><title>2026 年 11 月 main 分支里程碑</title><link>https://internlm.github.io/Sage-SciPerception/zh/release/2026-11-main/</link><pubDate>Sun, 29 Nov 2026 00:00:00 +0000</pubDate><dc:creator>书生·浦语（InternLM）</dc:creator><guid>https://internlm.github.io/Sage-SciPerception/zh/release/2026-11-main/</guid><description>&lt;p&gt;本里程碑记录 &lt;a href="https://internlm.github.io/Sage-SciPerception/zh/release/0.1.0/"&gt;v0.1.0&lt;/a&gt; 之后公开 &lt;code&gt;main&lt;/code&gt; 分支与配套网站文档的更新。各条目链接到对应的提交和拉取请求。&lt;/p&gt;&#10;&lt;h2 id="许可证与首批公开软件包"&gt;许可证与首批公开软件包&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;为仓库添加 Apache License 2.0 许可证。&lt;a href="https://github.com/InternLM/Sage-SciPerception/commit/4b3307860c9c4b6872dcaa4c27aa53a7a9c623f0"&gt;提交 4b33078&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;公开 EvalKit，提供首个 SciTS NEU06 评测协议、CPU 评分及生成示例。&lt;a href="https://github.com/InternLM/Sage-SciPerception/commit/834e2daf31342ccd0fa3bf53191ca8e84bff1219"&gt;提交 834e2da&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;公开 TrainKit，提供基于 XTuner 的 NEU06 投影模块训练配方。&lt;a href="https://github.com/InternLM/Sage-SciPerception/commit/cd136ec7d9f3a1bfe2cacf19cfcdceb62faa4309"&gt;提交 cd136ec&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="测试与九种模态支持"&gt;测试与九种模态支持&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;添加 GitHub Actions CI 和根目录的投影模块 CPU 测试，之后扩充 CPU 测试的依赖覆盖并更新评测文档。&lt;a href="https://github.com/InternLM/Sage-SciPerception/pull/1"&gt;PR #1&lt;/a&gt;、&lt;a href="https://github.com/InternLM/Sage-SciPerception/pull/3"&gt;PR #3&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;将 TrainKit 及共享的投影模块和提示词代码扩展到九种 &lt;code&gt;atom&lt;/code&gt; 模态。&lt;a href="https://github.com/InternLM/Sage-SciPerception/pull/2"&gt;PR #2&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;在网站上更新九种模态的 TrainKit 配方和多对象提示词输入说明。&lt;a href="https://github.com/InternLM/Sage-SciPerception/pull/4"&gt;PR #4&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;在 EvalKit 中加入全部九个数据集、变长提示词会话，并扩充 CI 覆盖。&lt;a href="https://github.com/InternLM/Sage-SciPerception/pull/5"&gt;PR #5&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;更新仓库结果表，并在 &lt;code&gt;homepage&lt;/code&gt; 分支同步网站的数据集和命令行文档。&lt;a href="https://github.com/InternLM/Sage-SciPerception/pull/6"&gt;PR #6&lt;/a&gt;、&lt;a href="https://github.com/InternLM/Sage-SciPerception/pull/7"&gt;PR #7&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>通过提示词嵌入接入科学输入</title><link>https://internlm.github.io/Sage-SciPerception/zh/blog/prompt-embeds-serving-architecture/</link><pubDate>Wed, 18 Nov 2026 00:00:00 +0000</pubDate><dc:creator>书生·浦语（InternLM）</dc:creator><guid>https://internlm.github.io/Sage-SciPerception/zh/blog/prompt-embeds-serving-architecture/</guid><description>&lt;p&gt;公开的晶体示例将 CHGNet 原子状态映射到 GLM-5.3-Flash 文本词元所在的嵌入空间。投影在客户端完成，原版 vLLM 服务可以通过现有的 &lt;code&gt;prompt_embeds&lt;/code&gt; 接口接收结果。新增任务可使用自己的科学表征和投影模块配置，同时沿用同一个语言模型端点。&lt;/p&gt;</description></item><item><title>Sage-SciPerception v0.1.0</title><link>https://internlm.github.io/Sage-SciPerception/zh/release/0.1.0/</link><pubDate>Fri, 06 Nov 2026 00:00:00 +0000</pubDate><dc:creator>书生·浦语（InternLM）</dc:creator><guid>https://internlm.github.io/Sage-SciPerception/zh/release/0.1.0/</guid><description>&lt;div class="td-release-card-static"&gt;&#10; &lt;p&gt;&lt;strong&gt;v0.1.0&lt;/strong&gt; · &lt;time datetime="2026-11-06"&gt;2026-11-06&lt;/time&gt;&lt;/p&gt;&#10; &lt;ul&gt;&#10; &lt;li&gt;&lt;a href="https://github.com/InternLM/Sage-SciPerception/releases/tag/v0.1.0"&gt;查看版本&lt;/a&gt;&lt;/li&gt;&#10; &lt;li&gt;&lt;a href="https://github.com/InternLM/Sage-SciPerception/archive/refs/tags/v0.1.0.tar.gz"&gt;源码 · tar.gz&lt;/a&gt;&lt;/li&gt;&#10; &lt;li&gt;&lt;a href="https://github.com/InternLM/Sage-SciPerception/archive/refs/tags/v0.1.0.zip"&gt;源码 · zip&lt;/a&gt;&lt;/li&gt;&#10; &lt;li&gt;&lt;a href="https://github.com/InternLM/Sage-SciPerception"&gt;InternLM/Sage-SciPerception&lt;/a&gt;&lt;/li&gt;&#10; &lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;首次公开发布将 Git 标签 &lt;code&gt;v0.1.0&lt;/code&gt; 与 &lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/7c228fc03394027fed19bda1ff26388394b0031a"&gt;Hugging Face 快照 &lt;code&gt;7c228fc03394027fed19bda1ff26388394b0031a&lt;/code&gt;&lt;/a&gt; 配对。通过标签获取对应源码，通过快照获取组件索引、配置和权重。&lt;/p&gt;&#10;&lt;h2 id="发布内容"&gt;发布内容&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;九个面向 GLM-5.3-Flash 的任务专用投影模块。每个组件提供 &lt;code&gt;config.json&lt;/code&gt; 和 &lt;code&gt;projector.safetensors&lt;/code&gt;，&lt;a href="https://internlm.github.io/Sage-SciPerception/zh/blog/introducing-sage-sciperception/#published-results"&gt;发布得分&lt;/a&gt;列出了各检查点的成绩。&lt;/li&gt;&#10;&lt;li&gt;投影模块实现与加载工具、使用 vLLM &lt;code&gt;prompt_embeds&lt;/code&gt; 的 CIF 推理示例、双语项目文档与引用元数据。&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Apache 2.0 许可证元数据、EvalKit 与 TrainKit 软件包在打标签后合入 &lt;code&gt;main&lt;/code&gt;，详见&lt;a href="https://internlm.github.io/Sage-SciPerception/zh/release/2026-11-main/"&gt;十一月里程碑&lt;/a&gt;。&lt;/p&gt;</description></item><item><title>Sage-SciPerception 项目介绍</title><link>https://internlm.github.io/Sage-SciPerception/zh/blog/introducing-sage-sciperception/</link><pubDate>Fri, 06 Nov 2026 00:00:00 +0000</pubDate><dc:creator>书生·浦语（InternLM）</dc:creator><guid>https://internlm.github.io/Sage-SciPerception/zh/blog/introducing-sage-sciperception/</guid><description>&lt;p&gt;Sage-SciPerception v0.1.0 发布了九个面向 GLM-5.3-Flash 的任务专用投影模块检查点、对应配置，以及公开的权重加载与晶体推理代码。每个模块接收科学编码器或预处理流程产生的特征，将它们映射到语言模型的输入空间。晶体、谱图、生物序列和生理信号的特征可以通过同一推理接口传入模型。&lt;/p&gt;</description></item><item><title>蛋白质结构排序（ATOM3D PSR）</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/protein-struct-psr/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/protein-struct-psr/</guid><description>&lt;p&gt;任务专用投影模块将本任务的科学表示映射到语言模型的嵌入空间。&lt;/p&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;字段&lt;/th&gt;&#10; &lt;th scope="col"&gt;值&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;任务 ID&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;glm-5.3-flash/protein-struct/psr&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学编码器&lt;/td&gt;&#10; &lt;td&gt;ProteinMPNN v48-020&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学输入&lt;/td&gt;&#10; &lt;td&gt;每个残基或分箱一个 384 维状态：拼接三个编码器层，再取至多 256 个连续均值分箱。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;指标&lt;/td&gt;&#10; &lt;td&gt;Spearman（%）&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;得分&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;35.36&lt;/strong&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;训练步数&lt;/td&gt;&#10; &lt;td&gt;200&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;权重&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/protein-struct/psr"&gt;Hugging Face 文件&lt;/a&gt; · &lt;a href="https://huggingface.co/internlm/Sage-SciPerception/blob/main/projectors/glm-5.3-flash/protein-struct/psr/config.json"&gt;配置&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;该成绩为平均 Spearman 相关系数。&lt;/p&gt;</description></item><item><title>晶系分类（SimXRD OL）</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/xrd-simxrd/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/xrd-simxrd/</guid><description>&lt;p&gt;任务专用投影模块将本任务的科学表示映射到语言模型的嵌入空间。&lt;/p&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;字段&lt;/th&gt;&#10; &lt;th scope="col"&gt;值&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;任务 ID&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;glm-5.3-flash/xrd/simxrd&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学编码器&lt;/td&gt;&#10; &lt;td&gt;早期 XRD 卷积网络&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学输入&lt;/td&gt;&#10; &lt;td&gt;110 个 512 维卷积状态，来自归一化的 3,501 点平方根输入流程。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;指标&lt;/td&gt;&#10; &lt;td&gt;准确率（%）&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;得分&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;63.60&lt;/strong&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;训练步数&lt;/td&gt;&#10; &lt;td&gt;500&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;权重&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/xrd/simxrd"&gt;Hugging Face 文件&lt;/a&gt; · &lt;a href="https://huggingface.co/internlm/Sage-SciPerception/blob/main/projectors/glm-5.3-flash/xrd/simxrd/config.json"&gt;配置&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;说明&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;该 checkpoint 的 &lt;code&gt;config.json&lt;/code&gt; 声明了架构、输出维度、科学输入、提示词、底座版本与训练步数。&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>RNA 家族分类（BEACON ncRNA）</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/rna-ncrna/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/rna-ncrna/</guid><description>&lt;img class="td-image" src="https://raw.githubusercontent.com/InternLM/Sage-SciPerception/main/assets/rna-iterations-zh.gif" alt="RNA 家族分类（BEACON ncRNA）" loading="lazy" decoding="async"&gt;&lt;p&gt;任务专用投影模块将本任务的科学表示映射到语言模型的嵌入空间。&lt;/p&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;字段&lt;/th&gt;&#10; &lt;th scope="col"&gt;值&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;任务 ID&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;glm-5.3-flash/rna/ncrna&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学编码器&lt;/td&gt;&#10; &lt;td&gt;RNA-FM，外加任务适配的 RiNALMo 集成读出&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学输入&lt;/td&gt;&#10; &lt;td&gt;每个核苷酸一个 640 维 RNA-FM 状态，以及 13 维侧输入。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;指标&lt;/td&gt;&#10; &lt;td&gt;准确率（%）&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;得分&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;97.35&lt;/strong&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;训练步数&lt;/td&gt;&#10; &lt;td&gt;200&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;权重&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/rna/ncrna"&gt;Hugging Face 文件&lt;/a&gt; · &lt;a href="https://huggingface.co/internlm/Sage-SciPerception/blob/main/projectors/glm-5.3-flash/rna/ncrna/config.json"&gt;配置&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;本任务的适配科学权重未随本次发布提供。&lt;/p&gt;</description></item><item><title>睡眠分期（SciTS NEU06）</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/eeg-neu06/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/eeg-neu06/</guid><description>&lt;p&gt;任务专用投影模块将本任务的科学表示映射到语言模型的嵌入空间。&lt;/p&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;字段&lt;/th&gt;&#10; &lt;th scope="col"&gt;值&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;任务 ID&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;glm-5.3-flash/eeg/neu06&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学编码器&lt;/td&gt;&#10; &lt;td&gt;REVE-base，配置中声明了位置与尾窗处理&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学输入&lt;/td&gt;&#10; &lt;td&gt;512 维片段状态，以及配套的电极与时间位置。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;指标&lt;/td&gt;&#10; &lt;td&gt;宏平均 F1（%）&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;得分&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;72.01&lt;/strong&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;训练步数&lt;/td&gt;&#10; &lt;td&gt;4688&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;权重&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/eeg/neu06"&gt;Hugging Face 文件&lt;/a&gt; · &lt;a href="https://huggingface.co/internlm/Sage-SciPerception/blob/main/projectors/glm-5.3-flash/eeg/neu06/config.json"&gt;配置&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;这是首个提供端到端指南的任务：见&lt;a href="https://internlm.github.io/Sage-SciPerception/zh/docs/guides/evaluation/"&gt;评测&lt;/a&gt;与 &lt;a href="https://github.com/InternLM/Sage-SciPerception/blob/main/examples/neu06/README.md"&gt;NEU06 示例&lt;/a&gt;，后者还覆盖从原始脑电提取特征；EvalKit 现已注册全部九个已发布任务。它也是首个 &lt;a href="https://internlm.github.io/Sage-SciPerception/zh/docs/guides/training/"&gt;TrainKit&lt;/a&gt; 配方；TrainKit 现已支持训练全部已发布的投影模块模态。&lt;/p&gt;</description></item><item><title>训练投影模块并扩展评测</title><link>https://internlm.github.io/Sage-SciPerception/zh/book/05-training-new-modality/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/book/05-training-new-modality/</guid><description>&lt;p&gt;TrainKit 使用预先提取的特征，在冻结的 GLM-5.3-Flash 主干上训练投影模块。XTuner 提供训练器、FSDP、样本打包、优化器和损失计算。TrainKit 负责构建提示词和监督掩码，并将投影后的载荷插入打包序列。&lt;/p&gt;</description></item><item><title>剪接位点分类（GUE splice）</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/dna-splice/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/dna-splice/</guid><description>&lt;p&gt;任务专用投影模块将本任务的科学表示映射到语言模型的嵌入空间。&lt;/p&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;字段&lt;/th&gt;&#10; &lt;th scope="col"&gt;值&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;任务 ID&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;glm-5.3-flash/dna/splice&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学编码器&lt;/td&gt;&#10; &lt;td&gt;任务适配的 DNABERT-2&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学输入&lt;/td&gt;&#10; &lt;td&gt;一个 3 维概率读出。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;指标&lt;/td&gt;&#10; &lt;td&gt;MCC（%）&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;得分&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;87.87&lt;/strong&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;训练步数&lt;/td&gt;&#10; &lt;td&gt;50&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;权重&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/dna/splice"&gt;Hugging Face 文件&lt;/a&gt; · &lt;a href="https://huggingface.co/internlm/Sage-SciPerception/blob/main/projectors/glm-5.3-flash/dna/splice/config.json"&gt;配置&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;本任务的适配科学权重未随本次发布提供。&lt;/p&gt;</description></item><item><title>整体框架</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/framework/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/framework/</guid><description>&lt;img class="td-image" src="https://raw.githubusercontent.com/InternLM/Sage-SciPerception/main/assets/framework-zh.gif" alt="科学输入经科学表征与可训练投影模块，接入语言模型。" loading="lazy" decoding="async"&gt;&lt;p&gt;书生·元征将科学编码器状态、谱图片段与科学读出映射到语言模型的输入嵌入，使其能够生成自然语言分析和结构化科学答案。&lt;/p&gt;&#10;&lt;p&gt;任务专用投影模块把科学表示映射到语言模型的嵌入空间。在语言映射训练中，科学模型与语言模型保持冻结，只训练投影模块。部分任务使用事先适配过的科学模型，或将编码器状态与科学读出结合。&lt;/p&gt;</description></item><item><title>许可证与引用</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/reference/license-citation/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/reference/license-citation/</guid><description>&lt;h2 id="license"&gt;许可证&#10;&lt;/h2&gt;&#10;&lt;p&gt;书生·元征（Sage-SciPerception）采用 &lt;strong&gt;Apache License 2.0&lt;/strong&gt;（&lt;code&gt;Apache-2.0&lt;/code&gt;）开源。完整条款见仓库根目录的 &lt;a href="https://github.com/InternLM/Sage-SciPerception/blob/main/LICENSE"&gt;&lt;code&gt;LICENSE&lt;/code&gt;&lt;/a&gt;。&lt;/p&gt;</description></item><item><title>使用 EvalKit 完成端到端评测</title><link>https://internlm.github.io/Sage-SciPerception/zh/book/04-end-to-end-eval/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/book/04-end-to-end-eval/</guid><description>&lt;p&gt;SciTS NEU06 的评测流程从原始脑电开始，先提取 REVE-base 特征，再经已发布的脑电投影模块生成 GLM 输出。EvalKit 将保存的答案与固定参考集关联，并在 CPU 上评分。生成和评分共用 &lt;code&gt;eval_id&lt;/code&gt;，该数据集使用 &lt;code&gt;NEU06:&lt;/code&gt; 前缀。&lt;/p&gt;</description></item><item><title>心电分类（SciTS PHU01）</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/ecg-phu01/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/ecg-phu01/</guid><description>&lt;p&gt;任务专用投影模块将本任务的科学表示映射到语言模型的嵌入空间。&lt;/p&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;字段&lt;/th&gt;&#10; &lt;th scope="col"&gt;值&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;任务 ID&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;glm-5.3-flash/ecg/phu01&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学编码器&lt;/td&gt;&#10; &lt;td&gt;心电编码器与缓存流程；组件索引未给出编码器版本&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学输入&lt;/td&gt;&#10; &lt;td&gt;768 维缓存位置特征。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;指标&lt;/td&gt;&#10; &lt;td&gt;宏平均 F1（%）&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;得分&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;71.53&lt;/strong&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;训练步数&lt;/td&gt;&#10; &lt;td&gt;1068&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;权重&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/ecg/phu01"&gt;Hugging Face 文件&lt;/a&gt; · &lt;a href="https://huggingface.co/internlm/Sage-SciPerception/blob/main/projectors/glm-5.3-flash/ecg/phu01/config.json"&gt;配置&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;本任务的特征提取脚本未随本次发布提供。&lt;/p&gt;</description></item><item><title>通过 vLLM 部署科学投影</title><link>https://internlm.github.io/Sage-SciPerception/zh/book/03-vllm-serving/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/book/03-vllm-serving/</guid><description>&lt;p&gt;推理客户端在语言模型的嵌入空间中组装完整提示词。它先按 GLM 原生对话模板渲染提示词，再查找文本嵌入行、投影科学特征，并替换预留的载荷区间。vLLM 在 &lt;code&gt;/v1/completions&lt;/code&gt; 端点通过 &lt;code&gt;prompt_embeds&lt;/code&gt; 接收结果。&lt;/p&gt;</description></item><item><title>评测</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/guides/evaluation/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/guides/evaluation/</guid><description>&lt;p&gt;&lt;a href="https://github.com/InternLM/Sage-SciPerception/tree/main/evalkit"&gt;EvalKit&lt;/a&gt; 维护版本化评测协议、评分和预测生成循环。评分在 CPU 上运行，不需要 torch、transformers 或网络，只需 Python 3.12 和 &lt;a href="https://docs.astral.sh/uv/"&gt;uv&lt;/a&gt;。&lt;/p&gt;&#10;&lt;p&gt;EvalKit 已注册全部九个已发布任务的评测协议，下文以 &lt;a href="https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/eeg-neu06/"&gt;SciTS NEU06&lt;/a&gt; 作为端到端示例。&lt;/p&gt;</description></item><item><title>分子结构识别（QM9S）</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/spectra-qm9s/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/spectra-qm9s/</guid><description>&lt;img class="td-image" src="https://raw.githubusercontent.com/InternLM/Sage-SciPerception/main/assets/spectra-zh.gif" alt="分子结构识别（QM9S）" loading="lazy" decoding="async"&gt;&lt;p&gt;任务专用投影模块将本任务的科学表示映射到语言模型的嵌入空间。&lt;/p&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;字段&lt;/th&gt;&#10; &lt;th scope="col"&gt;值&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;任务 ID&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;glm-5.3-flash/spectra/qm9s&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学编码器&lt;/td&gt;&#10; &lt;td&gt;DiffSpectra 风格的 &lt;code&gt;log10(x + 1)&lt;/code&gt; 变换与片段几何&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学输入&lt;/td&gt;&#10; &lt;td&gt;50 维谱图片段、片段位置，以及区分红外、拉曼与紫外—可见的三类谱型索引。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;指标&lt;/td&gt;&#10; &lt;td&gt;Acc@1（%）&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;得分&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;49.75&lt;/strong&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;训练步数&lt;/td&gt;&#10; &lt;td&gt;8037&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;权重&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/spectra/qm9s"&gt;Hugging Face 文件&lt;/a&gt; · &lt;a href="https://huggingface.co/internlm/Sage-SciPerception/blob/main/projectors/glm-5.3-flash/spectra/qm9s/config.json"&gt;配置&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;说明&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;该 checkpoint 的 &lt;code&gt;config.json&lt;/code&gt; 声明了架构、输出维度、科学输入、提示词、底座版本与训练步数。&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>scip-eval 命令行</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/reference/scip-eval/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/reference/scip-eval/</guid><description>&lt;p&gt;&lt;code&gt;scip-eval&lt;/code&gt; 是 &lt;a href="https://github.com/InternLM/Sage-SciPerception/tree/main/evalkit"&gt;EvalKit&lt;/a&gt; 的命令行入口。评分仅需 Python 3.12+ 与 &lt;a href="https://docs.astral.sh/uv/"&gt;uv&lt;/a&gt;，在 CPU 上运行，无需 &lt;code&gt;torch&lt;/code&gt;、&lt;code&gt;transformers&lt;/code&gt; 或网络连接。&lt;/p&gt;&#10;&lt;h2 id="usage"&gt;基本用法&#10;&lt;/h2&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-5d409e59-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="bash" data-td-line-count="2"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-5d409e59-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;uv run --project evalkit scip-eval --version&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;uv run --project evalkit scip-eval score --task &amp;lt;TASK&amp;gt; --references &amp;lt;PATH&amp;gt; --responses &amp;lt;PATH&amp;gt; &lt;span class="o"&gt;[&lt;/span&gt;--out-dir &amp;lt;PATH&amp;gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;--only-responded&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;--workers &amp;lt;N&amp;gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;&lt;code&gt;--dataset&lt;/code&gt; 可作为 &lt;code&gt;--task&lt;/code&gt; 的别名使用。当前包版本为 &lt;code&gt;0.1.0&lt;/code&gt;。&lt;/p&gt;</description></item><item><title>在 CPU 上下载并校验投影模块</title><link>https://internlm.github.io/Sage-SciPerception/zh/book/02-quickstart-cpu/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/book/02-quickstart-cpu/</guid><description>&lt;p&gt;使用公开的 JARVIS 形成能检查点，验证下载、权重加载与张量接口。以下命令需要 Python，无需下载语言模型，也无需使用 GPU。&lt;/p&gt;&#10;&lt;h2 id="download"&gt;从固定快照下载&#10;&lt;/h2&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-54ed4b77-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="bash" data-td-line-count="6"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-54ed4b77-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git clone https://github.com/InternLM/Sage-SciPerception.git&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; Sage-SciPerception&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;python -m pip install -r requirements.txt&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;python load_projector.py glm-5.3-flash/cif/jarvis &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --revision 7c228fc03394027fed19bda1ff26388394b0031a &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --local-dir ./checkpoints&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;&lt;code&gt;load_projector.py&lt;/code&gt; 先在 Hugging Face 仓库索引中查找组件 ID，再从同一快照下载组件配置和权重。指定 &lt;code&gt;--local-dir&lt;/code&gt; 后，命令还会将索引复制到 &lt;code&gt;./checkpoints&lt;/code&gt;，并输出本地组件目录。&lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/7c228fc03394027fed19bda1ff26388394b0031a"&gt;查看固定快照&lt;/a&gt;。&lt;/p&gt;</description></item><item><title>训练投影模块</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/guides/training/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/guides/training/</guid><description>&lt;p&gt;&lt;a href="https://github.com/InternLM/Sage-SciPerception/blob/main/trainkit/README.md"&gt;TrainKit&lt;/a&gt; 基于 &lt;a href="https://github.com/InternLM/xtuner"&gt;XTuner&lt;/a&gt; 训练科学投影模块。XTuner 负责训练器、FSDP、打包、调度器、损失与优化器；TrainKit 增加投影模块、提示词与监督掩码、打包序列中的载荷注入，以及推理示例和 &lt;a href="https://internlm.github.io/Sage-SciPerception/zh/docs/guides/evaluation/"&gt;EvalKit&lt;/a&gt; 可直接读取的导出格式。&lt;/p&gt;</description></item><item><title>蛋白质界面位点（MPBind）</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/protein-seq-mpbind/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/protein-seq-mpbind/</guid><description>&lt;img class="td-image" src="https://raw.githubusercontent.com/InternLM/Sage-SciPerception/main/assets/protein-zh.gif" alt="蛋白质界面位点（MPBind）" loading="lazy" decoding="async"&gt;&lt;p&gt;任务专用投影模块将本任务的科学表示映射到语言模型的嵌入空间。&lt;/p&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;字段&lt;/th&gt;&#10; &lt;th scope="col"&gt;值&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;任务 ID&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;glm-5.3-flash/protein-seq/mpbind&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学编码器&lt;/td&gt;&#10; &lt;td&gt;ESM-2 状态，外加任务适配的 ESMC 读出&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学输入&lt;/td&gt;&#10; &lt;td&gt;每个残基一个 1,280 维状态、2 维侧特征，以及残基计数。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;指标&lt;/td&gt;&#10; &lt;td&gt;逐蛋白 F1（%）&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;得分&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;61.12&lt;/strong&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;训练步数&lt;/td&gt;&#10; &lt;td&gt;100&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;权重&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/protein-seq/mpbind"&gt;Hugging Face 文件&lt;/a&gt; · &lt;a href="https://huggingface.co/internlm/Sage-SciPerception/blob/main/projectors/glm-5.3-flash/protein-seq/mpbind/config.json"&gt;配置&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;该成绩使用 assembly-1 重建评测集及逐蛋白平均 F1。本任务的适配科学权重未随本次发布提供。&lt;/p&gt;</description></item><item><title>load_projector 接口</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/reference/load-projector/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/reference/load-projector/</guid><description>&lt;p&gt;&lt;a href="https://github.com/InternLM/Sage-SciPerception/blob/main/load_projector.py"&gt;&lt;code&gt;load_projector.py&lt;/code&gt;&lt;/a&gt; 与 &lt;a href="https://github.com/InternLM/Sage-SciPerception/blob/main/modeling_projector.py"&gt;&lt;code&gt;modeling_projector.py&lt;/code&gt;&lt;/a&gt; 位于仓库根目录，提供命令行下载工具和 Python 加载接口。&lt;/p&gt;&#10;&lt;h2 id="cli"&gt;命令行下载&#10;&lt;/h2&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-93084d01-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="bash" data-td-line-count="1"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-93084d01-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;python load_projector.py &amp;lt;projector_id&amp;gt; &lt;span class="o"&gt;[&lt;/span&gt;--repo-id REPO_ID&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;--revision REVISION&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;--local-dir PATH&lt;span class="o"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;参数 / 选项&lt;/th&gt;&#10; &lt;th scope="col"&gt;默认值&lt;/th&gt;&#10; &lt;th scope="col"&gt;说明&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;projector_id&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;—（必填）&lt;/td&gt;&#10; &lt;td&gt;Hugging Face 根 &lt;code&gt;config.json&lt;/code&gt; 中以 &lt;code&gt;backbone/modality/task&lt;/code&gt; 形式列出的组件 ID（例如 &lt;code&gt;glm-5.3-flash/cif/jarvis&lt;/code&gt;）。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;--repo-id&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;internlm/Sage-SciPerception&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;Hugging Face 仓库 ID。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;--revision&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;main&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;用于解析索引的分支、tag 或 commit revision。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;--local-dir&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;None&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;可选本地目标目录；设置后会将根 &lt;code&gt;config.json&lt;/code&gt; 与组件文件写入该目录。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;命令会在标准输出打印下载后的本地组件目录路径。&lt;/p&gt;</description></item><item><title>通过 vLLM 推理</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/guides/inference/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/guides/inference/</guid><description>&lt;p&gt;推理时，将投影模块输出的科学向量插入语言模型的完整聊天提示词嵌入，再通过 &lt;code&gt;prompt_embeds&lt;/code&gt; 发给 vLLM 的 &lt;code&gt;/v1/completions&lt;/code&gt;。科学特征与投影在客户端准备，语言模型服务负责生成答案。&lt;/p&gt;</description></item><item><title>科学感知与投影模块架构</title><link>https://internlm.github.io/Sage-SciPerception/zh/book/01-concepts/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/book/01-concepts/</guid><description>&lt;p&gt;每个 Sage-SciPerception 检查点将一项科学任务接入冻结的 GLM-5.3-Flash 主干模型。冻结的科学编码器或固定的预处理流程生成任务所需的特征行，训练得到的 &lt;code&gt;atom&lt;/code&gt; 投影模块再将特征行及其位置映射到主干模型的嵌入维度。客户端把投影结果插入按对话模板生成的提示词中，GLM 便能将它们与文本一起处理。&lt;/p&gt;</description></item><item><title>config.json 配置规范</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/reference/config-json/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/reference/config-json/</guid><description>&lt;p&gt;每个已发布组件目录都包含 &lt;code&gt;projector.safetensors&lt;/code&gt; 和一个遵循 &lt;code&gt;format_version: &amp;quot;sage-projector-v1&amp;quot;&lt;/code&gt; 的 &lt;code&gt;config.json&lt;/code&gt;。&lt;/p&gt;&#10;&lt;h2 id="top-level"&gt;顶层字段&#10;&lt;/h2&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;字段&lt;/th&gt;&#10; &lt;th scope="col"&gt;说明&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;format_version&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;格式版本标识，当前为 &lt;code&gt;&amp;quot;sage-projector-v1&amp;quot;&lt;/code&gt;。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;component_type&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;组件类型，值为 &lt;code&gt;&amp;quot;scientific_projector&amp;quot;&lt;/code&gt;。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;task&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;与仓库索引对应的任务标识（例如 &lt;code&gt;&amp;quot;cif/jarvis&amp;quot;&lt;/code&gt;、&lt;code&gt;&amp;quot;eeg/neu06&amp;quot;&lt;/code&gt;）。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;weights&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;同目录下的权重文件名，值为 &lt;code&gt;&amp;quot;projector.safetensors&amp;quot;&lt;/code&gt;。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;projector&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;供 &lt;code&gt;modeling_projector.build&lt;/code&gt; 读取的架构配置对象（见下表）。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;output_dim&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;目标语言模型输入嵌入维度（例如 &lt;code&gt;4096&lt;/code&gt;）。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;base_model&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;对象，包含 &lt;code&gt;repo_id&lt;/code&gt;、&lt;code&gt;revision&lt;/code&gt;、&lt;code&gt;dtype&lt;/code&gt; 与 &lt;code&gt;training_fingerprint&lt;/code&gt;。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;prompt&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;提示词渲染布局：&lt;code&gt;system&lt;/code&gt;、&lt;code&gt;names&lt;/code&gt;、&lt;code&gt;template_kwargs&lt;/code&gt;、&lt;code&gt;include_reasoning&lt;/code&gt; 与 &lt;code&gt;atom_numbering&lt;/code&gt;。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;scientific_inputs&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;数组，每项包含 &lt;code&gt;encoder&lt;/code&gt;、&lt;code&gt;preprocessing&lt;/code&gt;、&lt;code&gt;representation&lt;/code&gt;（&lt;code&gt;feature_dim&lt;/code&gt;、&lt;code&gt;modality&lt;/code&gt;、&lt;code&gt;rows&lt;/code&gt;、&lt;code&gt;maximum_tokens&lt;/code&gt;）、&lt;code&gt;scientific_readout&lt;/code&gt; 与 &lt;code&gt;side_features_per_object&lt;/code&gt;。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;training_step&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;导出该 checkpoint 时的整数训练步数。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;code&gt;training&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;可选溯源字段，由 TrainKit 导出写入（包含 &lt;code&gt;step&lt;/code&gt;、&lt;code&gt;export&lt;/code&gt;、&lt;code&gt;xtuner_revision&lt;/code&gt;、&lt;code&gt;initialized_from&lt;/code&gt;、&lt;code&gt;trainable_parameters&lt;/code&gt;，以及配方记录的学习率、尺寸配置、清单版本与 &lt;code&gt;dataset.json&lt;/code&gt; / &lt;code&gt;features.json&lt;/code&gt; 溯源信息）。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h2 id="projector"&gt;&lt;code&gt;projector&lt;/code&gt; 字段说明&#10;&lt;/h2&gt;&#10;&lt;p&gt;当前已发布的九个 checkpoint 均采用 &lt;code&gt;kind: &amp;quot;atom&amp;quot;&lt;/code&gt;。结合已发布配置与 &lt;code&gt;modeling_projector.build&lt;/code&gt;，各字段含义如下：&lt;/p&gt;</description></item><item><title>晶体形成能（JARVIS-DFT）</title><link>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/cif-jarvis/</link><guid>https://internlm.github.io/Sage-SciPerception/zh/docs/tasks/cif-jarvis/</guid><description>&lt;img class="td-image" src="https://raw.githubusercontent.com/InternLM/Sage-SciPerception/main/assets/crystal-zh.gif" alt="晶体形成能（JARVIS-DFT）" loading="lazy" decoding="async"&gt;&lt;p&gt;任务专用投影模块将本任务的科学表示映射到语言模型的嵌入空间。&lt;/p&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;字段&lt;/th&gt;&#10; &lt;th scope="col"&gt;值&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;任务 ID&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;glm-5.3-flash/cif/jarvis&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学编码器&lt;/td&gt;&#10; &lt;td&gt;CHGNet 0.3.0&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;科学输入&lt;/td&gt;&#10; &lt;td&gt;每个原子一个 64 维状态，外加逐原子位置索引。仓库示例读取形状为 &lt;code&gt;[num_atoms, 64]&lt;/code&gt; 的张量，保持原子顺序。&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;指标&lt;/td&gt;&#10; &lt;td&gt;MAD/MAE，越高越好&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;得分&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;15.03&lt;/strong&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;训练步数&lt;/td&gt;&#10; &lt;td&gt;2822&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;权重&lt;/td&gt;&#10; &lt;td&gt;&lt;a href="https://huggingface.co/internlm/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/cif/jarvis"&gt;Hugging Face 文件&lt;/a&gt; · &lt;a href="https://huggingface.co/internlm/Sage-SciPerception/blob/main/projectors/glm-5.3-flash/cif/jarvis/config.json"&gt;配置&lt;/a&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;&lt;a href="https://internlm.github.io/Sage-SciPerception/zh/docs/start/"&gt;快速开始&lt;/a&gt;中的检查以及 &lt;a href="https://github.com/InternLM/Sage-SciPerception/blob/main/examples/vllm_cif.py"&gt;vLLM 晶体示例&lt;/a&gt;都使用这个任务。其投影模块有 4,314,304 个参数，输出维度为 4096。&lt;/p&gt;</description></item></channel></rss>