AyoubChLin
commited on
Commit
•
6a0bd75
1
Parent(s):
c868922
Upload BertForSequenceClassification
Browse files- config.json +19 -20
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -1,38 +1,37 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
8 |
-
"finetuning_task": "yelp_polarity",
|
9 |
"gradient_checkpointing": false,
|
10 |
"hidden_act": "gelu",
|
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 |
},
|
24 |
"initializer_range": 0.02,
|
25 |
"intermediate_size": 3072,
|
26 |
"label2id": {
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
},
|
37 |
"layer_norm_eps": 1e-12,
|
38 |
"max_position_embeddings": 512,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "AyoubChLin/news-ESG-Bert",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
|
|
8 |
"gradient_checkpointing": false,
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
+
"0": "auto",
|
14 |
+
"1": "business",
|
15 |
+
"2": "entertainment",
|
16 |
+
"3": "health",
|
17 |
+
"4": "news",
|
18 |
+
"5": "politics",
|
19 |
+
"6": "sci/tech",
|
20 |
+
"7": "sport",
|
21 |
+
"8": "world"
|
22 |
},
|
23 |
"initializer_range": 0.02,
|
24 |
"intermediate_size": 3072,
|
25 |
"label2id": {
|
26 |
+
"auto": 0,
|
27 |
+
"business": 1,
|
28 |
+
"entertainment": 2,
|
29 |
+
"health": 3,
|
30 |
+
"news": 4,
|
31 |
+
"politics": 5,
|
32 |
+
"sci/tech": 6,
|
33 |
+
"sport": 7,
|
34 |
+
"world": 8
|
35 |
},
|
36 |
"layer_norm_eps": 1e-12,
|
37 |
"max_position_embeddings": 512,
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 438029429
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ecc7575ab9da9e5b490bd2bd10ff2ec7dc193254add5783b7380e168465333e
|
3 |
size 438029429
|