Simplify model card: contents, usage, shapes and license
Browse filesFiles changed (2)
- README.md+37-53
- SHA256SUMS+1-1
9 unmodified lines1011121313141516171815161720181920212223222324252425272829262728293031323133343334353536373738394041424338394041424345464748444550464752535455564849505159525354555663646566676869575859606162637273747576777864658081828366679 unmodified lines- chrombpnet---
# ChromBPNet browser WebGPU weight packs# ChromBPNet WebGPU
**Complete: 7,560 / 7,560 folds published**, across 1,512original experiment repositories. The complete atlas is being published withoutnumerical parity exclusions. These are prediction-only `GSCNNv1` weight containersfor the matching `chrombpnet-wgsl@1` browser engine; **they are not ONNX files**.7,560 model weight files for predicting chromatin accessibility from DNA (ATAC-seq and DNase-seq).There are five models (folds) for each of 1,512 experiments.
## Inputs and outputsOriginal models: [Kundaje Lab](https://huggingface.co/kundajelab), using ENCODE data.These are the bias-corrected models, named `nobias` in the original release.
These `.bin` files need GenomeSpy's **`chrombpnet-wgsl@1` WebGPU runner**.The runner code is not included here. For ONNX Runtime, use [ChromBPNet-ONNX](https://huggingface.co/genome-spy/ChromBPNet-ONNX).
Full input width is 2,114 bp, fp32 ACGT `[1,4,2114]`. Raw profile logits are`[1,1,1000]` and raw log counts `[1,1]`. Outputs correspondto central input `[557,1557)` (zero-based, half-open). Count features span 1,074positions starting at input offset 520. All native learned heads are retained.## Main files
These are the published bias-corrected **nobias** ChromBPNet models, with no controlinput. Decode the single profile with softmax and `max(expm1(log_count),0)`. Thebias submodel is not included in this release.```textmodels/<experiment>/fold_<n>/*.binmanifest.json # available models and file namesoriginal-metadata.tar.gz # original model descriptionsLICENSE```
## Conversion and validation status## Inputs and outputs
**No per-fold numerical parity tests or inference runs are performed for thispublication**, as explicitly requested. Publication is not a claim of numericalor biological validation. Existing prototype/runtime comparisons remain separate.DNA uses four float32 channels in **A, C, G, T** order: 1 for the matching base,0 otherwise. Unknown bases use four zeros. The runner processes one sequence at a time.
Source tensors come from the existing pinned [ChromBPNet ONNX release](https://huggingface.co/genome-spy/ChromBPNet-ONNX).Every intermediate file is checked against its exact recorded size and SHA-256.Its fp32 initializers are copied without quantization or arithmetic; splitChromBPNet convolution weights are reassembled by exact channel concatenation.The native repository/revision/path/hash, intermediate artifact identity and tensorhashes remain recorded. All source identities are preserved, including distinctrepositories that happen to contain identical learned weights.| Name | Shape | Meaning || --- | --- | --- || `sequence` | `[1, 4, 2114]` | DNA input || `profile_logits` | `[1, 1, 1000]` | Scores for each output position || `log_counts` | `[1, 1]` | log(1 + predicted total count) |
Packing verifies fixed tensor shapes, finite weights, container bounds and hashes.All uploaded weight files are downloaded and size/SHA-256 checked at their pinnedpublication commits before local staging files are evicted. During upload thisverification may still be in progress. `manifest.json` distinguishes upload status.The 1,000 predicted bases start 557 bases into the input sequence (human hg38).
## Runtime and use## Download a model
This repository contains weights and metadata, **not a public standalone JavaScriptlibrary or shader source**. Execution requires the matching `chrombpnet-wgsl@1` engine inGenomeSpy Sequence Designer. This does not qualify ensembles, backward graphs,Ledidi, attribution or PISA. The existing ONNX repositories remain unchanged.No new app backend or visible preview is deployed by this publication.Install `huggingface_hub`. Choose a model from `manifest.json`; this exampledownloads the first one for use with the runner above.
```pythonimport hashlib, jsonimport jsonfrom pathlib import Pathfrom huggingface_hub import HfApi, hf_hub_download
repo = "genome-spy/ChromBPNet-WebGPU"revision = HfApi().model_info(repo).sha # Pin the exact revision.manifest = json.loads(Path(hf_hub_download(repo, "manifest.json", revision=revision)).read_text())model = manifest["models"][0]a = model["artifact"]p = Path(hf_hub_download(repo, a["path"], revision=revision))assert p.stat().st_size == a["bytes"]assert hashlib.sha256(p.read_bytes()).hexdigest() == a["sha256"]revision = HfApi().model_info(repo).shalisting = hf_hub_download(repo, "manifest.json", revision=revision)model = json.loads(Path(listing).read_text())["models"][0]weights = hf_hub_download(repo, model["artifact"]["path"], revision=revision)print(weights)```
## License, original metadata and integrity
Native weights and this repack are MIT; see `LICENSE` and `NOTICE`. The originalper-repository configs, model-info, cards and scientific metrics are archivedunchanged in `original-metadata.tar.gz`, with per-file hashes in its index.Software license notices are retained separately. The original ONNX model cardin that archive is historical, not validation evidence for these WGSL packs.## License
Each container embeds its complete native identity and individual tensor shapes,layouts, byte ranges and SHA-256 values. `SHA256SUMS` covers all published weightfiles and declared release metadata except itself. Downloads and browser memorycosts vary: approximately 25.54 MB per fold.Model weights: **MIT**. See [LICENSE](LICENSE). Original model detailsand citations are kept in `original-metadata.tar.gz`.2 unmodified lines345667892 unmodified lineseee7b4d55be619630ce91024410485d25226c387e72315b83712a8dbf89188ef CHROMBPNET-SOFTWARE-LICENSEeee7b4d55be619630ce91024410485d25226c387e72315b83712a8dbf89188ef LICENSE07022a969f2232e9156f16268fa05a7d06955ef5379fb1282931b5b22dc17e11 NOTICEa1334e7a82de9b4be05459f4f6ca649862898bf8036943332423a339301de9ec README.md1c3a2a6ac51336a0d8c3b7300c6a15878e036fcfc9ecf8632d6304f6197bec71 README.mda701a35523d22faf78cbb54e011163f45dd48f69af44b3428f7c8c0eedef18b4 conversion-summary.jsonf7dbee5f298abcc6f312c87cabaa7d726e6350a7188c8c7cc06bc5e215f1256e intermediate-inventory.json22d9da353914bb771bfb69691f04244709de095de8e833d28bb141b510927bb7 manifest.jsonREADME.md+37-53
SHA256SUMS+1-1