emekaphilians commited on
Commit
4b8fccb
·
verified ·
1 Parent(s): 230a814

Upload config

Browse files
Files changed (1) hide show
  1. config.json +62 -62
config.json CHANGED
@@ -1,62 +1,62 @@
1
- {
2
- "add_cross_attention": false,
3
- "architectures": [
4
- "RobertaForSequenceClassification"
5
- ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "bos_token_id": 0,
8
- "classifier_dropout": null,
9
- "dtype": "float32",
10
- "eos_token_id": 2,
11
- "hidden_act": "gelu",
12
- "hidden_dropout_prob": 0.1,
13
- "hidden_size": 768,
14
- "id2label": {
15
- "0": "LABEL_0",
16
- "1": "LABEL_1",
17
- "2": "LABEL_2",
18
- "3": "LABEL_3",
19
- "4": "LABEL_4",
20
- "5": "LABEL_5",
21
- "6": "LABEL_6",
22
- "7": "LABEL_7",
23
- "8": "LABEL_8",
24
- "9": "LABEL_9",
25
- "10": "LABEL_10",
26
- "11": "LABEL_11",
27
- "12": "LABEL_12",
28
- "13": "LABEL_13"
29
- },
30
- "initializer_range": 0.02,
31
- "intermediate_size": 3072,
32
- "is_decoder": false,
33
- "label2id": {
34
- "LABEL_0": 0,
35
- "LABEL_1": 1,
36
- "LABEL_10": 10,
37
- "LABEL_11": 11,
38
- "LABEL_12": 12,
39
- "LABEL_13": 13,
40
- "LABEL_2": 2,
41
- "LABEL_3": 3,
42
- "LABEL_4": 4,
43
- "LABEL_5": 5,
44
- "LABEL_6": 6,
45
- "LABEL_7": 7,
46
- "LABEL_8": 8,
47
- "LABEL_9": 9
48
- },
49
- "layer_norm_eps": 1e-05,
50
- "max_position_embeddings": 514,
51
- "model_type": "roberta",
52
- "num_attention_heads": 12,
53
- "num_hidden_layers": 12,
54
- "output_past": true,
55
- "pad_token_id": 1,
56
- "problem_type": "single_label_classification",
57
- "tie_word_embeddings": true,
58
- "transformers_version": "5.0.0",
59
- "type_vocab_size": 1,
60
- "use_cache": false,
61
- "vocab_size": 50265
62
- }
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "safe",
16
+ "1": "reentrancy",
17
+ "2": "integer_overflow",
18
+ "3": "access_control",
19
+ "4": "tx_origin_phishing",
20
+ "5": "dos_gas",
21
+ "6": "unchecked_call",
22
+ "7": "front_running_mev",
23
+ "8": "timestamp_dependence",
24
+ "9": "proxy_storage_collision",
25
+ "10": "flash_loan_oracle",
26
+ "11": "flash_loan_single_block",
27
+ "12": "misnamed_constructor",
28
+ "13": "other"
29
+ },
30
+ "initializer_range": 0.02,
31
+ "intermediate_size": 3072,
32
+ "is_decoder": false,
33
+ "label2id": {
34
+ "access_control": 3,
35
+ "dos_gas": 5,
36
+ "flash_loan_oracle": 10,
37
+ "flash_loan_single_block": 11,
38
+ "front_running_mev": 7,
39
+ "integer_overflow": 2,
40
+ "misnamed_constructor": 12,
41
+ "other": 13,
42
+ "proxy_storage_collision": 9,
43
+ "reentrancy": 1,
44
+ "safe": 0,
45
+ "timestamp_dependence": 8,
46
+ "tx_origin_phishing": 4,
47
+ "unchecked_call": 6
48
+ },
49
+ "layer_norm_eps": 1e-05,
50
+ "max_position_embeddings": 514,
51
+ "model_type": "roberta",
52
+ "num_attention_heads": 12,
53
+ "num_hidden_layers": 12,
54
+ "output_past": true,
55
+ "pad_token_id": 1,
56
+ "problem_type": "single_label_classification",
57
+ "tie_word_embeddings": true,
58
+ "transformers_version": "5.9.0",
59
+ "type_vocab_size": 1,
60
+ "use_cache": false,
61
+ "vocab_size": 50265
62
+ }