dbala02 commited on
Commit
78aef4d
1 Parent(s): 604abf6

End of training

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: uniBERT.distilBERT.3
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # uniBERT.distilBERT.3
20
+
21
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.7293
24
+ - Accuracy: (0.4772117962466488,)
25
+ - F1: (0.4693132851587397,)
26
+ - Precision: (0.5442146665454255,)
27
+ - Recall: 0.4772
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 64
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 10
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
57
+ |:-------------:|:-----:|:----:|:---------------:|:----------------------:|:----------------------:|:----------------------:|:------:|
58
+ | 2.9412 | 1.0 | 210 | 2.7539 | (0.19302949061662197,) | (0.1603618689364134,) | (0.1948027475862202,) | 0.1930 |
59
+ | 2.1163 | 2.0 | 420 | 2.1123 | (0.30831099195710454,) | (0.2886576454762518,) | (0.34306886958718397,) | 0.3083 |
60
+ | 1.5605 | 3.0 | 630 | 1.9332 | (0.35924932975871315,) | (0.3408370919837017,) | (0.4437777540758143,) | 0.3592 |
61
+ | 1.2042 | 4.0 | 840 | 1.7857 | (0.4262734584450402,) | (0.4114641689723971,) | (0.5423496541710991,) | 0.4263 |
62
+ | 0.9317 | 5.0 | 1050 | 1.7584 | (0.4262734584450402,) | (0.41517951297641825,) | (0.5270241126881486,) | 0.4263 |
63
+ | 0.7497 | 6.0 | 1260 | 1.7334 | (0.46380697050938335,) | (0.4616472194616382,) | (0.5561767348377945,) | 0.4638 |
64
+ | 0.6484 | 7.0 | 1470 | 1.7148 | (0.48257372654155495,) | (0.47743545933365816,) | (0.5507046992541056,) | 0.4826 |
65
+ | 0.5396 | 8.0 | 1680 | 1.7341 | (0.47989276139410186,) | (0.4727261312495505,) | (0.5529949943706518,) | 0.4799 |
66
+ | 0.4599 | 9.0 | 1890 | 1.7252 | (0.4772117962466488,) | (0.47031578431963555,) | (0.5474190199916943,) | 0.4772 |
67
+ | 0.427 | 10.0 | 2100 | 1.7293 | (0.4772117962466488,) | (0.4693132851587397,) | (0.5442146665454255,) | 0.4772 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.39.3
73
+ - Pytorch 2.2.1+cu121
74
+ - Datasets 2.18.0
75
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-1",
14
+ "2": "I-1",
15
+ "3": "B-2",
16
+ "4": "I-2",
17
+ "5": "B-3",
18
+ "6": "I-3",
19
+ "7": "B-4",
20
+ "8": "I-4",
21
+ "9": "B-5",
22
+ "10": "I-5",
23
+ "11": "B-6",
24
+ "12": "I-6",
25
+ "13": "B-7",
26
+ "14": "I-7",
27
+ "15": "B-8",
28
+ "16": "I-8",
29
+ "17": "B-9",
30
+ "18": "I-9",
31
+ "19": "B-10",
32
+ "20": "I-10",
33
+ "21": "B-11",
34
+ "22": "I-11",
35
+ "23": "B-12",
36
+ "24": "I-12",
37
+ "25": "B-13",
38
+ "26": "I-13",
39
+ "27": "B-14",
40
+ "28": "I-14",
41
+ "29": "B-15",
42
+ "30": "I-15",
43
+ "31": "B-16",
44
+ "32": "I-16",
45
+ "33": "B-17",
46
+ "34": "I-17",
47
+ "35": "B-18",
48
+ "36": "I-18",
49
+ "37": "B-19",
50
+ "38": "I-19",
51
+ "39": "B-20",
52
+ "40": "I-20",
53
+ "41": "B-21",
54
+ "42": "I-21",
55
+ "43": "B-22",
56
+ "44": "I-22",
57
+ "45": "B-23",
58
+ "46": "I-23",
59
+ "47": "B-24",
60
+ "48": "I-24",
61
+ "49": "B-25",
62
+ "50": "I-25",
63
+ "51": "B-26",
64
+ "52": "I-26",
65
+ "53": "B-27",
66
+ "54": "I-27",
67
+ "55": "B-28",
68
+ "56": "I-28",
69
+ "57": "B-29",
70
+ "58": "I-29"
71
+ },
72
+ "initializer_range": 0.02,
73
+ "label2id": {
74
+ "B-1": 1,
75
+ "B-10": 19,
76
+ "B-11": 21,
77
+ "B-12": 23,
78
+ "B-13": 25,
79
+ "B-14": 27,
80
+ "B-15": 29,
81
+ "B-16": 31,
82
+ "B-17": 33,
83
+ "B-18": 35,
84
+ "B-19": 37,
85
+ "B-2": 3,
86
+ "B-20": 39,
87
+ "B-21": 41,
88
+ "B-22": 43,
89
+ "B-23": 45,
90
+ "B-24": 47,
91
+ "B-25": 49,
92
+ "B-26": 51,
93
+ "B-27": 53,
94
+ "B-28": 55,
95
+ "B-29": 57,
96
+ "B-3": 5,
97
+ "B-4": 7,
98
+ "B-5": 9,
99
+ "B-6": 11,
100
+ "B-7": 13,
101
+ "B-8": 15,
102
+ "B-9": 17,
103
+ "I-1": 2,
104
+ "I-10": 20,
105
+ "I-11": 22,
106
+ "I-12": 24,
107
+ "I-13": 26,
108
+ "I-14": 28,
109
+ "I-15": 30,
110
+ "I-16": 32,
111
+ "I-17": 34,
112
+ "I-18": 36,
113
+ "I-19": 38,
114
+ "I-2": 4,
115
+ "I-20": 40,
116
+ "I-21": 42,
117
+ "I-22": 44,
118
+ "I-23": 46,
119
+ "I-24": 48,
120
+ "I-25": 50,
121
+ "I-26": 52,
122
+ "I-27": 54,
123
+ "I-28": 56,
124
+ "I-29": 58,
125
+ "I-3": 6,
126
+ "I-4": 8,
127
+ "I-5": 10,
128
+ "I-6": 12,
129
+ "I-7": 14,
130
+ "I-8": 16,
131
+ "I-9": 18,
132
+ "O": 0
133
+ },
134
+ "max_position_embeddings": 512,
135
+ "model_type": "distilbert",
136
+ "n_heads": 12,
137
+ "n_layers": 6,
138
+ "pad_token_id": 0,
139
+ "qa_dropout": 0.1,
140
+ "seq_classif_dropout": 0.2,
141
+ "sinusoidal_pos_embds": false,
142
+ "tie_weights_": true,
143
+ "torch_dtype": "float32",
144
+ "transformers_version": "4.39.3",
145
+ "vocab_size": 30522
146
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7daff445d7fe99591b72990488ea92eb24e2add7d7ddf69ad1aaff6aecd9e175
3
+ size 265645356
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf7c6d867bba75f747690845f89030974d54fff583a906720f3977ad3f0bdad5
3
+ size 4856
vocab.txt ADDED
The diff for this file is too large to render. See raw diff