rgp230 commited on
Commit
2c9bb15
·
verified ·
1 Parent(s): 0f9a313

Upload 7 files

Browse files

Add the distilbert model

src/train_bert/topic_classifier_model/config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
10
+ "id2label": {
11
+ "0": "Goal 1: End poverty in all its forms everywhere",
12
+ "1": "Goal 2: Zero Hunger",
13
+ "2": "Goal 3: Good Health and Well-Being",
14
+ "3": "Goal 4: Quality Education",
15
+ "4": "Goal 5: Gender Equality",
16
+ "5": "Goal 6: Clean Water and Sanitation",
17
+ "6": "Goal 7: Affordable and Clean Energy",
18
+ "7": "Goal 8: Decent Work and Economic Growth",
19
+ "8": "Goal 9: Industries,Innovation, and Infrastructure",
20
+ "9": "Goal 10: Reduced Inequalities",
21
+ "10": "Goal 11: Sustainable Cities and Communities",
22
+ "11": "Goal 12: Responsible Consumption and Production",
23
+ "12": "Goal 13: Climate Action",
24
+ "13": "Goal 14: Life Below Water",
25
+ "14": "Goal 15: Life on Land",
26
+ "15": "Goal 16: Peace, Justice, and Strong Instiutions",
27
+ "16": "Goal 17: Partnerships for the Goals"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "label2id": {
31
+ "Goal 10: Reduced Inequalities": 9,
32
+ "Goal 11: Sustainable Cities and Communities": 10,
33
+ "Goal 12: Responsible Consumption and Production": 11,
34
+ "Goal 13: Climate Action": 12,
35
+ "Goal 14: Life Below Water": 13,
36
+ "Goal 15: Life on Land": 14,
37
+ "Goal 16: Peace, Justice, and Strong Instiutions": 15,
38
+ "Goal 17: Partnerships for the Goals": 16,
39
+ "Goal 1: End poverty in all its forms everywhere": 0,
40
+ "Goal 2: Zero Hunger": 1,
41
+ "Goal 3: Good Health and Well-Being": 2,
42
+ "Goal 4: Quality Education": 3,
43
+ "Goal 5: Gender Equality": 4,
44
+ "Goal 6: Clean Water and Sanitation": 5,
45
+ "Goal 7: Affordable and Clean Energy": 6,
46
+ "Goal 8: Decent Work and Economic Growth": 7,
47
+ "Goal 9: Industries,Innovation, and Infrastructure": 8
48
+ },
49
+ "max_position_embeddings": 512,
50
+ "model_type": "distilbert",
51
+ "n_heads": 12,
52
+ "n_layers": 6,
53
+ "pad_token_id": 0,
54
+ "problem_type": "single_label_classification",
55
+ "qa_dropout": 0.1,
56
+ "seq_classif_dropout": 0.2,
57
+ "sinusoidal_pos_embds": false,
58
+ "tie_weights_": true,
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.53.1",
61
+ "vocab_size": 30522
62
+ }
src/train_bert/topic_classifier_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:130c8e5deecc14277276719c7c0e24f836eb2ef7ac7558d591ebbdca195bf536
3
+ size 267878708
src/train_bert/topic_classifier_model/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
+ }
src/train_bert/topic_classifier_model/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
src/train_bert/topic_classifier_model/tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "DistilBertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
src/train_bert/topic_classifier_model/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:065a3a69c45d460583f6e974780e25e39e359f94094ab3d0d2b20048ff15fb8a
3
+ size 5777
src/train_bert/topic_classifier_model/vocab.txt ADDED
The diff for this file is too large to render. See raw diff