Bundled sample controls cover 2 of 13 CellGemma decoders

#12
by rpinho1 - opened

The CellGemma prediction guide says controls_sample.json supplies sample controls for each supported dataset. I checked the model snapshot 6212145e and found sample controls for 2 of 13 decoders, with 100 profiles each for k562 and tahoe. Prediction guide 路 Pinned model snapshot

I ran the guide's load_control_cell with cell_idx=0 and the shipped mean shifts for each decoder. The two documented examples passed this step. The other 11 decoders raised KeyError at the dataset lookup.

This reproduces the counts and the vcc lookup from the root of the pinned snapshot without loading the model weights.

import json
from pathlib import Path

controls = json.loads(Path('controls_sample.json').read_text())
decoders = {path.parent.name for path in Path('decoders').glob('*/model.safetensors')}
print(len(decoders))  # 13
print({name: len(entry['cells']) for name, entry in sorted(controls.items())})
# {'k562': 100, 'tahoe': 100}
print(sorted(decoders - controls.keys()))
controls['vcc']  # KeyError: 'vcc'

Could the model card document the two datasets covered by the sample file and say that the other decoders require matching user-supplied controls?

馃 Generated with Claude Code

Sign up or log in to comment