# sc-rna/hpancreas (hPancreas Cell Annotation)

> Checkpoint interface and evaluation parameters for glm-5.3-flash/sc-rna/hpancreas.

---

LLMS index: [llms.txt](/Sage-SciPerception/llms.txt)

---

Technical interface and evaluation parameters for `glm-5.3-flash/sc-rna/hpancreas`; see [Single-Cell](/modalities/biology/singlecell/) for modality background and datasets.

| Field | Value |
|---|---|
| Task ID | `glm-5.3-flash/sc-rna/hpancreas` |
| Backbone revision | `zai-org/GLM-5.3-Flash-BF16@f9fed3bb` (`frozen-fp8-single-node-ep8`) |
| Architecture | `atom` (`feature_dim=512`, `hidden_dim=1024`, `index_dim=32`, `max_atoms=33`, `side_dim=10`, `side_hidden_dim=128`, `output_dim=4096`) |
| Input channels | Up to 33 standardized 512-dim scGPT states (`[<=33, 512]`, `float16`) + per-object calibrated 10-class `side` vector (`[10]`, `float32`, `temperature=0.89746`); `atom_numbering=false` |
| EvalKit dataset | [`hpancreas`](/docs/guides/evaluation/#datasets) (`scgpt-hpancreas-v1`, requires `h5py`) |
| Published score | 11-class Macro-F1 **79.73%** · 10-seen Macro-F1 **87.70%** · Accuracy **94.93%** (step 858, `SCIP_TRAIN_SIDE_ONLY=1`) |
| Checkpoint & encoder | [Projector (`yuhangzang/Sage-SciPerception`)](https://huggingface.co/yuhangzang/Sage-SciPerception/tree/main/projectors/glm-5.3-flash/sc-rna/hpancreas) · [config.json](https://huggingface.co/yuhangzang/Sage-SciPerception/blob/main/projectors/glm-5.3-flash/sc-rna/hpancreas/config.json) · [B0 scGPT readout encoder](https://huggingface.co/yuhangzang/Sage-SciPerception/tree/main/encoders/sc-rna/hpancreas) |
| Training sample | [`yuhangzang/Sage-SciPerception-Training`](https://huggingface.co/datasets/yuhangzang/Sage-SciPerception-Training/tree/main/samples/sc-rna/hpancreas) (`samples/sc-rna/hpancreas`, config `hpancreas`) |

## Quick CPU/GPU feature extraction & inference

[`examples/hpancreas/scgpt_features.py`](https://github.com/InternLM/Sage-SciPerception/blob/main/examples/hpancreas/scgpt_features.py) reimplements the B0 scGPT readout architecture in pure PyTorch (no `scgpt` package dependency):

```bash
pip install "scipkit[infer,bio]"
scip download glm-5.3-flash/sc-rna/hpancreas --repo-id yuhangzang/Sage-SciPerception --local-dir ./checkpoints
hf download yuhangzang/Sage-SciPerception --include "encoders/sc-rna/hpancreas/*" --local-dir ./checkpoints

python examples/hpancreas/scgpt_features.py \
  --h5ad /path/to/demo_test.h5ad \
  --encoder-dir ./checkpoints/encoders/sc-rna/hpancreas \
  --out ./run/features
```
