meghanaraok commited on
Commit
7289087
·
verified ·
1 Parent(s): 7f95130

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +108 -3
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "_name_or_path": "allenai/longformer-base-4096",
3
  "architectures": [
4
- "LongformerForMaskedLM"
5
  ],
6
  "attention_mode": "longformer",
7
  "attention_probs_dropout_prob": 0.1,
@@ -25,19 +25,124 @@
25
  "hidden_act": "gelu",
26
  "hidden_dropout_prob": 0.1,
27
  "hidden_size": 768,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  "ignore_attention_mask": false,
29
  "initializer_range": 0.02,
30
  "intermediate_size": 3072,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  "layer_norm_eps": 1e-05,
32
  "max_position_embeddings": 4098,
33
  "model_type": "longformer",
34
  "num_attention_heads": 12,
35
  "num_hidden_layers": 12,
 
36
  "pad_token_id": 1,
37
  "position_embedding_type": "absolute",
38
  "sep_token_id": 2,
39
  "torch_dtype": "float32",
40
- "transformers_version": "4.9.0.dev0",
41
  "type_vocab_size": 1,
42
  "use_cache": true,
43
  "vocab_size": 50265
 
1
  {
2
+ "_name_or_path": "yikuan8/Clinical-Longformer",
3
  "architectures": [
4
+ "LongformerForMultiLabelICDClassification"
5
  ],
6
  "attention_mode": "longformer",
7
  "attention_probs_dropout_prob": 0.1,
 
25
  "hidden_act": "gelu",
26
  "hidden_dropout_prob": 0.1,
27
  "hidden_size": 768,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2",
32
+ "3": "LABEL_3",
33
+ "4": "LABEL_4",
34
+ "5": "LABEL_5",
35
+ "6": "LABEL_6",
36
+ "7": "LABEL_7",
37
+ "8": "LABEL_8",
38
+ "9": "LABEL_9",
39
+ "10": "LABEL_10",
40
+ "11": "LABEL_11",
41
+ "12": "LABEL_12",
42
+ "13": "LABEL_13",
43
+ "14": "LABEL_14",
44
+ "15": "LABEL_15",
45
+ "16": "LABEL_16",
46
+ "17": "LABEL_17",
47
+ "18": "LABEL_18",
48
+ "19": "LABEL_19",
49
+ "20": "LABEL_20",
50
+ "21": "LABEL_21",
51
+ "22": "LABEL_22",
52
+ "23": "LABEL_23",
53
+ "24": "LABEL_24",
54
+ "25": "LABEL_25",
55
+ "26": "LABEL_26",
56
+ "27": "LABEL_27",
57
+ "28": "LABEL_28",
58
+ "29": "LABEL_29",
59
+ "30": "LABEL_30",
60
+ "31": "LABEL_31",
61
+ "32": "LABEL_32",
62
+ "33": "LABEL_33",
63
+ "34": "LABEL_34",
64
+ "35": "LABEL_35",
65
+ "36": "LABEL_36",
66
+ "37": "LABEL_37",
67
+ "38": "LABEL_38",
68
+ "39": "LABEL_39",
69
+ "40": "LABEL_40",
70
+ "41": "LABEL_41",
71
+ "42": "LABEL_42",
72
+ "43": "LABEL_43",
73
+ "44": "LABEL_44",
74
+ "45": "LABEL_45",
75
+ "46": "LABEL_46",
76
+ "47": "LABEL_47",
77
+ "48": "LABEL_48",
78
+ "49": "LABEL_49"
79
+ },
80
  "ignore_attention_mask": false,
81
  "initializer_range": 0.02,
82
  "intermediate_size": 3072,
83
+ "label2id": {
84
+ "LABEL_0": 0,
85
+ "LABEL_1": 1,
86
+ "LABEL_10": 10,
87
+ "LABEL_11": 11,
88
+ "LABEL_12": 12,
89
+ "LABEL_13": 13,
90
+ "LABEL_14": 14,
91
+ "LABEL_15": 15,
92
+ "LABEL_16": 16,
93
+ "LABEL_17": 17,
94
+ "LABEL_18": 18,
95
+ "LABEL_19": 19,
96
+ "LABEL_2": 2,
97
+ "LABEL_20": 20,
98
+ "LABEL_21": 21,
99
+ "LABEL_22": 22,
100
+ "LABEL_23": 23,
101
+ "LABEL_24": 24,
102
+ "LABEL_25": 25,
103
+ "LABEL_26": 26,
104
+ "LABEL_27": 27,
105
+ "LABEL_28": 28,
106
+ "LABEL_29": 29,
107
+ "LABEL_3": 3,
108
+ "LABEL_30": 30,
109
+ "LABEL_31": 31,
110
+ "LABEL_32": 32,
111
+ "LABEL_33": 33,
112
+ "LABEL_34": 34,
113
+ "LABEL_35": 35,
114
+ "LABEL_36": 36,
115
+ "LABEL_37": 37,
116
+ "LABEL_38": 38,
117
+ "LABEL_39": 39,
118
+ "LABEL_4": 4,
119
+ "LABEL_40": 40,
120
+ "LABEL_41": 41,
121
+ "LABEL_42": 42,
122
+ "LABEL_43": 43,
123
+ "LABEL_44": 44,
124
+ "LABEL_45": 45,
125
+ "LABEL_46": 46,
126
+ "LABEL_47": 47,
127
+ "LABEL_48": 48,
128
+ "LABEL_49": 49,
129
+ "LABEL_5": 5,
130
+ "LABEL_6": 6,
131
+ "LABEL_7": 7,
132
+ "LABEL_8": 8,
133
+ "LABEL_9": 9
134
+ },
135
  "layer_norm_eps": 1e-05,
136
  "max_position_embeddings": 4098,
137
  "model_type": "longformer",
138
  "num_attention_heads": 12,
139
  "num_hidden_layers": 12,
140
+ "onnx_export": false,
141
  "pad_token_id": 1,
142
  "position_embedding_type": "absolute",
143
  "sep_token_id": 2,
144
  "torch_dtype": "float32",
145
+ "transformers_version": "4.35.2",
146
  "type_vocab_size": 1,
147
  "use_cache": true,
148
  "vocab_size": 50265