Simplify model card: contents, usage, shapes and license
Browse filesFiles changed (2)
- README.md+37-53
- SHA256SUMS+1-1
9 unmodified lines10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182839 unmodified lines- chrombpnet---# ChromBPNet browser WebGPU weight packs**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**.## Inputs and outputsFull 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.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.## Conversion and validation status**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.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.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.## Runtime and useThis 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.```pythonimport hashlib, jsonfrom pathlib import Pathfrom huggingface_hub import HfApi, hf_hub_downloadrepo = "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"]```## License, original metadata and integrityNative 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.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.9 unmodified lines101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566679 unmodified lines- chrombpnet---# ChromBPNet WebGPU7,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.Original 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).## Main files```textmodels/<experiment>/fold_<n>/*.binmanifest.json # available models and file namesoriginal-metadata.tar.gz # original model descriptionsLICENSE```## Inputs and outputsDNA 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.| 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) |The 1,000 predicted bases start 557 bases into the input sequence (human hg38).## Download a modelInstall `huggingface_hub`. Choose a model from `manifest.json`; this exampledownloads the first one for use with the runner above.```pythonimport jsonfrom pathlib import Pathfrom huggingface_hub import HfApi, hf_hub_downloadrepo = "genome-spy/ChromBPNet-WebGPU"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)```## LicenseModel weights: **MIT**. See [LICENSE](LICENSE). Original model detailsand citations are kept in `original-metadata.tar.gz`.
2 unmodified lines34567892 unmodified lineseee7b4d55be619630ce91024410485d25226c387e72315b83712a8dbf89188ef CHROMBPNET-SOFTWARE-LICENSEeee7b4d55be619630ce91024410485d25226c387e72315b83712a8dbf89188ef LICENSE07022a969f2232e9156f16268fa05a7d06955ef5379fb1282931b5b22dc17e11 NOTICEa1334e7a82de9b4be05459f4f6ca649862898bf8036943332423a339301de9ec README.mda701a35523d22faf78cbb54e011163f45dd48f69af44b3428f7c8c0eedef18b4 conversion-summary.jsonf7dbee5f298abcc6f312c87cabaa7d726e6350a7188c8c7cc06bc5e215f1256e intermediate-inventory.json22d9da353914bb771bfb69691f04244709de095de8e833d28bb141b510927bb7 manifest.json2 unmodified lines34567892 unmodified lineseee7b4d55be619630ce91024410485d25226c387e72315b83712a8dbf89188ef CHROMBPNET-SOFTWARE-LICENSEeee7b4d55be619630ce91024410485d25226c387e72315b83712a8dbf89188ef LICENSE07022a969f2232e9156f16268fa05a7d06955ef5379fb1282931b5b22dc17e11 NOTICE1c3a2a6ac51336a0d8c3b7300c6a15878e036fcfc9ecf8632d6304f6197bec71 README.mda701a35523d22faf78cbb54e011163f45dd48f69af44b3428f7c8c0eedef18b4 conversion-summary.jsonf7dbee5f298abcc6f312c87cabaa7d726e6350a7188c8c7cc06bc5e215f1256e intermediate-inventory.json22d9da353914bb771bfb69691f04244709de095de8e833d28bb141b510927bb7 manifest.json
README.md+37-53
SHA256SUMS+1-1