Commit
•
f38e043
1
Parent(s):
04ddf3b
add model
Browse files- config.json +55 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"GraphNystromformerForSequenceClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.2,
|
6 |
+
"attention_window": 200,
|
7 |
+
"block_size": 20,
|
8 |
+
"bos_token_id": -1,
|
9 |
+
"classifier_dropout": 0.2,
|
10 |
+
"conv_kernel_size": 65,
|
11 |
+
"eos_token_id": -1,
|
12 |
+
"hidden_act": "relu",
|
13 |
+
"hidden_dropout_prob": 0.2,
|
14 |
+
"hidden_size": 240,
|
15 |
+
"id2label": {
|
16 |
+
"0": "LABEL_0",
|
17 |
+
"1": "LABEL_1",
|
18 |
+
"2": "LABEL_2",
|
19 |
+
"3": "LABEL_3",
|
20 |
+
"4": "LABEL_4",
|
21 |
+
"5": "LABEL_5",
|
22 |
+
"6": "LABEL_6"
|
23 |
+
},
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 720,
|
26 |
+
"inv_coeff_init_option": false,
|
27 |
+
"label2id": {
|
28 |
+
"LABEL_0": 0,
|
29 |
+
"LABEL_1": 1,
|
30 |
+
"LABEL_2": 2,
|
31 |
+
"LABEL_3": 3,
|
32 |
+
"LABEL_4": 4,
|
33 |
+
"LABEL_5": 5,
|
34 |
+
"LABEL_6": 6
|
35 |
+
},
|
36 |
+
"layer_norm_eps": 1e-05,
|
37 |
+
"max_position_embeddings": 35000,
|
38 |
+
"model_type": "graph_nystromformer",
|
39 |
+
"num_attention_heads": 6,
|
40 |
+
"num_hidden_layers": 3,
|
41 |
+
"num_landmarks": 64,
|
42 |
+
"num_random_blocks": 3,
|
43 |
+
"pad_token_id": 0,
|
44 |
+
"position_embedding_type": "default",
|
45 |
+
"problem_type": "single_label_classification",
|
46 |
+
"rescale_embeddings": false,
|
47 |
+
"segment_means_seq_len": 64,
|
48 |
+
"sep_token_id": -1,
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.20.1",
|
51 |
+
"type_vocab_size": 2,
|
52 |
+
"use_bias": true,
|
53 |
+
"use_cache": false,
|
54 |
+
"vocab_size": 497
|
55 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4160fb91c04467c7ea542a2ae548c855c2be213f13592e464327aaab23eff4de
|
3 |
+
size 41572142
|