Add instanovo-v1.0.0 model
Browse files- README.md +10 -0
- config.json +95 -0
- model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- model_hub_mixin
|
| 4 |
+
- pytorch_model_hub_mixin
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 8 |
+
- Code: [More Information Needed]
|
| 9 |
+
- Paper: [More Information Needed]
|
| 10 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"ckpt_interval": 100000,
|
| 3 |
+
"compile_model": true,
|
| 4 |
+
"console_logging_steps": 2000,
|
| 5 |
+
"conv_peak_encoder": false,
|
| 6 |
+
"dim_feedforward": 1024,
|
| 7 |
+
"dim_model": 768,
|
| 8 |
+
"dropout": 0.1,
|
| 9 |
+
"epochs": 30,
|
| 10 |
+
"fp16": true,
|
| 11 |
+
"grad_accumulation": 1,
|
| 12 |
+
"gradient_clip_val": 10.0,
|
| 13 |
+
"isotope_error_range": [
|
| 14 |
+
0,
|
| 15 |
+
1
|
| 16 |
+
],
|
| 17 |
+
"learning_rate": 5e-05,
|
| 18 |
+
"logger": null,
|
| 19 |
+
"max_charge": 10,
|
| 20 |
+
"max_iters": 3000000,
|
| 21 |
+
"max_length": 40,
|
| 22 |
+
"max_mz": 2500.0,
|
| 23 |
+
"min_intensity": 0.01,
|
| 24 |
+
"min_mz": 50.0,
|
| 25 |
+
"model_save_folder_path": "checkpoints/instanovo-extended",
|
| 26 |
+
"n_beams": 5,
|
| 27 |
+
"n_gpu": 1,
|
| 28 |
+
"n_head": 16,
|
| 29 |
+
"n_layers": 9,
|
| 30 |
+
"n_peaks": 200,
|
| 31 |
+
"n_workers": 16,
|
| 32 |
+
"num_sanity_val_steps": 10,
|
| 33 |
+
"precursor_mass_tol": 50,
|
| 34 |
+
"predict_batch_size": 64,
|
| 35 |
+
"remove_precursor_tol": 2.0,
|
| 36 |
+
"report_to": "neptune",
|
| 37 |
+
"residue_remapping": {
|
| 38 |
+
"M(ox)": "M(+15.99)",
|
| 39 |
+
"S(p)": "S(+79.97)",
|
| 40 |
+
"T(p)": "T(+79.97)",
|
| 41 |
+
"Y(p)": "Y(+79.97)"
|
| 42 |
+
},
|
| 43 |
+
"residues": {
|
| 44 |
+
"(+25.98)": 25.980265,
|
| 45 |
+
"(+42.01)": 42.010565,
|
| 46 |
+
"(+43.01)": 43.005814,
|
| 47 |
+
"(-17.03)": -17.026549,
|
| 48 |
+
"A": 71.037114,
|
| 49 |
+
"C": 103.009185,
|
| 50 |
+
"C(+57.02)": 160.030649,
|
| 51 |
+
"D": 115.026943,
|
| 52 |
+
"E": 129.042593,
|
| 53 |
+
"F": 147.068414,
|
| 54 |
+
"G": 57.021464,
|
| 55 |
+
"H": 137.058912,
|
| 56 |
+
"I": 113.084064,
|
| 57 |
+
"K": 128.094963,
|
| 58 |
+
"L": 113.084064,
|
| 59 |
+
"M": 131.040485,
|
| 60 |
+
"M(+15.99)": 147.0354,
|
| 61 |
+
"N": 114.042927,
|
| 62 |
+
"N(+.98)": 115.026943,
|
| 63 |
+
"P": 97.052764,
|
| 64 |
+
"Q": 128.058578,
|
| 65 |
+
"Q(+.98)": 129.042594,
|
| 66 |
+
"R": 156.101111,
|
| 67 |
+
"S": 87.032028,
|
| 68 |
+
"S(+79.97)": 166.998028,
|
| 69 |
+
"T": 101.04767,
|
| 70 |
+
"T(+79.97)": 181.01367,
|
| 71 |
+
"V": 99.068414,
|
| 72 |
+
"W": 186.079313,
|
| 73 |
+
"Y": 163.063329,
|
| 74 |
+
"Y(+79.97)": 243.029329
|
| 75 |
+
},
|
| 76 |
+
"resume_checkpoint": null,
|
| 77 |
+
"run_name": "instanovo_acpt_base",
|
| 78 |
+
"save_model": true,
|
| 79 |
+
"save_weights_only": false,
|
| 80 |
+
"seed": 101,
|
| 81 |
+
"tb_summarywriter": "s3://dtu-denovo-s-2e6da747d6d34f62-outputs/logs/38aa4b76-2c51-4b4a-8d91-23c2a97f27bc/",
|
| 82 |
+
"tensorboard_logging_steps": 500,
|
| 83 |
+
"train_batch_size": 128,
|
| 84 |
+
"train_from_scratch": true,
|
| 85 |
+
"train_path": "data/extended",
|
| 86 |
+
"train_subset": 1.0,
|
| 87 |
+
"use_flash_attention": false,
|
| 88 |
+
"use_shards": true,
|
| 89 |
+
"val_check_interval": 1.0,
|
| 90 |
+
"valid_path": "data/extended",
|
| 91 |
+
"valid_subset": 0.01,
|
| 92 |
+
"valid_subset_of_train": null,
|
| 93 |
+
"warmup_iters": 100000,
|
| 94 |
+
"weight_decay": 1e-05
|
| 95 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3b8b2aa2ab7bdf2ef0f227e23638cd07e6800ac3c7e8719948fe028d6095a5d
|
| 3 |
+
size 379130104
|