Add pimm export (repackaged from DeepLearnPhysics/panda)
Browse filesFiles changed (3)
- README.md+46-1
- model.safetensorsAdded+3
- training_config.jsonAdded+64
123---license: mit---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748---library_name: pimmtags:- particle-physics- lartpc- point-cloud- point-transformer-v3---# Panda — PointTransformerV3 encoder (pretrained)A PointTransformerV3 (`PT-v3m2`) encoder pretrained with maskedpoint modeling on LArTPC (PILArNet) data. Intended as a backbone / warm-start fordownstream segmentation and detection tasks (it produces multi-scale pointfeatures; it has no task head).- **pimm type:** `PT-v3m2`- **enc_depths:** (3, 3, 3, 9, 3) · **enc_channels:** (48, 96, 192, 384, 512)- **encoder-only** (`enc_mode=True`), masked-modeling token enabled.## Loading```pythonimport pimmmodel = pimm.from_pretrained("hf://deeplearnphysics/panda-base")```The architecture and all hyper-parameters are carried in `training_config.json`,so no config file is needed. Weights are bitwise-identical to the originalcheckpoint.## InputA pimm `Point` dict for LArTPC (PILArNet) point clouds: `coord` (xyz) + `energy`,collected as `feat_keys=("coord", "energy")` (4 input channels). Coordinates arenormalized in the model forward.## Notes- Config sets `enable_flash=True`. On CPU or non-FlashAttention setups, overrideit (e.g. pass `enable_flash=False` to `from_pretrained`, or for detectors set iton the `backbone`).## ProvenanceRepackaged from the original [`DeepLearnPhysics/panda`](https://github.com/DeepLearnPhysics/panda) checkpoints into the[`pimm`](https://github.com/youngsm/particle-imaging-models) export format. Inheritsthe license of the source repository.
123version https://git-lfs.github.com/spec/v1oid sha256:e942ea9947989c8f848f04a2d9c0ca949149edfec167ccbc6852d556986c202dsize 36307852012345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ "model": { "type": "PT-v3m2", "in_channels": 4, "order": [ "hilbert", "hilbert-trans", "z", "z-trans" ], "stride": [ 2, 2, 2, 2 ], "enc_depths": [ 3, 3, 3, 9, 3 ], "enc_channels": [ 48, 96, 192, 384, 512 ], "enc_num_head": [ 3, 6, 12, 24, 32 ], "enc_patch_size": [ 256, 256, 256, 256, 256 ], "mlp_ratio": 4, "qkv_bias": true, "qk_scale": null, "layer_scale": 1e-05, "attn_drop": 0.0, "proj_drop": 0.0, "drop_path": 0.3, "shuffle_orders": true, "pre_norm": true, "enable_rpe": false, "enable_flash": true, "upcast_attention": false, "upcast_softmax": false, "traceable": true, "enc_mode": true, "mask_token": true, "cpe_first_layer_only": false, "cpe_shared_weight": false }}README.md+46-1
model.safetensorsAdded+3
training_config.jsonAdded+64