Release 0.1.0
Browse files- README.md +27 -0
- SHA256SUMS +1 -0
- manifest.json +42 -0
- model.pt +3 -0
README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: WGLab/PoreFM-DNA
|
| 3 |
+
tags:
|
| 4 |
+
- porefm
|
| 5 |
+
- pytorch
|
| 6 |
+
- nanopore
|
| 7 |
+
- dna
|
| 8 |
+
- supervised-classifier
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# PoreFM-DNA BrdU / EdU
|
| 12 |
+
|
| 13 |
+
Supervised PoreFM classifier for Oxford Nanopore DNA modification detection.
|
| 14 |
+
|
| 15 |
+
Model version: **0.1.0**. Chemistry: **R10.4.1 (E8.2, 400 bps)**. Embedding dimension: **384**.
|
| 16 |
+
|
| 17 |
+
| File | Contents |
|
| 18 |
+
|---|---|
|
| 19 |
+
| `model.pt` | Complete backbone and classification head with preprocessing and modification-tag defaults. |
|
| 20 |
+
|
| 21 |
+
Class order: `T`, `BrdU`, `EdU`.
|
| 22 |
+
|
| 23 |
+
Saved BAM-tag defaults: base `T`; modification codes `472552`, `232486`, corresponding to `BrdU`, `EdU`.
|
| 24 |
+
|
| 25 |
+
Model configuration and preprocessing are embedded in the checkpoints. Setup and usage are documented in the PoreFM code repository.
|
| 26 |
+
|
| 27 |
+
`manifest.json` records artifact identities and tensor fingerprints. `SHA256SUMS` verifies checkpoint downloads. Tensor fingerprints are independent of descriptive metadata; file hashes identify exact bytes. Documentation-only changes leave the model version unchanged.
|
SHA256SUMS
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
0b5a351fc4fcfd03333ba3ddfc412af8e7d91dc53b51b0ead7b673cbf4ee54a3 model.pt
|
manifest.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"model_name": "PoreFM-DNA BrdU / EdU",
|
| 4 |
+
"model_version": "0.1.0",
|
| 5 |
+
"embedding_dim": 384,
|
| 6 |
+
"chemistry": "dna_r10.4.1_e8.2_400bps",
|
| 7 |
+
"molecule_type": "dna",
|
| 8 |
+
"class_labels": [
|
| 9 |
+
"T",
|
| 10 |
+
"BrdU",
|
| 11 |
+
"EdU"
|
| 12 |
+
],
|
| 13 |
+
"base": "T",
|
| 14 |
+
"mod_code": [
|
| 15 |
+
"472552",
|
| 16 |
+
"232486"
|
| 17 |
+
],
|
| 18 |
+
"artifacts": [
|
| 19 |
+
{
|
| 20 |
+
"file": "model.pt",
|
| 21 |
+
"size_bytes": 81331759,
|
| 22 |
+
"file_sha256": "0b5a351fc4fcfd03333ba3ddfc412af8e7d91dc53b51b0ead7b673cbf4ee54a3",
|
| 23 |
+
"role": "supervised_classifier",
|
| 24 |
+
"format": "pytorch_checkpoint",
|
| 25 |
+
"tensor_fingerprint": {
|
| 26 |
+
"scheme": "porefm-tensor-content-v1",
|
| 27 |
+
"sha256": "d57dd81e306efb1b007abb4a570ba405769c6d95dc0680110aabfdc1b3672bd8"
|
| 28 |
+
}
|
| 29 |
+
}
|
| 30 |
+
],
|
| 31 |
+
"tensor_fingerprint_scheme": {
|
| 32 |
+
"name": "porefm-tensor-content-v1",
|
| 33 |
+
"algorithm": "sha256",
|
| 34 |
+
"scope": "Stored tensors and numeric arrays, including their names, shapes and dtypes; scalar configuration and other metadata are excluded.",
|
| 35 |
+
"encoding": [
|
| 36 |
+
"Initialize SHA-256 with ASCII porefm-tensor-content-v1 followed by one zero byte.",
|
| 37 |
+
"Recursively traverse dictionaries sorted by (type(key).__name__, str(key)), and lists/tuples in index order. Skip leaves other than torch.Tensor and numpy.ndarray.",
|
| 38 |
+
"For each leaf, compact ASCII-escaped UTF-8 JSON encodes [key_path, dtype, shape, nbytes]. key_path is the list of dictionary keys and sequence indices. dtype is torch: plus str(tensor.dtype), or numpy: plus array.dtype.str.",
|
| 39 |
+
"Append the JSON byte length as an unsigned 8-byte big-endian integer, the JSON bytes, then C-contiguous numerical bytes in little-endian representation. Tensor/array storage padding is excluded."
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
}
|
model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b5a351fc4fcfd03333ba3ddfc412af8e7d91dc53b51b0ead7b673cbf4ee54a3
|
| 3 |
+
size 81331759
|