BioGeek commited on
Commit
dd5fd45
·
verified ·
1 Parent(s): 5e98a4c

Add instanovo-phospho-v1.0.0 model

Browse files
Files changed (3) hide show
  1. README.md +10 -0
  2. config.json +115 -0
  3. 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,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "LinearLR_end_factor": 0.05,
3
+ "LinearLR_start_factor": 1.0,
4
+ "LinearLR_total_iters": 300000,
5
+ "STLR_cycle_length": 29591,
6
+ "STLR_maxlr_list": [
7
+ "2e-4",
8
+ "1e-5",
9
+ "5e-6",
10
+ "5e-6",
11
+ "5e-6",
12
+ "5e-6",
13
+ "2e-6",
14
+ "2e-6",
15
+ "2e-6",
16
+ "2e-6"
17
+ ],
18
+ "STLR_midpoint_fraction": 0.1,
19
+ "STLR_ratio": 0.03125,
20
+ "apply_lora": false,
21
+ "console_logging_steps": 1000,
22
+ "custom_encoder": null,
23
+ "dec_precursor_sos": false,
24
+ "dec_type": "instanovo",
25
+ "dim_feedforward": 1024,
26
+ "dim_intensity": null,
27
+ "dim_model": 768,
28
+ "dropout": 0.1,
29
+ "enc_type": "instanovo",
30
+ "epoch_transitions_only": true,
31
+ "epochs": 10,
32
+ "fine_tune": true,
33
+ "grad_accumulation": 1,
34
+ "gradient_clip_val": 10.0,
35
+ "isotope_error_range": [
36
+ 0,
37
+ 1
38
+ ],
39
+ "learning_rate": "2e-4",
40
+ "logger": null,
41
+ "lora_rank": 64,
42
+ "max_charge": 10,
43
+ "max_length": 30,
44
+ "max_mz": 2500.0,
45
+ "min_delta": 0.002,
46
+ "min_intensity": 0.01,
47
+ "min_mz": 50.0,
48
+ "model_save_folder_path": "./checkpoints/instanovo-ft/",
49
+ "n_beams": 2,
50
+ "n_gpu": 1,
51
+ "n_head": 16,
52
+ "n_layers": 9,
53
+ "n_log": 1,
54
+ "n_peaks": 200,
55
+ "n_workers": 8,
56
+ "num_sanity_val_steps": 10,
57
+ "optimizer": "Adam",
58
+ "patience": 1,
59
+ "peak_dropout": 0.0,
60
+ "precursor_mass_tol": 50,
61
+ "predict_batch_size": 2220,
62
+ "progress_bar": false,
63
+ "ptms": {
64
+ "(ox)": "(+15.99)",
65
+ "(p)": "(+79.97)"
66
+ },
67
+ "remove_precursor_tol": 2.0,
68
+ "residues": {
69
+ "A": 71.037114,
70
+ "C": 103.009185,
71
+ "C(+57.02)": 160.030649,
72
+ "D": 115.026943,
73
+ "E": 129.042593,
74
+ "F": 147.068414,
75
+ "G": 57.021464,
76
+ "H": 137.058912,
77
+ "I": 113.084064,
78
+ "K": 128.094963,
79
+ "L": 113.084064,
80
+ "M": 131.040485,
81
+ "M(+15.99)": 147.0354,
82
+ "N": 114.042927,
83
+ "N(+.98)": 115.026943,
84
+ "P": 97.052764,
85
+ "Q": 128.058578,
86
+ "Q(+.98)": 129.042594,
87
+ "R": 156.101111,
88
+ "S": 87.032028,
89
+ "S(+79.97)": 166.998028,
90
+ "T": 101.04767,
91
+ "T(+79.97)": 181.01367,
92
+ "V": 99.068414,
93
+ "W": 186.079313,
94
+ "Y": 163.063329,
95
+ "Y(+79.97)": 243.029329
96
+ },
97
+ "restore_best": true,
98
+ "resume_checkpoint": "./checkpoints/extended_2e6da747/epoch=10-step=1000000.ckpt",
99
+ "save_model": false,
100
+ "save_weights_only": false,
101
+ "schedule": "finetune_schedule_gu_encoder-decoder-v2.yaml",
102
+ "scheduler": "STLRSchedulerEpochBased",
103
+ "scheduler_interval": "step",
104
+ "tb_summarywriter": "s3://dtu-denovo-s-2e6da747d6d34f62-outputs/logs/4e5ef73c-171c-41b0-8a3a-fff4ff97512c/",
105
+ "tensorboard_logging_steps": 200,
106
+ "train_batch_size": 64,
107
+ "train_from_scratch": false,
108
+ "train_num_shards": 0,
109
+ "train_subset": 1.0,
110
+ "use_depthcharge": false,
111
+ "use_dvc": false,
112
+ "val_check_interval": 7397,
113
+ "valid_subset": 0.02,
114
+ "weight_decay": "1e-6"
115
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59ac059b0a2b8b1c2b75c49ba35140984f897427baa5a43acb4c2feb24ef7fb2
3
+ size 379105512