RPalmr commited on
Commit
a690fed
·
verified ·
1 Parent(s): d32693e

Release InterSeek 35M B128-E10 validation-selected epoch-5 weights

Browse files
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Reece Palmer
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
LICENSE.esm2 ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) Meta Platforms, Inc. and affiliates.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch
4
+ base_model: facebook/esm2_t12_35M_UR50D
5
+ base_model_relation: finetune
6
+ tags:
7
+ - biology
8
+ - protein-protein-interaction
9
+ - esm2
10
+ - safetensors
11
+ - interseek
12
+ ---
13
+
14
+ # InterSeek 35M B128-E10
15
+
16
+ InterSeek predicts whether two proteins interact from their amino-acid sequences.
17
+ This variant fine-tunes every layer of Meta's pretrained ESM-2 35M backbone and
18
+ a CLS interaction head using an effective batch of **128 pairs for 10 epochs**.
19
+ Training completed **12,750 updates on 17 November 2026**.
20
+
21
+ **The released weights are the best validation checkpoint at update 6,375,
22
+ after epoch 5.** The final epoch scored lower on validation. The original
23
+ batch-16, 3-epoch model remains available at
24
+ [appliedCL/interseek-35m](https://huggingface.co/appliedCL/interseek-35m).
25
+
26
+ ## Validation results
27
+
28
+ | Checkpoint | Pairs | AUROC | Average precision | MCC |
29
+ | --- | ---: | ---: | ---: | ---: |
30
+ | Released: epoch 5, update 6,375 | 59,260 | 0.6543 | 0.6593 | 0.2262 |
31
+ | Final: epoch 10, update 12,750 | 59,260 | 0.6476 | 0.6542 | 0.2172 |
32
+
33
+ These are **development validation results**, used to select the checkpoint.
34
+ **Held-out human Intra2 and independent D-SCRIPT yeast tests have not yet been
35
+ evaluated for this variant.** The original model's published test results do not
36
+ apply to these weights. Exact metrics and all 22 validation passes are included
37
+ in `selection.json` and `validation-history.json`.
38
+
39
+ The original B16-E3 model achieved validation AUROC 0.6532296301704599, compared
40
+ with 0.654300940078951 here. This single-seed comparison changes batch size and
41
+ training duration and does not establish a reliable generalisation improvement.
42
+
43
+ ## Run inference
44
+
45
+ Requires Python 3.10 or later and the included InterSeek wheel. Install a
46
+ CUDA-enabled PyTorch build for NVIDIA GPUs.
47
+
48
+ ```bash
49
+ pip install huggingface_hub
50
+ hf download appliedCL/interseek-35m-b128-e10 --local-dir interseek-35m-b128-e10
51
+ cd interseek-35m-b128-e10
52
+ pip install -r requirements-inference.txt ./interseek-0.3.0-py3-none-any.whl
53
+ python predict.py --data example_pairs.csv --predictions predictions.csv --device cpu
54
+ ```
55
+
56
+ Use `--device cuda:0` for an NVIDIA GPU or `--device mps` for Apple Silicon.
57
+ Input CSVs require `sequence_a` and `sequence_b`; `pair_id` is optional.
58
+ The example sequences are illustrative and have no claimed interaction label.
59
+ Output preserves row order and includes `pair_id`, `label` (empty for unlabelled
60
+ input), and a score between 0 and 1. No pretrained-weight download is required
61
+ after downloading this release.
62
+
63
+ The validation-MCC threshold is **0.634100615978241**. Scores have not been
64
+ established as calibrated probabilities of physical binding.
65
+
66
+ `model.safetensors` contains the complete pair predictor and requires the
67
+ included implementation. It is not a standard Transformers classification
68
+ checkpoint. `esm2/` separately contains the fine-tuned backbone:
69
+
70
+ ```python
71
+ from transformers import EsmForMaskedLM
72
+
73
+ backbone = EsmForMaskedLM.from_pretrained(
74
+ "appliedCL/interseek-35m-b128-e10", subfolder="esm2"
75
+ )
76
+ ```
77
+
78
+ The backbone alone does not produce interaction scores.
79
+
80
+ ## Training and data
81
+
82
+ Both protein sequences are tokenised jointly as `[CLS] A [EOS] B [EOS]` with
83
+ up to 1,024 tokens and two window views. The CLS head produces view logits,
84
+ which are pooled using log-mean-exp. Inference averages the two input-order
85
+ logits before applying sigmoid, giving a symmetric interaction score.
86
+
87
+ Training uses binary cross-entropy plus masked amino-acid prediction weighted
88
+ by 0.1, with mask probability 0.15. Settings: microbatch 4, accumulation 32,
89
+ seed 17, AdamW, encoder/head learning rates 2e-5/1e-4, weight decay 0.01 and
90
+ 100 warm-up updates. Hardware: NVIDIA H100 PCIe, BF16; PyTorch 2.8.0+cu128 and
91
+ Transformers 5.12.1. Checkpoint selection uses validation AUROC; threshold
92
+ selection uses validation MCC.
93
+
94
+ Training uses **163,192 human HIPPIE-derived protein pairs** from the published
95
+ [Bernett gold-standard Intra1 split](https://doi.org/10.1093/bib/bbae076), with
96
+ 81,596 positive and 81,596 negative labels. Validation uses 59,260 Intra0 pairs,
97
+ also balanced. Sequences come from the authors'
98
+ [corrected Figshare version 4](https://doi.org/10.6084/m9.figshare.21591618.v4).
99
+ The development split fingerprints exactly match the original B16-E3 experiment.
100
+ Human Intra2 (52,048 pairs) and D-SCRIPT yeast (55,000 pairs) are held out.
101
+
102
+ ## Intended use and limitations
103
+
104
+ Use for protein-interaction research, candidate ranking and experimental follow-up.
105
+ A score does not establish physical binding or causation. Sampled negatives,
106
+ dataset biases, possible ESM-2 pretraining exposure and bounded sequence windows
107
+ limit conclusions. Local audits check protein identifiers and exact sequences;
108
+ no new all-against-all homology or pretraining-exposure audit was run. Additional
109
+ seeds, matched baselines, held-out tests and experimental validation remain needed.
110
+
111
+ ## Release contents
112
+
113
+ - `model.safetensors`: complete selected pair model, with checkpoint tensors unchanged.
114
+ - `esm2/`: fine-tuned ESM-2 backbone; `interaction_head.safetensors`: separate head.
115
+ - `config.json`: settings, source identity, checkpoint identity and threshold.
116
+ - `predict.py`, InterSeek wheel and `requirements-inference.txt`: matching inference package.
117
+ - `selection.json`, `validation-history.json`, `training-provenance.json`: exact run records.
118
+ - `study.json` and `data-audit.json`: pinned dataset provenance and audit.
119
+ - `inference-verification.json`: checkpoint/export equivalence and inference checks.
120
+ - `SHA256SUMS`: file-integrity checks.
121
+
122
+ The release contains inference weights, without optimiser state or training data.
123
+ See [source and experiment report](https://github.com/appliedCL/interseek).
124
+ InterSeek and the upstream ESM-2 weights use the MIT license; both licenses are included.
SHA256SUMS ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 5642779c2309d08d8d46a1c9dffcf342554ba8cb28b2a80c1e040e4b8aec9166 LICENSE
2
+ da6d3703ed11cbe42bd212c725957c98da23cbff1998c05fa4b3d976d1a58e93 LICENSE.esm2
3
+ d3747a854fadc4822d858afe604aac882bc2dcd6ab7d69c9109c366fa8189b7b README.md
4
+ 02b18b73574e0fb4de082c71f2a22e5907144e6e54b54a95d4e3568bf70f6c74 config.json
5
+ ce4ef20c6ea5102d3bf181e25088d04fb7e70022074cbbe23981e9d25b4a2202 data-audit.json
6
+ 936e5b5911ce374b427d470e61d9790d45f25bbf44dcebd97ebc38cd45dfe2ff esm2/config.json
7
+ 28059cd408986942f4155d445d974dc743b1026728fe01d4821e1b0a5f069e18 esm2/model.safetensors
8
+ c1f80d645a3a2b8cd6d0a70787cffa5d055af146af42f82ad400aba77bd153bd example_pairs.csv
9
+ 617a1e5757349a0fd22cb718c2ad77d39865444821297e31d036c93337ad8c76 inference-verification.json
10
+ 7885882a2b3f2ee80ed5ffe11af7d2176bd44a0383cf8f089b3e251dfc6ebf1d interaction_head.safetensors
11
+ 967f0cf56ec646ba1764e879fae221785c90a084451690b40f2c5133dd7eb8fd interseek-0.3.0-py3-none-any.whl
12
+ 7e435e1e9d952160810c96a4c62fc987795ef5c3af06261db8890bedf02a4243 model.safetensors
13
+ 696f112dec742e6cc36441a507222215d73d3b9b0f2c3441f8de5407b4954845 predict.py
14
+ b314c6d08f94dc0bfaa001edc61c3fa83800ea9a6336e359bd6720807f9c5a95 requirements-inference.txt
15
+ 379278bde62fb80bbf36b15b256cbe148c2ce759fa4b0e63d7ac6dbbbf238ff3 selection.json
16
+ 4ce66f28d136cb211d943a1aaab3086314c057fb1a4363f1d0f567be758bb073 study.json
17
+ 2cd1b3ba27eb8541a56aeb70bc1cf5f5f1cfc6254f029c3bfc618fc3b592a9d7 training-provenance.json
18
+ 1c6fc7e2793cf1821360403f279379b0ad4362835d4707c9ce8e21b03af6d377 validation-history.json
config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "interseek-inference-v1",
3
+ "model_name": "InterSeek 35M B128-E10",
4
+ "base_model": "facebook/esm2_t12_35M_UR50D",
5
+ "training_complete": true,
6
+ "completed_training_step": 12750,
7
+ "selected_step": 6375,
8
+ "selected_epoch": 5,
9
+ "checkpoint": {
10
+ "file": "step-00006375-8958f99f.pt",
11
+ "sha256": "cef7ecfd7966c6175f193d7d664ab22908da66cfe9e1f92f19ac86e07605d039",
12
+ "step": 6375
13
+ },
14
+ "threshold": 0.634100615978241,
15
+ "protocol": {
16
+ "config": {
17
+ "epochs": 10,
18
+ "seed": 17,
19
+ "batch_size": 4,
20
+ "accumulation": 32,
21
+ "encoder_lr": 2e-05,
22
+ "head_lr": 0.0001,
23
+ "weight_decay": 0.01,
24
+ "warmup_updates": 100,
25
+ "mlm_weight": 0.1,
26
+ "mask_probability": 0.15,
27
+ "max_tokens": 1024,
28
+ "max_views": 2,
29
+ "head": "cls",
30
+ "head_width": 128,
31
+ "dropout": 0.1,
32
+ "gradient_checkpointing": true,
33
+ "eval_every": 1000,
34
+ "checkpoint_every": 25,
35
+ "positive_weight": null
36
+ },
37
+ "training": "06420ac4ca2b498d39c5973edbba45f7d319a33f4dc6e5f5a44af36b5f42234c",
38
+ "validation": "42a5f624ff53cbd1f8063b3bb5e8b73f3568c636e9724878f4090abb1cbf07f7",
39
+ "initialization": {
40
+ "kind": "pretrained-esm2",
41
+ "source": "facebook/esm2_t12_35M_UR50D",
42
+ "revision": "6fbf070e65b0b7291e7bbcd451118c216cff79d8",
43
+ "config": {
44
+ "transformers_version": "5.12.1",
45
+ "architectures": [
46
+ "EsmForMaskedLM"
47
+ ],
48
+ "output_hidden_states": false,
49
+ "return_dict": true,
50
+ "dtype": "float32",
51
+ "chunk_size_feed_forward": 0,
52
+ "is_encoder_decoder": false,
53
+ "id2label": {
54
+ "0": "LABEL_0",
55
+ "1": "LABEL_1"
56
+ },
57
+ "label2id": {
58
+ "LABEL_0": 0,
59
+ "LABEL_1": 1
60
+ },
61
+ "problem_type": null,
62
+ "vocab_size": 33,
63
+ "mask_token_id": 32,
64
+ "pad_token_id": 1,
65
+ "hidden_size": 480,
66
+ "num_hidden_layers": 12,
67
+ "num_attention_heads": 20,
68
+ "intermediate_size": 1920,
69
+ "hidden_dropout_prob": 0.0,
70
+ "attention_probs_dropout_prob": 0.0,
71
+ "max_position_embeddings": 1026,
72
+ "rope_theta": 10000.0,
73
+ "initializer_range": 0.02,
74
+ "layer_norm_eps": 1e-05,
75
+ "position_embedding_type": "rotary",
76
+ "use_cache": true,
77
+ "emb_layer_norm_before": false,
78
+ "token_dropout": true,
79
+ "is_folding_model": false,
80
+ "esmfold_config": null,
81
+ "vocab_list": null,
82
+ "is_decoder": false,
83
+ "add_cross_attention": false,
84
+ "tie_word_embeddings": true,
85
+ "bos_token_id": null,
86
+ "eos_token_id": 2,
87
+ "_name_or_path": "facebook/esm2_t12_35M_UR50D",
88
+ "classifier_dropout": null,
89
+ "hidden_act": "gelu",
90
+ "model_type": "esm",
91
+ "output_attentions": false
92
+ },
93
+ "initial_weights_sha256": "68431062b2deb45f682f67a0d48ae873b5918ca40a1b3ae5b440ed00ed0c1730"
94
+ },
95
+ "source": "636b88894b767853c85d1b6ee16e917520cd3cfc52ec9c5d71b8d56d7cc08b63",
96
+ "task": "ppi",
97
+ "libraries": {
98
+ "torch": "2.8.0+cu128",
99
+ "transformers": "5.12.1"
100
+ }
101
+ },
102
+ "weights_sha256": "7e435e1e9d952160810c96a4c62fc987795ef5c3af06261db8890bedf02a4243",
103
+ "inference_source_sha256": "636b88894b767853c85d1b6ee16e917520cd3cfc52ec9c5d71b8d56d7cc08b63",
104
+ "held_out_tests_evaluated": false,
105
+ "reload_predictions_identical": true
106
+ }
data-audit.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "splits": {
3
+ "train": {
4
+ "pairs": 163192,
5
+ "labels": {
6
+ "1": 81596,
7
+ "0": 81596
8
+ },
9
+ "proteins": 4286,
10
+ "exact_sequences": 4286,
11
+ "positive_prevalence": 0.5,
12
+ "repeated_unordered_pair_rows": 0,
13
+ "conflicting_unordered_pairs": 0,
14
+ "self_pair_rows": 0,
15
+ "max_positive_degree": 1070,
16
+ "max_negative_degree": 676
17
+ },
18
+ "validation": {
19
+ "pairs": 59260,
20
+ "labels": {
21
+ "1": 29630,
22
+ "0": 29630
23
+ },
24
+ "proteins": 3711,
25
+ "exact_sequences": 3711,
26
+ "positive_prevalence": 0.5,
27
+ "repeated_unordered_pair_rows": 0,
28
+ "conflicting_unordered_pairs": 0,
29
+ "self_pair_rows": 0,
30
+ "max_positive_degree": 545,
31
+ "max_negative_degree": 454
32
+ },
33
+ "bernett_test": {
34
+ "pairs": 52048,
35
+ "labels": {
36
+ "1": 26024,
37
+ "0": 26024
38
+ },
39
+ "proteins": 3022,
40
+ "exact_sequences": 3022,
41
+ "positive_prevalence": 0.5,
42
+ "repeated_unordered_pair_rows": 0,
43
+ "conflicting_unordered_pairs": 0,
44
+ "self_pair_rows": 0,
45
+ "max_positive_degree": 421,
46
+ "max_negative_degree": 297
47
+ },
48
+ "yeast_test": {
49
+ "pairs": 55000,
50
+ "labels": {
51
+ "1": 5000,
52
+ "0": 50000
53
+ },
54
+ "proteins": 5664,
55
+ "exact_sequences": 5591,
56
+ "positive_prevalence": 0.09090909090909091,
57
+ "repeated_unordered_pair_rows": 32,
58
+ "conflicting_unordered_pairs": 4,
59
+ "self_pair_rows": 5,
60
+ "max_positive_degree": 38,
61
+ "max_negative_degree": 35
62
+ }
63
+ },
64
+ "overlaps": {
65
+ "train:validation": {
66
+ "protein_ids": 0,
67
+ "exact_sequences": 0,
68
+ "unordered_sequence_pairs": 0
69
+ },
70
+ "train:bernett_test": {
71
+ "protein_ids": 0,
72
+ "exact_sequences": 0,
73
+ "unordered_sequence_pairs": 0
74
+ },
75
+ "train:yeast_test": {
76
+ "protein_ids": 0,
77
+ "exact_sequences": 0,
78
+ "unordered_sequence_pairs": 0
79
+ },
80
+ "validation:bernett_test": {
81
+ "protein_ids": 0,
82
+ "exact_sequences": 0,
83
+ "unordered_sequence_pairs": 0
84
+ },
85
+ "validation:yeast_test": {
86
+ "protein_ids": 0,
87
+ "exact_sequences": 0,
88
+ "unordered_sequence_pairs": 0
89
+ },
90
+ "bernett_test:yeast_test": {
91
+ "protein_ids": 0,
92
+ "exact_sequences": 0,
93
+ "unordered_sequence_pairs": 0
94
+ }
95
+ },
96
+ "rows_removed": 0,
97
+ "homology": {
98
+ "primary": "Authors' KaHIP partition and CD-HIT redundancy reduction; not recomputed.",
99
+ "independent": "No cross-species homology filtering; orthologues may remain."
100
+ },
101
+ "pretraining_exposure": "Not audited; supervised split separation does not exclude ESM-2 pretraining exposure."
102
+ }
esm2/config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "EsmForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "emb_layer_norm_before": false,
11
+ "eos_token_id": 2,
12
+ "esmfold_config": null,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.0,
15
+ "hidden_size": 480,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 1920,
18
+ "is_decoder": false,
19
+ "is_folding_model": false,
20
+ "layer_norm_eps": 1e-05,
21
+ "mask_token_id": 32,
22
+ "max_position_embeddings": 1026,
23
+ "model_type": "esm",
24
+ "num_attention_heads": 20,
25
+ "num_hidden_layers": 12,
26
+ "pad_token_id": 1,
27
+ "position_embedding_type": "rotary",
28
+ "rope_theta": 10000.0,
29
+ "tie_word_embeddings": true,
30
+ "token_dropout": true,
31
+ "transformers_version": "5.12.1",
32
+ "use_cache": true,
33
+ "vocab_list": null,
34
+ "vocab_size": 33
35
+ }
esm2/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28059cd408986942f4155d445d974dc743b1026728fe01d4821e1b0a5f069e18
3
+ size 134028440
example_pairs.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ pair_id,sequence_a,sequence_b
2
+ illustrative-1,MKTAYIAKQRQISFVKSHFSRQ,GAVLIPFWYSDENQKRHTCM
3
+ illustrative-2,ACDEFGHIKLMNPQRSTVWY,MKWVTFISLLFLFSSAYS
inference-verification.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checkpoint_step": 6375,
3
+ "weights_sha256": "7e435e1e9d952160810c96a4c62fc987795ef5c3af06261db8890bedf02a4243",
4
+ "checkpoint_tensors_unchanged": true,
5
+ "reload_predictions_identical": true,
6
+ "order_symmetry_verified": true,
7
+ "long_sequence_windows_verified": true,
8
+ "batching_max_absolute_difference": 1.1920928955078125e-07,
9
+ "offline_cli_verified": true,
10
+ "matching_wheel_verified": true,
11
+ "backbone_and_head_verified": true,
12
+ "saved_validation_pairs_recomputed": 59260,
13
+ "validation_metrics_match_tolerance": 1e-12,
14
+ "test_pairs": 3,
15
+ "device": "cpu",
16
+ "torch": "2.14.1",
17
+ "transformers": "5.12.1",
18
+ "held_out_tests_evaluated": false
19
+ }
interaction_head.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7885882a2b3f2ee80ed5ffe11af7d2176bd44a0383cf8f089b3e251dfc6ebf1d
3
+ size 6044
interseek-0.3.0-py3-none-any.whl ADDED
Binary file (40.8 kB). View file
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e435e1e9d952160810c96a4c62fc987795ef5c3af06261db8890bedf02a4243
3
+ size 134099876
predict.py ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ import json
3
+ from pathlib import Path
4
+ from types import SimpleNamespace
5
+
6
+ from safetensors.torch import load_file
7
+ from interseek.base import sha256
8
+ from interseek.cli import execution_device, make_model
9
+ from interseek.data import read_records
10
+ from interseek.engine import TrainConfig, predict, source_identity, write_predictions
11
+
12
+ parser = argparse.ArgumentParser(description='Predict interactions with exported InterSeek weights.')
13
+ parser.add_argument('--data', required=True)
14
+ parser.add_argument('--predictions', required=True)
15
+ parser.add_argument('--device', default='auto')
16
+ args = parser.parse_args()
17
+ root = Path(__file__).resolve().parent
18
+ metadata = json.loads((root / 'config.json').read_text())
19
+ if sha256(root / 'model.safetensors') != metadata['weights_sha256']:
20
+ raise ValueError('Exported weights checksum mismatch.')
21
+ if source_identity() != metadata['inference_source_sha256']:
22
+ raise ValueError('Install the InterSeek wheel included with this export.')
23
+ config = TrainConfig(**metadata['protocol']['config'])
24
+ device, precision = execution_device(args.device, 'auto')
25
+ model, batcher, _ = make_model(SimpleNamespace(), config, metadata['protocol']['initialization'])
26
+ model.restore(load_file(str(root / 'model.safetensors')))
27
+ model.to(device)
28
+ model.eval()
29
+ rows = read_records(args.data, labelled=False)
30
+ scores = predict(model, batcher, rows, device, config.batch_size, precision, progress=True)
31
+ write_predictions(args.predictions, rows, scores)
32
+ print(json.dumps({'pairs': len(rows), 'predictions': args.predictions,
33
+ 'validation_threshold': metadata['threshold']}))
requirements-inference.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ torch>=2.8,<3
2
+ transformers==5.12.1
3
+ numpy>=1.24,<3
4
+ scikit-learn>=1.3,<2
5
+ safetensors>=0.4
selection.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "interseek-model-selection-v1",
3
+ "checkpoint_metric": "validation AUROC",
4
+ "threshold_metric": "validation MCC",
5
+ "validation_passes": 22,
6
+ "selected_update": 6375,
7
+ "selected_epoch": 5,
8
+ "completed_epochs": 10,
9
+ "completed_updates": 12750,
10
+ "checkpoint_sha256": "cef7ecfd7966c6175f193d7d664ab22908da66cfe9e1f92f19ac86e07605d039",
11
+ "threshold": 0.634100615978241,
12
+ "validation_metrics": {
13
+ "n": 59260,
14
+ "positive_prevalence": 0.5,
15
+ "auroc": 0.654300940078951,
16
+ "average_precision": 0.6592995049339366,
17
+ "mcc": 0.22623752576606304,
18
+ "precision": 0.6637926529759105,
19
+ "recall": 0.4287208909888626,
20
+ "specificity": 0.7828552143098211,
21
+ "f1": 0.520967047388603,
22
+ "balanced_accuracy": 0.6057880526493419,
23
+ "bce": 0.6721722678368719,
24
+ "brier": 0.23756098165326034,
25
+ "threshold": 0.634100615978241,
26
+ "tp": 12703,
27
+ "tn": 23196,
28
+ "fp": 6434,
29
+ "fn": 16927
30
+ },
31
+ "final_validation_metrics": {
32
+ "n": 59260,
33
+ "positive_prevalence": 0.5,
34
+ "auroc": 0.6475752750567837,
35
+ "average_precision": 0.6541754596999392,
36
+ "mcc": 0.2171520903318736,
37
+ "precision": 0.6406998824486844,
38
+ "recall": 0.47826527168410393,
39
+ "specificity": 0.7317921025987175,
40
+ "f1": 0.5476926644508,
41
+ "balanced_accuracy": 0.6050286871414108,
42
+ "bce": 0.6895205015217266,
43
+ "brier": 0.24317400432858707,
44
+ "threshold": 0.5952573418617249,
45
+ "tp": 14171,
46
+ "tn": 21683,
47
+ "fp": 7947,
48
+ "fn": 15459
49
+ },
50
+ "final_tests_used_for_selection": false,
51
+ "held_out_tests_evaluated": false
52
+ }
study.json ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "interseek-study-v1",
3
+ "created_utc": "2026-11-16T15:34:08.249245+00:00",
4
+ "sources": {
5
+ "schema": "interseek-study-sources-v1",
6
+ "primary": {
7
+ "name": "Bernett gold standard",
8
+ "release": "10.6084/m9.figshare.21591618.v4",
9
+ "paper": "https://doi.org/10.1093/bib/bbae076",
10
+ "pair_files_identical_to_paper_v3": true,
11
+ "sequence_correction": "Author v4 FASTA adds Q96PU5; all other sequences and all pair files match v3."
12
+ },
13
+ "secondary": {
14
+ "name": "D-SCRIPT yeast test",
15
+ "paper": "https://doi.org/10.1016/j.cels.2021.08.010",
16
+ "repository_commit": "23cbb0fbbb454d09ee41ff749c1454d8b3c8a4b8",
17
+ "taxon": 4932,
18
+ "source": "STRING v11 experimentally supported binding interactions; sampled negatives."
19
+ },
20
+ "downloads": [
21
+ {
22
+ "path": "bernett-v4/Intra0_neg_rr.txt",
23
+ "url": "https://ndownloader.figshare.com/files/41270466",
24
+ "sha256": "9e30fa1695b50f7692bcb0bcba2b922e950a90902093aa8bcec402eab6ee2473",
25
+ "bytes": 414832,
26
+ "authors_md5": "4d09773d72d6750894464b5457e29693"
27
+ },
28
+ {
29
+ "path": "bernett-v4/Intra0_pos_rr.txt",
30
+ "url": "https://ndownloader.figshare.com/files/41270469",
31
+ "sha256": "8d1ff603202a0a38f4dc3692807b1b052161e9db3016fe3cdbfe6e0945e03f34",
32
+ "bytes": 414828,
33
+ "authors_md5": "234b5ce2751053d142fe4b4bea3ca0a7"
34
+ },
35
+ {
36
+ "path": "bernett-v4/Intra1_neg_rr.txt",
37
+ "url": "https://ndownloader.figshare.com/files/41270472",
38
+ "sha256": "8bf6544fc737c729a951921c9d62c9febb054910704c89b753c053b994fd8631",
39
+ "bytes": 1142344,
40
+ "authors_md5": "fac611b21a47954db479d11f9695abda"
41
+ },
42
+ {
43
+ "path": "bernett-v4/Intra1_pos_rr.txt",
44
+ "url": "https://ndownloader.figshare.com/files/41270475",
45
+ "sha256": "04e0a34f4636d45cbf0b28edca5fdac746ef59dfa0e18c1b6eb962ea46721a61",
46
+ "bytes": 1142344,
47
+ "authors_md5": "f246532977cca5da9fe287d6a6055f3c"
48
+ },
49
+ {
50
+ "path": "bernett-v4/Intra2_neg_rr.txt",
51
+ "url": "https://ndownloader.figshare.com/files/41270478",
52
+ "sha256": "0772009d9855c47103ebc57216d79a6936ce929a65bca7e768d8dc06996486a7",
53
+ "bytes": 364336,
54
+ "authors_md5": "21868ab122346bff3eebedaca7f4f8c3"
55
+ },
56
+ {
57
+ "path": "bernett-v4/Intra2_pos_rr.txt",
58
+ "url": "https://ndownloader.figshare.com/files/41270481",
59
+ "sha256": "5932f357c1b287467497c22370ea7e0e5074f312f8b73f631852b3c023239a0f",
60
+ "bytes": 364336,
61
+ "authors_md5": "d7171f30eb280b6745d3069a73c77c59"
62
+ },
63
+ {
64
+ "path": "bernett-v4/human_swissprot_oneliner.fasta",
65
+ "url": "https://ndownloader.figshare.com/files/52237748",
66
+ "sha256": "578b02750acb75416b897ee7de07f9f5a4f3a57ec7fbce4b4a62ec84a1851d0d",
67
+ "bytes": 11561571,
68
+ "authors_md5": "e42c282763861e0cf7d71fc78f00649f"
69
+ },
70
+ {
71
+ "path": "dscript/yeast.fasta",
72
+ "url": "https://raw.githubusercontent.com/samsledje/D-SCRIPT/23cbb0fbbb454d09ee41ff749c1454d8b3c8a4b8/data/seqs/yeast.fasta",
73
+ "sha256": "b2461902147c9addb2bdac9f445448a6219b631c4d3e4180397a0573b4cd3dfb",
74
+ "bytes": 2020290
75
+ },
76
+ {
77
+ "path": "dscript/yeast_test.tsv",
78
+ "url": "https://raw.githubusercontent.com/samsledje/D-SCRIPT/23cbb0fbbb454d09ee41ff749c1454d8b3c8a4b8/data/pairs/yeast_test.tsv",
79
+ "sha256": "0fca6c23273fdea405f9fe3566908657df50b2e5241152761222309f62ed1c80",
80
+ "bytes": 1666676
81
+ }
82
+ ],
83
+ "expected": {
84
+ "train": {
85
+ "1": 81596,
86
+ "0": 81596
87
+ },
88
+ "validation": {
89
+ "1": 29630,
90
+ "0": 29630
91
+ },
92
+ "bernett_test": {
93
+ "1": 26024,
94
+ "0": 26024
95
+ },
96
+ "yeast_test": {
97
+ "1": 5000,
98
+ "0": 50000
99
+ }
100
+ }
101
+ },
102
+ "artifacts": {
103
+ "development": {
104
+ "path": "development.csv.gz",
105
+ "sha256": "713a83ea0c317b4537f87d22e327a6db611279b9139b4d4a49bb0b95a3941680",
106
+ "bytes": 195626928
107
+ },
108
+ "bernett_test": {
109
+ "path": "tests/bernett.csv.gz",
110
+ "sha256": "43280418e68e7812fe0dce6a481437db97b2db4f805488cb8fc30b6bcf4e877d",
111
+ "bytes": 31960102
112
+ },
113
+ "yeast_test": {
114
+ "path": "tests/yeast.csv.gz",
115
+ "sha256": "ec45e37b5e8cbaf40a0cbd65f10149bb01642d2dedde14b89ab465bf02740816",
116
+ "bytes": 22645948
117
+ }
118
+ },
119
+ "counts": {
120
+ "train": {
121
+ "pairs": 163192,
122
+ "labels": {
123
+ "1": 81596,
124
+ "0": 81596
125
+ },
126
+ "proteins": 4286,
127
+ "exact_sequences": 4286,
128
+ "positive_prevalence": 0.5,
129
+ "repeated_unordered_pair_rows": 0,
130
+ "conflicting_unordered_pairs": 0,
131
+ "self_pair_rows": 0,
132
+ "max_positive_degree": 1070,
133
+ "max_negative_degree": 676
134
+ },
135
+ "validation": {
136
+ "pairs": 59260,
137
+ "labels": {
138
+ "1": 29630,
139
+ "0": 29630
140
+ },
141
+ "proteins": 3711,
142
+ "exact_sequences": 3711,
143
+ "positive_prevalence": 0.5,
144
+ "repeated_unordered_pair_rows": 0,
145
+ "conflicting_unordered_pairs": 0,
146
+ "self_pair_rows": 0,
147
+ "max_positive_degree": 545,
148
+ "max_negative_degree": 454
149
+ },
150
+ "bernett_test": {
151
+ "pairs": 52048,
152
+ "labels": {
153
+ "1": 26024,
154
+ "0": 26024
155
+ },
156
+ "proteins": 3022,
157
+ "exact_sequences": 3022,
158
+ "positive_prevalence": 0.5,
159
+ "repeated_unordered_pair_rows": 0,
160
+ "conflicting_unordered_pairs": 0,
161
+ "self_pair_rows": 0,
162
+ "max_positive_degree": 421,
163
+ "max_negative_degree": 297
164
+ },
165
+ "yeast_test": {
166
+ "pairs": 55000,
167
+ "labels": {
168
+ "1": 5000,
169
+ "0": 50000
170
+ },
171
+ "proteins": 5664,
172
+ "exact_sequences": 5591,
173
+ "positive_prevalence": 0.09090909090909091,
174
+ "repeated_unordered_pair_rows": 32,
175
+ "conflicting_unordered_pairs": 4,
176
+ "self_pair_rows": 5,
177
+ "max_positive_degree": 38,
178
+ "max_negative_degree": 35
179
+ }
180
+ },
181
+ "selection": {
182
+ "checkpoint": "best validation AUROC",
183
+ "threshold": "validation MCC",
184
+ "final_test_names": [
185
+ "bernett_test",
186
+ "yeast_test"
187
+ ],
188
+ "final_tests_used_for_selection": false,
189
+ "metrics": [
190
+ "average_precision",
191
+ "auroc",
192
+ "mcc",
193
+ "f1",
194
+ "precision",
195
+ "recall"
196
+ ],
197
+ "additional_threshold": 0.5
198
+ },
199
+ "training_fingerprint": "06420ac4ca2b498d39c5973edbba45f7d319a33f4dc6e5f5a44af36b5f42234c",
200
+ "validation_fingerprint": "42a5f624ff53cbd1f8063b3bb5e8b73f3568c636e9724878f4090abb1cbf07f7",
201
+ "audit": {
202
+ "path": "audit.json",
203
+ "sha256": "ce4ef20c6ea5102d3bf181e25088d04fb7e70022074cbbe23981e9d25b4a2202"
204
+ }
205
+ }
training-provenance.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "interseek-experiment-v1",
3
+ "model": "InterSeek 35M B128-E10",
4
+ "status": "complete",
5
+ "completed_utc": "2026-11-17T06:12:26.486244+00:00",
6
+ "training": {
7
+ "protocol": {
8
+ "config": {
9
+ "epochs": 10,
10
+ "seed": 17,
11
+ "batch_size": 4,
12
+ "accumulation": 32,
13
+ "encoder_lr": 2e-05,
14
+ "head_lr": 0.0001,
15
+ "weight_decay": 0.01,
16
+ "warmup_updates": 100,
17
+ "mlm_weight": 0.1,
18
+ "mask_probability": 0.15,
19
+ "max_tokens": 1024,
20
+ "max_views": 2,
21
+ "head": "cls",
22
+ "head_width": 128,
23
+ "dropout": 0.1,
24
+ "gradient_checkpointing": true,
25
+ "eval_every": 1000,
26
+ "checkpoint_every": 25,
27
+ "positive_weight": null
28
+ },
29
+ "training": "06420ac4ca2b498d39c5973edbba45f7d319a33f4dc6e5f5a44af36b5f42234c",
30
+ "validation": "42a5f624ff53cbd1f8063b3bb5e8b73f3568c636e9724878f4090abb1cbf07f7",
31
+ "initialization": {
32
+ "kind": "pretrained-esm2",
33
+ "source": "facebook/esm2_t12_35M_UR50D",
34
+ "revision": "6fbf070e65b0b7291e7bbcd451118c216cff79d8",
35
+ "config": {
36
+ "transformers_version": "5.12.1",
37
+ "architectures": [
38
+ "EsmForMaskedLM"
39
+ ],
40
+ "output_hidden_states": false,
41
+ "return_dict": true,
42
+ "dtype": "float32",
43
+ "chunk_size_feed_forward": 0,
44
+ "is_encoder_decoder": false,
45
+ "id2label": {
46
+ "0": "LABEL_0",
47
+ "1": "LABEL_1"
48
+ },
49
+ "label2id": {
50
+ "LABEL_0": 0,
51
+ "LABEL_1": 1
52
+ },
53
+ "problem_type": null,
54
+ "vocab_size": 33,
55
+ "mask_token_id": 32,
56
+ "pad_token_id": 1,
57
+ "hidden_size": 480,
58
+ "num_hidden_layers": 12,
59
+ "num_attention_heads": 20,
60
+ "intermediate_size": 1920,
61
+ "hidden_dropout_prob": 0.0,
62
+ "attention_probs_dropout_prob": 0.0,
63
+ "max_position_embeddings": 1026,
64
+ "rope_theta": 10000.0,
65
+ "initializer_range": 0.02,
66
+ "layer_norm_eps": 1e-05,
67
+ "position_embedding_type": "rotary",
68
+ "use_cache": true,
69
+ "emb_layer_norm_before": false,
70
+ "token_dropout": true,
71
+ "is_folding_model": false,
72
+ "esmfold_config": null,
73
+ "vocab_list": null,
74
+ "is_decoder": false,
75
+ "add_cross_attention": false,
76
+ "tie_word_embeddings": true,
77
+ "bos_token_id": null,
78
+ "eos_token_id": 2,
79
+ "_name_or_path": "facebook/esm2_t12_35M_UR50D",
80
+ "classifier_dropout": null,
81
+ "hidden_act": "gelu",
82
+ "model_type": "esm",
83
+ "output_attentions": false
84
+ },
85
+ "initial_weights_sha256": "68431062b2deb45f682f67a0d48ae873b5918ca40a1b3ae5b440ed00ed0c1730"
86
+ },
87
+ "source": "636b88894b767853c85d1b6ee16e917520cd3cfc52ec9c5d71b8d56d7cc08b63",
88
+ "task": "ppi",
89
+ "libraries": {
90
+ "torch": "2.8.0+cu128",
91
+ "transformers": "5.12.1"
92
+ }
93
+ },
94
+ "positive_weight": 1.0,
95
+ "training_pairs": 163192,
96
+ "validation_pairs": 59260,
97
+ "device": "cuda:0",
98
+ "precision": "bf16",
99
+ "total_updates": 12750,
100
+ "evidence": "Development validation; no final-test selection or guaranteed performance.",
101
+ "window_limit": "max_views bounds coverage; long pairs may have unobserved window combinations."
102
+ },
103
+ "hardware": "NVIDIA H100 PCIe",
104
+ "completed_updates": 12750,
105
+ "release_repository": "appliedCL/interseek-35m-b128-e10"
106
+ }
validation-history.json ADDED
@@ -0,0 +1,508 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "step": 1000,
4
+ "epoch": 0,
5
+ "validation": {
6
+ "n": 59260,
7
+ "positive_prevalence": 0.5,
8
+ "auroc": 0.6408280105324198,
9
+ "average_precision": 0.6407987264399013,
10
+ "mcc": 0.2041215066451989,
11
+ "precision": 0.6200861063050739,
12
+ "recall": 0.5201147485656429,
13
+ "specificity": 0.6813364832939588,
14
+ "f1": 0.565717746820109,
15
+ "balanced_accuracy": 0.6007256159298009,
16
+ "bce": 0.662573022926912,
17
+ "brier": 0.23529014070669352,
18
+ "threshold": 0.48812058568000793,
19
+ "tp": 15411,
20
+ "tn": 20188,
21
+ "fp": 9442,
22
+ "fn": 14219
23
+ }
24
+ },
25
+ {
26
+ "step": 1275,
27
+ "epoch": 0,
28
+ "validation": {
29
+ "n": 59260,
30
+ "positive_prevalence": 0.5,
31
+ "auroc": 0.6444155212065924,
32
+ "average_precision": 0.651093147456173,
33
+ "mcc": 0.21307499121639384,
34
+ "precision": 0.6327189733873051,
35
+ "recall": 0.49588255146810667,
36
+ "specificity": 0.7121498481268984,
37
+ "f1": 0.556005449178839,
38
+ "balanced_accuracy": 0.6040161997975025,
39
+ "bce": 0.6601780849716545,
40
+ "brier": 0.23427348424864744,
41
+ "threshold": 0.5152852535247803,
42
+ "tp": 14693,
43
+ "tn": 21101,
44
+ "fp": 8529,
45
+ "fn": 14937
46
+ }
47
+ },
48
+ {
49
+ "step": 2000,
50
+ "epoch": 1,
51
+ "validation": {
52
+ "n": 59260,
53
+ "positive_prevalence": 0.5,
54
+ "auroc": 0.642081692317523,
55
+ "average_precision": 0.6464182378939293,
56
+ "mcc": 0.20409758091681612,
57
+ "precision": 0.6096089547899404,
58
+ "recall": 0.5661154235572056,
59
+ "specificity": 0.6374620317246035,
60
+ "f1": 0.5870577118258495,
61
+ "balanced_accuracy": 0.6017887276409045,
62
+ "bce": 0.6685781127112441,
63
+ "brier": 0.23713864859610595,
64
+ "threshold": 0.5274848341941833,
65
+ "tp": 16774,
66
+ "tn": 18888,
67
+ "fp": 10742,
68
+ "fn": 12856
69
+ }
70
+ },
71
+ {
72
+ "step": 2550,
73
+ "epoch": 1,
74
+ "validation": {
75
+ "n": 59260,
76
+ "positive_prevalence": 0.5,
77
+ "auroc": 0.642216069856501,
78
+ "average_precision": 0.6511996859048735,
79
+ "mcc": 0.21283911553533988,
80
+ "precision": 0.634440161205537,
81
+ "recall": 0.48879514006074926,
82
+ "specificity": 0.7183597705028687,
83
+ "f1": 0.552175073392047,
84
+ "balanced_accuracy": 0.603577455281809,
85
+ "bce": 0.6621175506214818,
86
+ "brier": 0.23476110308261214,
87
+ "threshold": 0.5007638931274414,
88
+ "tp": 14483,
89
+ "tn": 21285,
90
+ "fp": 8345,
91
+ "fn": 15147
92
+ }
93
+ },
94
+ {
95
+ "step": 3000,
96
+ "epoch": 2,
97
+ "validation": {
98
+ "n": 59260,
99
+ "positive_prevalence": 0.5,
100
+ "auroc": 0.6480686783981856,
101
+ "average_precision": 0.652636556111396,
102
+ "mcc": 0.22459575171488266,
103
+ "precision": 0.643651570424415,
104
+ "recall": 0.48828889638879514,
105
+ "specificity": 0.7296658791765103,
106
+ "f1": 0.5553082060336225,
107
+ "balanced_accuracy": 0.6089773877826528,
108
+ "bce": 0.6601002310568331,
109
+ "brier": 0.23370318516360605,
110
+ "threshold": 0.5256732106208801,
111
+ "tp": 14468,
112
+ "tn": 21620,
113
+ "fp": 8010,
114
+ "fn": 15162
115
+ }
116
+ },
117
+ {
118
+ "step": 3825,
119
+ "epoch": 2,
120
+ "validation": {
121
+ "n": 59260,
122
+ "positive_prevalence": 0.5,
123
+ "auroc": 0.6511050999223293,
124
+ "average_precision": 0.658854412028264,
125
+ "mcc": 0.22082565587630032,
126
+ "precision": 0.6307087571422783,
127
+ "recall": 0.5252784340195747,
128
+ "specificity": 0.6924400944988187,
129
+ "f1": 0.5731857771557994,
130
+ "balanced_accuracy": 0.6088592642591968,
131
+ "bce": 0.6614343784241562,
132
+ "brier": 0.23424556862086965,
133
+ "threshold": 0.5473960041999817,
134
+ "tp": 15564,
135
+ "tn": 20517,
136
+ "fp": 9113,
137
+ "fn": 14066
138
+ }
139
+ },
140
+ {
141
+ "step": 4000,
142
+ "epoch": 3,
143
+ "validation": {
144
+ "n": 59260,
145
+ "positive_prevalence": 0.5,
146
+ "auroc": 0.6498753344346273,
147
+ "average_precision": 0.6560191606914024,
148
+ "mcc": 0.2224972750789873,
149
+ "precision": 0.6474803406076962,
150
+ "recall": 0.469625379682754,
151
+ "specificity": 0.744313196085049,
152
+ "f1": 0.5443946714657382,
153
+ "balanced_accuracy": 0.6069692878839015,
154
+ "bce": 0.6586142740170148,
155
+ "brier": 0.23332965433481548,
156
+ "threshold": 0.5654644966125488,
157
+ "tp": 13915,
158
+ "tn": 22054,
159
+ "fp": 7576,
160
+ "fn": 15715
161
+ }
162
+ },
163
+ {
164
+ "step": 5000,
165
+ "epoch": 3,
166
+ "validation": {
167
+ "n": 59260,
168
+ "positive_prevalence": 0.5,
169
+ "auroc": 0.6516958764348554,
170
+ "average_precision": 0.65939209541934,
171
+ "mcc": 0.22362824717987162,
172
+ "precision": 0.6497572014520767,
173
+ "recall": 0.4651366857914276,
174
+ "specificity": 0.7492743840701991,
175
+ "f1": 0.5421608544285125,
176
+ "balanced_accuracy": 0.6072055349308133,
177
+ "bce": 0.6703255112088977,
178
+ "brier": 0.23655190877893126,
179
+ "threshold": 0.5878234505653381,
180
+ "tp": 13782,
181
+ "tn": 22201,
182
+ "fp": 7429,
183
+ "fn": 15848
184
+ }
185
+ },
186
+ {
187
+ "step": 5100,
188
+ "epoch": 3,
189
+ "validation": {
190
+ "n": 59260,
191
+ "positive_prevalence": 0.5,
192
+ "auroc": 0.6458501100705529,
193
+ "average_precision": 0.6526645473408841,
194
+ "mcc": 0.2152122688513832,
195
+ "precision": 0.658550941780822,
196
+ "recall": 0.4153560580492744,
197
+ "specificity": 0.7846439419507256,
198
+ "f1": 0.5094167804958815,
199
+ "balanced_accuracy": 0.6,
200
+ "bce": 0.6734533528375095,
201
+ "brier": 0.23785866857046553,
202
+ "threshold": 0.6193561553955078,
203
+ "tp": 12307,
204
+ "tn": 23249,
205
+ "fp": 6381,
206
+ "fn": 17323
207
+ }
208
+ },
209
+ {
210
+ "step": 6000,
211
+ "epoch": 4,
212
+ "validation": {
213
+ "n": 59260,
214
+ "positive_prevalence": 0.5,
215
+ "auroc": 0.651716289633116,
216
+ "average_precision": 0.6579822289163519,
217
+ "mcc": 0.22097842274559232,
218
+ "precision": 0.6430603857097692,
219
+ "recall": 0.48052649341883225,
220
+ "specificity": 0.7332770840364495,
221
+ "f1": 0.5500376658747175,
222
+ "balanced_accuracy": 0.6069017887276409,
223
+ "bce": 0.6622114846210346,
224
+ "brier": 0.23422707625738032,
225
+ "threshold": 0.5423628091812134,
226
+ "tp": 14238,
227
+ "tn": 21727,
228
+ "fp": 7903,
229
+ "fn": 15392
230
+ }
231
+ },
232
+ {
233
+ "step": 6375,
234
+ "epoch": 4,
235
+ "validation": {
236
+ "n": 59260,
237
+ "positive_prevalence": 0.5,
238
+ "auroc": 0.654300940078951,
239
+ "average_precision": 0.6592995049339366,
240
+ "mcc": 0.22623752576606304,
241
+ "precision": 0.6637926529759105,
242
+ "recall": 0.4287208909888626,
243
+ "specificity": 0.7828552143098211,
244
+ "f1": 0.520967047388603,
245
+ "balanced_accuracy": 0.6057880526493419,
246
+ "bce": 0.6721722678368719,
247
+ "brier": 0.23756098165326034,
248
+ "threshold": 0.634100615978241,
249
+ "tp": 12703,
250
+ "tn": 23196,
251
+ "fp": 6434,
252
+ "fn": 16927
253
+ }
254
+ },
255
+ {
256
+ "step": 7000,
257
+ "epoch": 5,
258
+ "validation": {
259
+ "n": 59260,
260
+ "positive_prevalence": 0.5,
261
+ "auroc": 0.6520552929259495,
262
+ "average_precision": 0.6575991172655161,
263
+ "mcc": 0.22409963718167897,
264
+ "precision": 0.6412407164700743,
265
+ "recall": 0.49537630779615255,
266
+ "specificity": 0.722848464394195,
267
+ "f1": 0.5589489718202589,
268
+ "balanced_accuracy": 0.6091123860951738,
269
+ "bce": 0.6785053285209546,
270
+ "brier": 0.2393737080467554,
271
+ "threshold": 0.575289785861969,
272
+ "tp": 14678,
273
+ "tn": 21418,
274
+ "fp": 8212,
275
+ "fn": 14952
276
+ }
277
+ },
278
+ {
279
+ "step": 7650,
280
+ "epoch": 5,
281
+ "validation": {
282
+ "n": 59260,
283
+ "positive_prevalence": 0.5,
284
+ "auroc": 0.6506677609746212,
285
+ "average_precision": 0.6553401852305878,
286
+ "mcc": 0.21919941128426573,
287
+ "precision": 0.6391607158600018,
288
+ "recall": 0.4893688828889639,
289
+ "specificity": 0.7237259534255822,
290
+ "f1": 0.5543237250554324,
291
+ "balanced_accuracy": 0.6065474181572731,
292
+ "bce": 0.6667718604124414,
293
+ "brier": 0.23573855896568302,
294
+ "threshold": 0.5630850791931152,
295
+ "tp": 14500,
296
+ "tn": 21444,
297
+ "fp": 8186,
298
+ "fn": 15130
299
+ }
300
+ },
301
+ {
302
+ "step": 8000,
303
+ "epoch": 6,
304
+ "validation": {
305
+ "n": 59260,
306
+ "positive_prevalence": 0.5,
307
+ "auroc": 0.6497259062695735,
308
+ "average_precision": 0.6568987122812794,
309
+ "mcc": 0.22063945464090445,
310
+ "precision": 0.645144937554726,
311
+ "recall": 0.47246034424569694,
312
+ "specificity": 0.7401282483968951,
313
+ "f1": 0.5454616298778469,
314
+ "balanced_accuracy": 0.6062942963212961,
315
+ "bce": 0.6789961961577075,
316
+ "brier": 0.23980949585592698,
317
+ "threshold": 0.5987978577613831,
318
+ "tp": 13999,
319
+ "tn": 21930,
320
+ "fp": 7700,
321
+ "fn": 15631
322
+ }
323
+ },
324
+ {
325
+ "step": 8925,
326
+ "epoch": 6,
327
+ "validation": {
328
+ "n": 59260,
329
+ "positive_prevalence": 0.5,
330
+ "auroc": 0.6472221175576514,
331
+ "average_precision": 0.6530883277877098,
332
+ "mcc": 0.2158985620350597,
333
+ "precision": 0.652375902641014,
334
+ "recall": 0.4360107998650017,
335
+ "specificity": 0.7676679041511981,
336
+ "f1": 0.5226872736835717,
337
+ "balanced_accuracy": 0.6018393520080999,
338
+ "bce": 0.6783129710589537,
339
+ "brier": 0.23970753157995778,
340
+ "threshold": 0.5949056148529053,
341
+ "tp": 12919,
342
+ "tn": 22746,
343
+ "fp": 6884,
344
+ "fn": 16711
345
+ }
346
+ },
347
+ {
348
+ "step": 9000,
349
+ "epoch": 7,
350
+ "validation": {
351
+ "n": 59260,
352
+ "positive_prevalence": 0.5,
353
+ "auroc": 0.6491973717017704,
354
+ "average_precision": 0.6545083404869144,
355
+ "mcc": 0.21823317369091708,
356
+ "precision": 0.6502467868836437,
357
+ "recall": 0.4490718866014175,
358
+ "specificity": 0.7584542693216335,
359
+ "f1": 0.5312518715189747,
360
+ "balanced_accuracy": 0.6037630779615255,
361
+ "bce": 0.6800009572638995,
362
+ "brier": 0.24013118382579907,
363
+ "threshold": 0.5983121991157532,
364
+ "tp": 13306,
365
+ "tn": 22473,
366
+ "fp": 7157,
367
+ "fn": 16324
368
+ }
369
+ },
370
+ {
371
+ "step": 10000,
372
+ "epoch": 7,
373
+ "validation": {
374
+ "n": 59260,
375
+ "positive_prevalence": 0.5,
376
+ "auroc": 0.6472036390086804,
377
+ "average_precision": 0.6517297099270365,
378
+ "mcc": 0.21895487485155332,
379
+ "precision": 0.6605860766898899,
380
+ "recall": 0.41920350995612554,
381
+ "specificity": 0.7846101923725953,
382
+ "f1": 0.5129147482088658,
383
+ "balanced_accuracy": 0.6019068511643604,
384
+ "bce": 0.6835682965585979,
385
+ "brier": 0.24139902083030648,
386
+ "threshold": 0.598816990852356,
387
+ "tp": 12421,
388
+ "tn": 23248,
389
+ "fp": 6382,
390
+ "fn": 17209
391
+ }
392
+ },
393
+ {
394
+ "step": 10200,
395
+ "epoch": 7,
396
+ "validation": {
397
+ "n": 59260,
398
+ "positive_prevalence": 0.5,
399
+ "auroc": 0.647376674792915,
400
+ "average_precision": 0.6546283036320849,
401
+ "mcc": 0.21757425006773484,
402
+ "precision": 0.6497484246006546,
403
+ "recall": 0.4489031387107661,
404
+ "specificity": 0.7580155248059399,
405
+ "f1": 0.5309674457595657,
406
+ "balanced_accuracy": 0.603459331758353,
407
+ "bce": 0.6838132708090168,
408
+ "brier": 0.2414840710489279,
409
+ "threshold": 0.5960050821304321,
410
+ "tp": 13301,
411
+ "tn": 22460,
412
+ "fp": 7170,
413
+ "fn": 16329
414
+ }
415
+ },
416
+ {
417
+ "step": 11000,
418
+ "epoch": 8,
419
+ "validation": {
420
+ "n": 59260,
421
+ "positive_prevalence": 0.5,
422
+ "auroc": 0.6475335767297171,
423
+ "average_precision": 0.6544436688323818,
424
+ "mcc": 0.21858997446897752,
425
+ "precision": 0.64727963886909,
426
+ "recall": 0.4597367532905839,
427
+ "specificity": 0.7494768815389807,
428
+ "f1": 0.5376221016280217,
429
+ "balanced_accuracy": 0.6046068174147823,
430
+ "bce": 0.6878437770302266,
431
+ "brier": 0.24266462294662702,
432
+ "threshold": 0.602225661277771,
433
+ "tp": 13622,
434
+ "tn": 22207,
435
+ "fp": 7423,
436
+ "fn": 16008
437
+ }
438
+ },
439
+ {
440
+ "step": 11475,
441
+ "epoch": 8,
442
+ "validation": {
443
+ "n": 59260,
444
+ "positive_prevalence": 0.5,
445
+ "auroc": 0.644900740019015,
446
+ "average_precision": 0.6517593737160313,
447
+ "mcc": 0.21491100129343466,
448
+ "precision": 0.6466383307573416,
449
+ "recall": 0.4518393520080999,
450
+ "specificity": 0.75308808639892,
451
+ "f1": 0.5319664640203441,
452
+ "balanced_accuracy": 0.6024637192035099,
453
+ "bce": 0.6912935516262496,
454
+ "brier": 0.24398117017799237,
455
+ "threshold": 0.6003054976463318,
456
+ "tp": 13388,
457
+ "tn": 22314,
458
+ "fp": 7316,
459
+ "fn": 16242
460
+ }
461
+ },
462
+ {
463
+ "step": 12000,
464
+ "epoch": 9,
465
+ "validation": {
466
+ "n": 59260,
467
+ "positive_prevalence": 0.5,
468
+ "auroc": 0.6485468192531832,
469
+ "average_precision": 0.6550651037568959,
470
+ "mcc": 0.21885611853707854,
471
+ "precision": 0.6469280612968832,
472
+ "recall": 0.4616267296658792,
473
+ "specificity": 0.7480593992575093,
474
+ "f1": 0.5387903019321293,
475
+ "balanced_accuracy": 0.6048430644616942,
476
+ "bce": 0.6911110680301179,
477
+ "brier": 0.24348751656603254,
478
+ "threshold": 0.6026655435562134,
479
+ "tp": 13678,
480
+ "tn": 22165,
481
+ "fp": 7465,
482
+ "fn": 15952
483
+ }
484
+ },
485
+ {
486
+ "step": 12750,
487
+ "epoch": 9,
488
+ "validation": {
489
+ "n": 59260,
490
+ "positive_prevalence": 0.5,
491
+ "auroc": 0.6475752750567837,
492
+ "average_precision": 0.6541754596999392,
493
+ "mcc": 0.2171520903318736,
494
+ "precision": 0.6406998824486844,
495
+ "recall": 0.47826527168410393,
496
+ "specificity": 0.7317921025987175,
497
+ "f1": 0.5476926644508,
498
+ "balanced_accuracy": 0.6050286871414108,
499
+ "bce": 0.6895205015217266,
500
+ "brier": 0.24317400432858707,
501
+ "threshold": 0.5952573418617249,
502
+ "tp": 14171,
503
+ "tn": 21683,
504
+ "fp": 7947,
505
+ "fn": 15459
506
+ }
507
+ }
508
+ ]