# 单细胞转录组（Single-Cell RNA-seq）

> 单细胞基因表达谱模态介绍、scGPT 全人源读出与 hPancreas 细胞注释实测效果。

---

LLMS 索引： [llms.txt](/Sage-SciPerception/zh/llms.txt)

---

## 模态介绍

单细胞转录组（scRNA-seq）在单个细胞分辨率下测量上万个基因的表达量，可用于精细细胞亚群注释、稀有细胞发现以及跨测序平台/供体泛化分析。

在 `sc-rna/hpancreas` 任务上，书生·元征使用微调后的 B0 **scGPT whole-human** 读出编码器（仓库 `encoders/sc-rna/hpancreas/`），为每个细胞提取至多 33 个上下文表征（`[CLS]` 与高表达基因状态，512 维标准化 float16）以及经 Muraro 验证集温度校准（`temperature = 0.8975`）的 10 类先验概率（`side.npy`），并通过冻结 GLM-5.3-Flash FP8 专家权重的单节点 EP8 `side-only` 配方（`SCIP_TRAIN_SIDE_ONLY=1`）完成映射对齐。

## 常见公开数据

| 数据集 | 覆盖范围与特点 | 本项目对应使用 |
| --- | --- | --- |
| **hPancreas（`demo_test.h5ad`）** | 4,218 个人类胰腺单细胞，涵盖 11 个细胞类型（含训练集未见的 `MHC class II`） | `hpancreas`（`scgpt-hpancreas-v1` 官方冻结评测集） |
| **Baron + Muraro + 精选 CELLxGENE** | 8,406 Baron（`inDrop`）+ 2,122 Muraro（`CEL-Seq2`）+ 28,592 CELLxGENE 原代人类胰腺细胞 | B0 读出校准与 Wave 2 训练集（逆平方根加权 42,000 行） |

## 实测支持与效果

| 榜单 / 任务 | 指标 ↑ | 得分 | 权重与编码器 |
| --- | --- | ---: | --- |
| [`hpancreas`](/docs/tasks/sc-rna-hpancreas/)<br>人类胰腺细胞注释 | 11 类宏平均 F1（%） | **79.73** | [HF projector 与 B0 编码器（`yuhangzang/Sage-SciPerception`）](https://huggingface.co/yuhangzang/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/sc-rna/hpancreas) |

在官方 4,218 细胞冻结测试集上，B0 `side-only` projector（`hf-858`）取得 **79.73%** 11 类 Macro-F1、**87.70%** 10 见类 Macro-F1 与 **94.93%** 准确率。完整纯 PyTorch 特征提取与 vLLM 推理步骤见 [`examples/hpancreas/README.md`](https://github.com/InternLM/Sage-SciPerception/blob/main/examples/hpancreas/README.md)。
