Upload config.json
Browse files- config.json +72 -0
config.json
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/data/My Drive/data/populism/ft-bert/ft-bert-latest",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Macroeconomics",
|
13 |
+
"1": "Civil",
|
14 |
+
"2": "Health",
|
15 |
+
"3": "Agriculture",
|
16 |
+
"4": "Labor",
|
17 |
+
"5": "Education",
|
18 |
+
"6": "Environment",
|
19 |
+
"7": "Energy",
|
20 |
+
"8": "Immigration",
|
21 |
+
"9": "Transportation",
|
22 |
+
"10": "Law",
|
23 |
+
"11": "Social",
|
24 |
+
"12": "Housing",
|
25 |
+
"13": "Domestic",
|
26 |
+
"14": "Defense",
|
27 |
+
"15": "Technology",
|
28 |
+
"16": "Foreign",
|
29 |
+
"17": "International",
|
30 |
+
"18": "Government",
|
31 |
+
"19": "Public",
|
32 |
+
"20": "Culture"
|
33 |
+
},
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"intermediate_size": 3072,
|
36 |
+
"label2id": {
|
37 |
+
"Macroeconomics": 0,
|
38 |
+
"Civil": 1,
|
39 |
+
"Law": 10,
|
40 |
+
"Social": 11,
|
41 |
+
"Housing": 12,
|
42 |
+
"Domestic": 13,
|
43 |
+
"Defense": 14,
|
44 |
+
"Technology": 15,
|
45 |
+
"Foreign": 16,
|
46 |
+
"International": 17,
|
47 |
+
"Government": 18,
|
48 |
+
"Public": 19,
|
49 |
+
"Health": 2,
|
50 |
+
"Culture": 20,
|
51 |
+
"Agriculture": 3,
|
52 |
+
"Labor": 4,
|
53 |
+
"Education": 5,
|
54 |
+
"Environment": 6,
|
55 |
+
"Energy": 7,
|
56 |
+
"Immigration": 8,
|
57 |
+
"Transportation": 9
|
58 |
+
},
|
59 |
+
"layer_norm_eps": 1e-12,
|
60 |
+
"max_position_embeddings": 512,
|
61 |
+
"model_type": "bert",
|
62 |
+
"num_attention_heads": 12,
|
63 |
+
"num_hidden_layers": 12,
|
64 |
+
"pad_token_id": 0,
|
65 |
+
"position_embedding_type": "absolute",
|
66 |
+
"problem_type": "single_label_classification",
|
67 |
+
"torch_dtype": "float32",
|
68 |
+
"transformers_version": "4.16.2",
|
69 |
+
"type_vocab_size": 2,
|
70 |
+
"use_cache": true,
|
71 |
+
"vocab_size": 30000
|
72 |
+
}
|