fondress commited on
Commit
e5fdc71
verified
1 Parent(s): 1dc1510

Delete configuration_PDeepPP.py

Browse files
Files changed (1) hide show
  1. configuration_PDeepPP.py +0 -39
configuration_PDeepPP.py DELETED
@@ -1,39 +0,0 @@
1
- import os
2
- from typing import Dict, List, Optional, Union
3
-
4
- from transformers.configuration_utils import PretrainedConfig
5
- from transformers.utils import logging
6
-
7
- logger = logging.get_logger(__name__)
8
-
9
- class PDeepPPConfig(PretrainedConfig):
10
- """
11
- PDeepPP妯″瀷鐨勯厤缃被锛岀敤浜嶱TM棰勬祴
12
- """
13
- model_type = "PDeepPP"
14
-
15
- def __init__(
16
- self,
17
- input_size=1280,
18
- output_size=128,
19
- num_heads=8,
20
- hidden_size=256,
21
- num_transformer_layers=4,
22
- dropout=0.3,
23
- ptm_type="ACE",
24
- esm_ratio=0.96,
25
- lambda_=1,
26
- **kwargs
27
- ):
28
- super().__init__(**kwargs)
29
- self.input_size = input_size
30
- self.output_size = output_size
31
- self.num_heads = num_heads
32
- self.hidden_size = hidden_size
33
- self.num_transformer_layers = num_transformer_layers
34
- self.dropout = dropout
35
- self.ptm_type = ptm_type
36
- self.esm_ratio = esm_ratio
37
- self.lambda_ = lambda_
38
-
39
- PDeepPPConfig.register_for_auto_class()