Upload folder using huggingface_hub
Browse files- config.json +16 -14
config.json
CHANGED
|
@@ -3,25 +3,27 @@
|
|
| 3 |
"architecture": "HybridSentenceChuLo",
|
| 4 |
"chunk_size": 512,
|
| 5 |
"max_chunks": 8,
|
| 6 |
-
"num_labels":
|
| 7 |
"label2id": {
|
| 8 |
-
"
|
| 9 |
"Business": 1,
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
|
|
|
| 15 |
},
|
| 16 |
"id2label": {
|
| 17 |
-
"0": "
|
| 18 |
"1": "Business",
|
| 19 |
-
"2": "
|
| 20 |
-
"3": "
|
| 21 |
-
"4": "
|
| 22 |
-
"5": "
|
| 23 |
-
"6": "
|
|
|
|
| 24 |
},
|
| 25 |
-
"pretrained_model": "Davlan/afro-xlmr-
|
| 26 |
"top_k_sentences": 12
|
| 27 |
}
|
|
|
|
| 3 |
"architecture": "HybridSentenceChuLo",
|
| 4 |
"chunk_size": 512,
|
| 5 |
"max_chunks": 8,
|
| 6 |
+
"num_labels": 8,
|
| 7 |
"label2id": {
|
| 8 |
+
"Politics": 0,
|
| 9 |
"Business": 1,
|
| 10 |
+
"Sports": 2,
|
| 11 |
+
"Technology": 3,
|
| 12 |
+
"Health": 4,
|
| 13 |
+
"Entertainment": 5,
|
| 14 |
+
"World": 6,
|
| 15 |
+
"Other": 7
|
| 16 |
},
|
| 17 |
"id2label": {
|
| 18 |
+
"0": "Politics",
|
| 19 |
"1": "Business",
|
| 20 |
+
"2": "Sports",
|
| 21 |
+
"3": "Technology",
|
| 22 |
+
"4": "Health",
|
| 23 |
+
"5": "Entertainment",
|
| 24 |
+
"6": "World",
|
| 25 |
+
"7": "Other"
|
| 26 |
},
|
| 27 |
+
"pretrained_model": "Davlan/afro-xlmr-large",
|
| 28 |
"top_k_sentences": 12
|
| 29 |
}
|