AyoubChLin commited on
Commit
6a0bd75
1 Parent(s): c868922

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +19 -20
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -1,38 +1,37 @@
1
  {
2
- "_name_or_path": "textattack/bert-base-uncased-yelp-polarity",
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": "LABEL_0",
15
- "1": "LABEL_1",
16
- "2": "LABEL_2",
17
- "3": "LABEL_3",
18
- "4": "LABEL_4",
19
- "5": "LABEL_5",
20
- "6": "LABEL_6",
21
- "7": "LABEL_7",
22
- "8": "LABEL_8"
23
  },
24
  "initializer_range": 0.02,
25
  "intermediate_size": 3072,
26
  "label2id": {
27
- "LABEL_0": 0,
28
- "LABEL_1": 1,
29
- "LABEL_2": 2,
30
- "LABEL_3": 3,
31
- "LABEL_4": 4,
32
- "LABEL_5": 5,
33
- "LABEL_6": 6,
34
- "LABEL_7": 7,
35
- "LABEL_8": 8
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:cda522491edf594368e220b8368d8fa03a2e403d27b390b898b1efb15797d07e
3
  size 438029429
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ecc7575ab9da9e5b490bd2bd10ff2ec7dc193254add5783b7380e168465333e
3
  size 438029429