ManojAlexender commited on
Commit
4ab1ef7
1 Parent(s): 6ed5d59

End of training

Browse files
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - accuracy
6
+ - f1
7
+ - precision
8
+ - recall
9
+ model-index:
10
+ - name: Roberta-base-Rewritten-commit_messages_v2
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # Roberta-base-Rewritten-commit_messages_v2
18
+
19
+ This model was trained from scratch on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 3.4196
22
+ - Accuracy: 0.7704
23
+ - F1: 0.7707
24
+ - Precision: 0.7811
25
+ - Recall: 0.7704
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 16
46
+ - eval_batch_size: 64
47
+ - seed: 42
48
+ - gradient_accumulation_steps: 2
49
+ - total_train_batch_size: 32
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 500
53
+ - num_epochs: 30
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | 0.2288 | 0.09 | 100 | 0.7615 | 0.6716 | 0.6578 | 0.7461 | 0.6716 |
61
+ | 0.1103 | 0.17 | 200 | 0.6396 | 0.7453 | 0.7452 | 0.7609 | 0.7453 |
62
+ | 0.2204 | 0.26 | 300 | 1.3317 | 0.6596 | 0.6334 | 0.7863 | 0.6596 |
63
+ | 0.1872 | 0.34 | 400 | 0.8661 | 0.6333 | 0.5996 | 0.7712 | 0.6333 |
64
+ | 0.1261 | 0.43 | 500 | 1.9369 | 0.7130 | 0.7023 | 0.7906 | 0.7130 |
65
+ | 0.1902 | 0.52 | 600 | 2.2998 | 0.6823 | 0.6695 | 0.7573 | 0.6823 |
66
+ | 0.3639 | 0.6 | 700 | 4.0162 | 0.6915 | 0.6815 | 0.7562 | 0.6915 |
67
+ | 0.1655 | 0.69 | 800 | 2.2680 | 0.6859 | 0.6715 | 0.7705 | 0.6859 |
68
+ | 0.1534 | 0.77 | 900 | 2.7909 | 0.7951 | 0.7937 | 0.7959 | 0.7951 |
69
+ | 0.288 | 0.86 | 1000 | 2.9443 | 0.7752 | 0.7751 | 0.7920 | 0.7752 |
70
+ | 0.2261 | 0.95 | 1100 | 2.9976 | 0.7318 | 0.7267 | 0.7810 | 0.7318 |
71
+ | 0.162 | 1.03 | 1200 | 2.4699 | 0.8063 | 0.8067 | 0.8096 | 0.8063 |
72
+ | 0.0379 | 1.12 | 1300 | 2.6939 | 0.8051 | 0.8051 | 0.8051 | 0.8051 |
73
+ | 0.1852 | 1.2 | 1400 | 3.9005 | 0.7031 | 0.6940 | 0.7669 | 0.7031 |
74
+ | 0.1258 | 1.29 | 1500 | 2.6666 | 0.8023 | 0.8027 | 0.8042 | 0.8023 |
75
+ | 0.1707 | 1.38 | 1600 | 2.8308 | 0.7892 | 0.7892 | 0.7892 | 0.7892 |
76
+ | 0.0817 | 1.46 | 1700 | 3.6049 | 0.7573 | 0.7497 | 0.7700 | 0.7573 |
77
+ | 0.3516 | 1.55 | 1800 | 2.6816 | 0.7772 | 0.7777 | 0.7846 | 0.7772 |
78
+ | 0.5502 | 1.63 | 1900 | 2.2493 | 0.8131 | 0.8099 | 0.8203 | 0.8131 |
79
+ | 0.1531 | 1.72 | 2000 | 3.2802 | 0.7417 | 0.7407 | 0.7645 | 0.7417 |
80
+ | 0.1112 | 1.81 | 2100 | 1.9678 | 0.7748 | 0.7737 | 0.8010 | 0.7748 |
81
+ | 0.1617 | 1.89 | 2200 | 3.0694 | 0.7501 | 0.7490 | 0.7746 | 0.7501 |
82
+ | 0.1912 | 1.98 | 2300 | 3.2285 | 0.7529 | 0.7530 | 0.7659 | 0.7529 |
83
+ | 0.2725 | 2.06 | 2400 | 3.0008 | 0.7800 | 0.7805 | 0.7826 | 0.7800 |
84
+ | 0.1694 | 2.15 | 2500 | 3.5542 | 0.7290 | 0.7286 | 0.7459 | 0.7290 |
85
+ | 0.1283 | 2.24 | 2600 | 4.4577 | 0.7003 | 0.6944 | 0.7466 | 0.7003 |
86
+ | 0.1321 | 2.32 | 2700 | 3.1128 | 0.7350 | 0.7356 | 0.7411 | 0.7350 |
87
+ | 0.0 | 2.41 | 2800 | 4.2938 | 0.7222 | 0.7149 | 0.7828 | 0.7222 |
88
+ | 0.0871 | 2.49 | 2900 | 3.9750 | 0.7266 | 0.7237 | 0.7607 | 0.7266 |
89
+ | 0.0952 | 2.58 | 3000 | 3.7697 | 0.7437 | 0.7424 | 0.7690 | 0.7437 |
90
+ | 0.1034 | 2.67 | 3100 | 3.7283 | 0.7350 | 0.7312 | 0.7764 | 0.7350 |
91
+ | 0.2425 | 2.75 | 3200 | 3.4196 | 0.7704 | 0.7707 | 0.7811 | 0.7704 |
92
+
93
+
94
+ ### Framework versions
95
+
96
+ - Transformers 4.39.3
97
+ - Pytorch 2.1.2+cu121
98
+ - Datasets 2.16.1
99
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Research_paper__Rewrit_commit_messages_Performance_MLM_old_roberta/",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
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
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.39.3",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 50265
38
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d7ae6578e75e98c5afffc92b743ebfbf9f3dd9cf2881eff6d34b80423d678f8
3
+ size 498615900
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "max_length": 512,
52
+ "model_max_length": 512,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "<pad>",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "</s>",
58
+ "stride": 0,
59
+ "tokenizer_class": "RobertaTokenizer",
60
+ "trim_offsets": true,
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "<unk>"
64
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cde0e4ada06aee1894c50cd29791d74dc3d78e61dcae37e5f5c7149427c544f7
3
+ size 4920
vocab.json ADDED
The diff for this file is too large to render. See raw diff