wu981526092 commited on
Commit
324e732
·
verified ·
1 Parent(s): e7ade93

Upload 7 files

Browse files
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "No Poverty",
13
+ "1": "Zero Hunger",
14
+ "2": "Good Health and Well-Being",
15
+ "3": "Quality Education",
16
+ "4": "Gender Equality",
17
+ "5": "Clean Water and Sanitation",
18
+ "6": "Affordable and Clean Energy",
19
+ "7": "Decent Work and Economic Growth",
20
+ "8": "Industry, Innovation, and Infrastructure",
21
+ "9": "Reduced Inequalities",
22
+ "10": "Sustainable Cites and Communities",
23
+ "11": "Responsible Consumption and Production",
24
+ "12": "Climate Action",
25
+ "13": "Life Below Water",
26
+ "14": "Life on Land",
27
+ "15": "Peace, Justice, and Strong Institutions"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "label2id": {
31
+ "Affordable and Clean Energy": 6,
32
+ "Clean Water and Sanitation": 5,
33
+ "Climate Action": 12,
34
+ "Decent Work and Economic Growth": 7,
35
+ "Gender Equality": 4,
36
+ "Good Health and Well-Being": 2,
37
+ "Industry, Innovation, and Infrastructure": 8,
38
+ "Life Below Water": 13,
39
+ "Life on Land": 14,
40
+ "No Poverty": 0,
41
+ "Peace, Justice, and Strong Institutions": 15,
42
+ "Quality Education": 3,
43
+ "Reduced Inequalities": 9,
44
+ "Responsible Consumption and Production": 11,
45
+ "Sustainable Cites and Communities": 10,
46
+ "Zero Hunger": 1
47
+ },
48
+ "max_position_embeddings": 512,
49
+ "model_type": "distilbert",
50
+ "n_heads": 12,
51
+ "n_layers": 6,
52
+ "pad_token_id": 0,
53
+ "problem_type": "single_label_classification",
54
+ "qa_dropout": 0.1,
55
+ "seq_classif_dropout": 0.2,
56
+ "sinusoidal_pos_embds": false,
57
+ "tie_weights_": true,
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.44.2",
60
+ "vocab_size": 30522
61
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:831edb6b05738787aec4716aeaebdf938425ee32a96bb8b87e2813db16ade9ac
3
+ size 267875632
results.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_loss": 0.5905242562294006,
3
+ "eval_f1": 0.8826408362261805,
4
+ "eval_precision": 0.8831544921011432,
5
+ "eval_recall": 0.8833041439338409,
6
+ "eval_runtime": 32.3446,
7
+ "eval_samples_per_second": 108.859,
8
+ "eval_steps_per_second": 36.297,
9
+ "epoch": 5.0,
10
+ "test_results": {
11
+ "eval_loss": 0.6048845052719116,
12
+ "eval_f1": 0.8779557099705664,
13
+ "eval_precision": 0.8815461641716381,
14
+ "eval_recall": 0.8771328012904707,
15
+ "eval_runtime": 27.4018,
16
+ "eval_samples_per_second": 128.495,
17
+ "eval_steps_per_second": 42.844,
18
+ "epoch": 5.0
19
+ },
20
+ "label_mapping": {
21
+ "0": "No Poverty",
22
+ "1": "Zero Hunger",
23
+ "2": "Good Health and Well-Being",
24
+ "3": "Quality Education",
25
+ "4": "Gender Equality",
26
+ "5": "Clean Water and Sanitation",
27
+ "6": "Affordable and Clean Energy",
28
+ "7": "Decent Work and Economic Growth",
29
+ "8": "Industry, Innovation, and Infrastructure",
30
+ "9": "Reduced Inequalities",
31
+ "10": "Sustainable Cites and Communities",
32
+ "11": "Responsible Consumption and Production",
33
+ "12": "Climate Action",
34
+ "13": "Life Below Water",
35
+ "14": "Life on Land",
36
+ "15": "Peace, Justice, and Strong Institutions"
37
+ },
38
+ "emissions": 0.0103417205310519,
39
+ "test_report": " precision recall f1-score support\n\n No Poverty 0.77 0.88 0.82 186\n Zero Hunger 0.82 0.90 0.86 125\n Good Health and Well-Being 0.95 0.98 0.97 277\n Quality Education 0.94 0.95 0.95 355\n Gender Equality 0.94 0.96 0.95 365\n Clean Water and Sanitation 0.92 0.94 0.93 201\n Affordable and Clean Energy 0.89 0.93 0.91 287\n Decent Work and Economic Growth 0.71 0.64 0.67 136\nIndustry, Innovation, and Infrastructure 0.86 0.81 0.83 239\n Reduced Inequalities 0.77 0.60 0.68 143\n Sustainable Cites and Communities 0.89 0.84 0.86 194\n Responsible Consumption and Production 0.88 0.88 0.88 80\n Climate Action 0.86 0.84 0.85 167\n Life Below Water 0.99 0.94 0.96 114\n Life on Land 0.92 0.97 0.94 191\n Peace, Justice, and Strong Institutions 1.00 0.98 0.99 461\n\n accuracy 0.90 3521\n macro avg 0.88 0.88 0.88 3521\n weighted avg 0.90 0.90 0.90 3521\n",
40
+ "val_report": " precision recall f1-score support\n\n No Poverty 0.83 0.88 0.86 187\n Zero Hunger 0.86 0.92 0.89 124\n Good Health and Well-Being 0.95 0.95 0.95 278\n Quality Education 0.94 0.96 0.95 354\n Gender Equality 0.93 0.95 0.94 365\n Clean Water and Sanitation 0.92 0.97 0.94 200\n Affordable and Clean Energy 0.92 0.91 0.92 286\n Decent Work and Economic Growth 0.73 0.68 0.70 135\nIndustry, Innovation, and Infrastructure 0.91 0.86 0.88 239\n Reduced Inequalities 0.79 0.69 0.74 144\n Sustainable Cites and Communities 0.86 0.86 0.86 194\n Responsible Consumption and Production 0.77 0.72 0.75 80\n Climate Action 0.84 0.89 0.86 167\n Life Below Water 0.92 0.97 0.94 115\n Life on Land 0.95 0.95 0.95 191\n Peace, Justice, and Strong Institutions 0.99 0.98 0.99 462\n\n accuracy 0.91 3521\n macro avg 0.88 0.88 0.88 3521\n weighted avg 0.91 0.91 0.91 3521\n"
41
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff