Upload BertForSequenceClassification
Browse files- README.md +2 -2
- config.json +21 -21
README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
---
|
2 |
base_model: PureFighter/autotrain-topic-classification
|
3 |
-
tags:
|
4 |
-
- generated_from_trainer
|
5 |
metrics:
|
6 |
- accuracy
|
|
|
|
|
7 |
model-index:
|
8 |
- name: arabertv2-topic-classification-finetuned
|
9 |
results: []
|
|
|
1 |
---
|
2 |
base_model: PureFighter/autotrain-topic-classification
|
|
|
|
|
3 |
metrics:
|
4 |
- accuracy
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
model-index:
|
8 |
- name: arabertv2-topic-classification-finetuned
|
9 |
results: []
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "PureFighter/
|
3 |
"_num_labels": 6,
|
4 |
"architectures": [
|
5 |
"BertForSequenceClassification"
|
@@ -11,30 +11,30 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
-
"3": "
|
18 |
-
"4": "
|
19 |
-
"5": "
|
20 |
-
"6": "
|
21 |
-
"7": "
|
22 |
-
"8": "
|
23 |
-
"9": "
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 3072,
|
27 |
"label2id": {
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
},
|
39 |
"layer_norm_eps": 1e-12,
|
40 |
"max_position_embeddings": 512,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "PureFighter/arabertv2-topic-classification-finetuned",
|
3 |
"_num_labels": 6,
|
4 |
"architectures": [
|
5 |
"BertForSequenceClassification"
|
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
+
"0": "culture",
|
15 |
+
"1": "economy",
|
16 |
+
"2": "health",
|
17 |
+
"3": "international",
|
18 |
+
"4": "local",
|
19 |
+
"5": "politics",
|
20 |
+
"6": "science",
|
21 |
+
"7": "sports",
|
22 |
+
"8": "technology",
|
23 |
+
"9": "war"
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 3072,
|
27 |
"label2id": {
|
28 |
+
"culture": 0,
|
29 |
+
"economy": 1,
|
30 |
+
"health": 2,
|
31 |
+
"international": 3,
|
32 |
+
"local": 4,
|
33 |
+
"politics": 5,
|
34 |
+
"science": 6,
|
35 |
+
"sports": 7,
|
36 |
+
"technology": 8,
|
37 |
+
"war": 9
|
38 |
},
|
39 |
"layer_norm_eps": 1e-12,
|
40 |
"max_position_embeddings": 512,
|