Isuri97 commited on
Commit
a798466
1 Parent(s): 4cd97fb

upload model

Browse files
README.md CHANGED
@@ -1,3 +1,57 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ base_model: roberta-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: mlm_modelrob
10
+ results: []
11
  ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # mlm_modelrob
17
+
18
+ This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.1397
21
+ - Accuracy: 0.7373
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 32
42
+ - eval_batch_size: 32
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 3.0
47
+
48
+ ### Training results
49
+
50
+
51
+
52
+ ### Framework versions
53
+
54
+ - Transformers 4.35.0.dev0
55
+ - Pytorch 2.0.1+cu117
56
+ - Datasets 2.14.5
57
+ - Tokenizers 0.14.0
added_tokens.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "</s>": 2,
3
+ "<mask>": 50264,
4
+ "<pad>": 1,
5
+ "<s>": 0,
6
+ "<unk>": 3
7
+ }
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.7373422261789581,
4
+ "eval_loss": 1.1397300958633423,
5
+ "eval_runtime": 53.6547,
6
+ "eval_samples": 3793,
7
+ "eval_samples_per_second": 70.693,
8
+ "eval_steps_per_second": 2.218,
9
+ "perplexity": 3.125924551349567,
10
+ "train_loss": 1.3888828911883806,
11
+ "train_runtime": 5861.5075,
12
+ "train_samples": 95750,
13
+ "train_samples_per_second": 49.006,
14
+ "train_steps_per_second": 1.532
15
+ }
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "roberta-base",
3
+ "architectures": [
4
+ "RobertaForMaskedLM"
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
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "position_embedding_type": "absolute",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.35.0.dev0",
24
+ "type_vocab_size": 1,
25
+ "use_cache": true,
26
+ "vocab_size": 50265
27
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.7373422261789581,
4
+ "eval_loss": 1.1397300958633423,
5
+ "eval_runtime": 53.6547,
6
+ "eval_samples": 3793,
7
+ "eval_samples_per_second": 70.693,
8
+ "eval_steps_per_second": 2.218,
9
+ "perplexity": 3.125924551349567
10
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81a402ede3a242266020037a51a81da4a9199b0e1d06b4eef7d11a9f9fe11025
3
+ size 498859189
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": "<mask>",
6
+ "pad_token": "<pad>",
7
+ "sep_token": "</s>",
8
+ "unk_token": "<unk>"
9
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
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
+ "additional_special_tokens": [],
46
+ "bos_token": "<s>",
47
+ "clean_up_tokenization_spaces": true,
48
+ "cls_token": "<s>",
49
+ "eos_token": "</s>",
50
+ "errors": "replace",
51
+ "mask_token": "<mask>",
52
+ "model_max_length": 512,
53
+ "pad_token": "<pad>",
54
+ "sep_token": "</s>",
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": "<unk>"
58
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 1.3888828911883806,
4
+ "train_runtime": 5861.5075,
5
+ "train_samples": 95750,
6
+ "train_samples_per_second": 49.006,
7
+ "train_steps_per_second": 1.532
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 8979,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.17,
13
+ "learning_rate": 4.7215725581913354e-05,
14
+ "loss": 1.6236,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 0.33,
19
+ "learning_rate": 4.443145116382671e-05,
20
+ "loss": 1.525,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 0.5,
25
+ "learning_rate": 4.164717674574006e-05,
26
+ "loss": 1.4783,
27
+ "step": 1500
28
+ },
29
+ {
30
+ "epoch": 0.67,
31
+ "learning_rate": 3.8862902327653414e-05,
32
+ "loss": 1.4528,
33
+ "step": 2000
34
+ },
35
+ {
36
+ "epoch": 0.84,
37
+ "learning_rate": 3.607862790956677e-05,
38
+ "loss": 1.4441,
39
+ "step": 2500
40
+ },
41
+ {
42
+ "epoch": 1.0,
43
+ "learning_rate": 3.329435349148012e-05,
44
+ "loss": 1.4137,
45
+ "step": 3000
46
+ },
47
+ {
48
+ "epoch": 1.17,
49
+ "learning_rate": 3.0510079073393477e-05,
50
+ "loss": 1.3863,
51
+ "step": 3500
52
+ },
53
+ {
54
+ "epoch": 1.34,
55
+ "learning_rate": 2.7725804655306832e-05,
56
+ "loss": 1.3796,
57
+ "step": 4000
58
+ },
59
+ {
60
+ "epoch": 1.5,
61
+ "learning_rate": 2.4941530237220183e-05,
62
+ "loss": 1.3692,
63
+ "step": 4500
64
+ },
65
+ {
66
+ "epoch": 1.67,
67
+ "learning_rate": 2.2157255819133534e-05,
68
+ "loss": 1.3598,
69
+ "step": 5000
70
+ },
71
+ {
72
+ "epoch": 1.84,
73
+ "learning_rate": 1.937298140104689e-05,
74
+ "loss": 1.3458,
75
+ "step": 5500
76
+ },
77
+ {
78
+ "epoch": 2.0,
79
+ "learning_rate": 1.6588706982960243e-05,
80
+ "loss": 1.3418,
81
+ "step": 6000
82
+ },
83
+ {
84
+ "epoch": 2.17,
85
+ "learning_rate": 1.3804432564873596e-05,
86
+ "loss": 1.3283,
87
+ "step": 6500
88
+ },
89
+ {
90
+ "epoch": 2.34,
91
+ "learning_rate": 1.1020158146786947e-05,
92
+ "loss": 1.3118,
93
+ "step": 7000
94
+ },
95
+ {
96
+ "epoch": 2.51,
97
+ "learning_rate": 8.235883728700302e-06,
98
+ "loss": 1.3161,
99
+ "step": 7500
100
+ },
101
+ {
102
+ "epoch": 2.67,
103
+ "learning_rate": 5.451609310613654e-06,
104
+ "loss": 1.3111,
105
+ "step": 8000
106
+ },
107
+ {
108
+ "epoch": 2.84,
109
+ "learning_rate": 2.6673348925270076e-06,
110
+ "loss": 1.3042,
111
+ "step": 8500
112
+ },
113
+ {
114
+ "epoch": 3.0,
115
+ "step": 8979,
116
+ "total_flos": 7.5623004331776e+16,
117
+ "train_loss": 1.3888828911883806,
118
+ "train_runtime": 5861.5075,
119
+ "train_samples_per_second": 49.006,
120
+ "train_steps_per_second": 1.532
121
+ }
122
+ ],
123
+ "logging_steps": 500,
124
+ "max_steps": 8979,
125
+ "num_train_epochs": 3,
126
+ "save_steps": 500,
127
+ "total_flos": 7.5623004331776e+16,
128
+ "trial_name": null,
129
+ "trial_params": null
130
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a86b9b35b2398a8a749d1b7be0ef41b515a74b4d0b67429d088cf98df4aa759f
3
+ size 4155
vocab.json ADDED
The diff for this file is too large to render. See raw diff