steveyu323 commited on
Commit
e686732
·
verified ·
1 Parent(s): c592c9c

Upload folder using huggingface_hub

Browse files
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - protein
4
+ - biology
5
+ - kinase
6
+ - sequence-classification
7
+ ---
8
+
9
+ # Kinase–Substrate Interaction Classifier
10
+
11
+ Fine-tuned from TAPE ProteinBERT (`bert-base`) on kinase–substrate pairs.
12
+
13
+ ## Input
14
+ Concatenated kinase + `<sep>` + substrate amino acid sequences.
15
+
16
+ ## Output
17
+ Binary classification: 1 = interaction, 0 = no interaction
18
+
19
+ ## SETUP ENV
20
+
21
+ ```
22
+ pip install tensorboard
23
+ pip install einops
24
+ pip install scikit-learn
25
+ pip install plotnine
26
+ pip install seaborn
27
+ pip install tape-proteins pandas numpy pyyaml tqdm scikit-learn tensorboard
28
+ pip install transformers
29
+ pip install torch
30
+ ```
31
+
32
+ ## Inference
33
+
34
+ ```
35
+ from tape import ProteinBertForSequenceClassification, TAPETokenizer
36
+ model = ProteinBertForSequenceClassification.from_pretrained("steveyu323/kinbert_v2_long")
37
+ ```
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - protein
4
+ - biology
5
+ - kinase
6
+ - sequence-classification
7
+ ---
8
+
9
+ # Kinase–Substrate Interaction Classifier
10
+
11
+ Fine-tuned from TAPE ProteinBERT (`bert-base`) on kinase–substrate pairs.
12
+
13
+ ## Input
14
+ Concatenated kinase + `<sep>` + substrate amino acid sequences.
15
+
16
+ ## Output
17
+ Binary classification: 1 = interaction, 0 = no interaction
18
+
19
+ ## SETUP ENV
20
+
21
+ ```
22
+ pip install tensorboard
23
+ pip install einops
24
+ pip install scikit-learn
25
+ pip install plotnine
26
+ pip install seaborn
27
+ pip install tape-proteins pandas numpy pyyaml tqdm scikit-learn tensorboard
28
+ pip install transformers
29
+ pip install torch
30
+ ```
31
+
32
+ ## Inference
33
+
34
+ ```
35
+ from tape import ProteinBertForSequenceClassification, TAPETokenizer
36
+ model = ProteinBertForSequenceClassification.from_pretrained("steveyu323/kinbert_v2_long")
37
+ ```
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attention_probs_dropout_prob": 0.1,
3
+ "base_model": "transformer",
4
+ "finetuning_task": null,
5
+ "hidden_act": "gelu",
6
+ "hidden_dropout_prob": 0.1,
7
+ "hidden_size": 768,
8
+ "initializer_range": 0.02,
9
+ "input_size": 768,
10
+ "intermediate_size": 3072,
11
+ "layer_norm_eps": 1e-12,
12
+ "max_position_embeddings": 8192,
13
+ "num_attention_heads": 12,
14
+ "num_hidden_layers": 12,
15
+ "num_labels": 2,
16
+ "output_attentions": false,
17
+ "output_hidden_states": false,
18
+ "output_size": 768,
19
+ "pruned_heads": {},
20
+ "torchscript": false,
21
+ "type_vocab_size": 1,
22
+ "vocab_size": 30
23
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2f9b809b19eaa854881efd895ed93165792da983ac112c0e617143a57c55fcf
3
+ size 369507479
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"vocab": "iupac", "threshold": 0.7734375}