Snapshot 01 of 40: step 5,208
Browse filesFiles changed (3)
- README.mdAdded+26
- config.jsonAdded+32
- model.safetensorsAdded+3
1234567891011121314151617181920212223242526---library_name: pimmtags: [particle-physics, point-cloud, self-supervised]---
# panda-v2.pilarnet-m
The Panda V2 encoder (`panda-encoder-v2m1`) pretrained by Panda V2 self-distillation (`panda-ssl-v2m1`) on 1M events of PILArNet-M, simulated in a liquid argon TPC, for 20 epochs (208,334 steps at batch 96). The weights are the encoder of the EMA teacher.
```pythonimport pimm
encoder = pimm.from_pretrained("DeepLearnPhysics/panda-v2.pilarnet-m", device="cuda")point = encoder(batch) # the coarsest stage, with its pooling chainfeat = point.upcast().feat # one row per input point, 1170 channels```
Each input point has 4 features. Prepare them with the evaluation transforms of `configs/panda/v2/finetune/_base_/datasets/lartpc.py` in [pimm](https://github.com/DeepLearnPhysics/particle-imaging-models). On GPUs without FlashAttention, pass `attention_backend="torch"` to `pimm.from_pretrained`.
## Snapshots
`main` holds the encoder at the end of pretraining. The tags `01-of-40` to `40-of-40` hold it every 5,208 steps (0.5M events): tag `NN-of-40` is step NN × 5,208. To load one, pass its tag as the revision:
```pythonencoder = pimm.from_pretrained("DeepLearnPhysics/panda-v2.pilarnet-m", revision="11-of-40", device="cuda")```1234567891011121314151617181920212223242526272829303132{ "model": { "type": "panda-encoder-v2m1", "in_channels": 4, "grid_size": 0.001, "channels": [ 54, 108, 432, 576 ], "depths": [ 3, 6, 12, 6 ], "heads": [ 3, 6, 24, 32 ], "strides": [ 2, 1, 4 ], "conv_stages": 2, "window_size": 1024 }}123version https://git-lfs.github.com/spec/v1oid sha256:3922fec3c6cab87d203e6f6e85d6a8d20456d54165dd34fbcce6025399443e9dsize 213690408README.mdAdded+26
config.jsonAdded+32
model.safetensorsAdded+3