Create config.json
Browse files- config.json +57 -0
config.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertForSequenceClassification"
|
| 4 |
+
],
|
| 5 |
+
"hidden_act": "gelu",
|
| 6 |
+
"hidden_size": 768,
|
| 7 |
+
"initializer_range": 0.02,
|
| 8 |
+
"intermediate_size": 3072,
|
| 9 |
+
"layer_norm_eps": 1e-12,
|
| 10 |
+
"max_position_embeddings": 512,
|
| 11 |
+
"model_type": "bert",
|
| 12 |
+
"num_attention_heads": 12,
|
| 13 |
+
"num_hidden_layers": 12,
|
| 14 |
+
"pad_token_id": 0,
|
| 15 |
+
"type_vocab_size": 2,
|
| 16 |
+
"vocab_size": 30522,
|
| 17 |
+
"problem_type": "multi_label_classification",
|
| 18 |
+
"num_labels": 17,
|
| 19 |
+
"id2label": {
|
| 20 |
+
"0": "Topic: Materials Science",
|
| 21 |
+
"1": "Topic: Neuroscience",
|
| 22 |
+
"2": "Topic: Computer Science",
|
| 23 |
+
"3": "Topic: Ecology",
|
| 24 |
+
"4": "Topic: Remote Sensing",
|
| 25 |
+
"5": "Topic: Astrophysics",
|
| 26 |
+
"6": "Topic: Medicine",
|
| 27 |
+
"7": "Topic: Mathematics",
|
| 28 |
+
"8": "Topic: Archaeology",
|
| 29 |
+
"9": "Topic: Physics",
|
| 30 |
+
"10": "Topic: Environmental Policy",
|
| 31 |
+
"11": "Topic: Bioinformatics",
|
| 32 |
+
"12": "Sentiment: Highly Positive",
|
| 33 |
+
"13": "Sentiment: Positive",
|
| 34 |
+
"14": "Sentiment: Moderately Negative",
|
| 35 |
+
"15": "Sentiment: Negative",
|
| 36 |
+
"16": "Sentiment: Highly Negative"
|
| 37 |
+
},
|
| 38 |
+
"label2id": {
|
| 39 |
+
"Topic: Materials Science": 0,
|
| 40 |
+
"Topic: Neuroscience": 1,
|
| 41 |
+
"Topic: Computer Science": 2,
|
| 42 |
+
"Topic: Ecology": 3,
|
| 43 |
+
"Topic: Remote Sensing": 4,
|
| 44 |
+
"Topic: Astrophysics": 5,
|
| 45 |
+
"Topic: Medicine": 6,
|
| 46 |
+
"Topic: Mathematics": 7,
|
| 47 |
+
"Topic: Archaeology": 8,
|
| 48 |
+
"Topic: Physics": 9,
|
| 49 |
+
"Topic: Environmental Policy": 10,
|
| 50 |
+
"Topic: Bioinformatics": 11,
|
| 51 |
+
"Sentiment: Highly Positive": 12,
|
| 52 |
+
"Sentiment: Positive": 13,
|
| 53 |
+
"Sentiment: Moderately Negative": 14,
|
| 54 |
+
"Sentiment: Negative": 15,
|
| 55 |
+
"Sentiment: Highly Negative": 16
|
| 56 |
+
}
|
| 57 |
+
}
|