umairahsan commited on
Commit
2994426
·
verified ·
1 Parent(s): 0e63246

Release 0.1.0

Browse files
Files changed (5) hide show
  1. README.md +21 -1
  2. SHA256SUMS +2 -0
  3. backbone.pt +3 -0
  4. manifest.json +43 -0
  5. pretraining.pt +3 -0
README.md CHANGED
@@ -1,3 +1,23 @@
1
  ---
2
- license: mit
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - porefm
4
+ - pytorch
5
+ - nanopore
6
+ - dna
7
+ - pretrained
8
  ---
9
+
10
+ # PoreFM-DNA
11
+
12
+ Pretrained PoreFM model for Oxford Nanopore DNA signals.
13
+
14
+ Model version: **0.1.0**. Chemistry: **R10.4.1 (E8.2, 400 bps)**. Embedding dimension: **384**.
15
+
16
+ | File | Contents |
17
+ |---|---|
18
+ | `backbone.pt` | Backbone for embeddings and downstream tasks. |
19
+ | `pretraining.pt` | Backbone, pretraining objective heads, and EMA target encoder; optimizer and scheduler states are excluded. |
20
+
21
+ Model configuration and preprocessing are embedded in the checkpoints. Setup and usage are documented in the PoreFM code repository.
22
+
23
+ `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,2 @@
 
 
 
1
+ 4367c9a7ef291108a4bfcf6ae8452723c06bb68aa89f715ad4b8115b560986ac backbone.pt
2
+ d120e0e9abba56fe8ec62cf8549e5fb969c84321982a0d55d4113fe670fdcf2f pretraining.pt
backbone.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4367c9a7ef291108a4bfcf6ae8452723c06bb68aa89f715ad4b8115b560986ac
3
+ size 90747343
manifest.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "model_name": "PoreFM-DNA",
4
+ "model_version": "0.1.0",
5
+ "embedding_dim": 384,
6
+ "chemistry": "dna_r10.4.1_e8.2_400bps",
7
+ "molecule_type": "dna",
8
+ "artifacts": [
9
+ {
10
+ "file": "backbone.pt",
11
+ "size_bytes": 90747343,
12
+ "file_sha256": "4367c9a7ef291108a4bfcf6ae8452723c06bb68aa89f715ad4b8115b560986ac",
13
+ "role": "backbone",
14
+ "format": "pytorch_checkpoint",
15
+ "tensor_fingerprint": {
16
+ "scheme": "porefm-tensor-content-v1",
17
+ "sha256": "2528c42fb35af7c6d1e2c58e629e26567a28d469e2317f72f0977cf5214407de"
18
+ }
19
+ },
20
+ {
21
+ "file": "pretraining.pt",
22
+ "size_bytes": 115212771,
23
+ "file_sha256": "d120e0e9abba56fe8ec62cf8549e5fb969c84321982a0d55d4113fe670fdcf2f",
24
+ "role": "pretraining",
25
+ "format": "pytorch_checkpoint",
26
+ "tensor_fingerprint": {
27
+ "scheme": "porefm-tensor-content-v1",
28
+ "sha256": "4af4a3ef8b0cd0d4a0285f7fe316d7c53d230414f94e38b9ca1a773e4e1a967a"
29
+ }
30
+ }
31
+ ],
32
+ "tensor_fingerprint_scheme": {
33
+ "name": "porefm-tensor-content-v1",
34
+ "algorithm": "sha256",
35
+ "scope": "Stored tensors and numeric arrays, including their names, shapes and dtypes; scalar configuration and other metadata are excluded.",
36
+ "encoding": [
37
+ "Initialize SHA-256 with ASCII porefm-tensor-content-v1 followed by one zero byte.",
38
+ "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.",
39
+ "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.",
40
+ "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."
41
+ ]
42
+ }
43
+ }
pretraining.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d120e0e9abba56fe8ec62cf8549e5fb969c84321982a0d55d4113fe670fdcf2f
3
+ size 115212771