Isuri97 commited on
Commit
a4a5ee6
1 Parent(s): 28fb9dc

model upload

Browse files
README.md CHANGED
@@ -1,3 +1,54 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ base_model: xlnet-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: mlm_modelxlnet
8
+ results: []
9
  ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # mlm_modelxlnet
15
+
16
+ This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 2.1944
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 5e-05
38
+ - train_batch_size: 32
39
+ - eval_batch_size: 32
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 3.0
44
+
45
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.35.0.dev0
52
+ - Pytorch 2.0.1+cu117
53
+ - Datasets 2.14.5
54
+ - Tokenizers 0.14.0
added_tokens.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</s>": 2,
3
+ "<cls>": 3,
4
+ "<eod>": 7,
5
+ "<eop>": 8,
6
+ "<mask>": 6,
7
+ "<pad>": 5,
8
+ "<s>": 1,
9
+ "<sep>": 4,
10
+ "<unk>": 0
11
+ }
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 2.1944403648376465,
4
+ "eval_runtime": 83.9431,
5
+ "eval_samples": 3913,
6
+ "eval_samples_per_second": 46.615,
7
+ "eval_steps_per_second": 1.465,
8
+ "perplexity": 8.97497693843778,
9
+ "train_loss": 2.733830861908257,
10
+ "train_runtime": 14258.7293,
11
+ "train_samples": 97236,
12
+ "train_samples_per_second": 20.458,
13
+ "train_steps_per_second": 0.639
14
+ }
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlnet-base-cased",
3
+ "architectures": [
4
+ "XLNetLMHeadModel"
5
+ ],
6
+ "attn_type": "bi",
7
+ "bi_data": false,
8
+ "bos_token_id": 1,
9
+ "clamp_len": -1,
10
+ "d_head": 64,
11
+ "d_inner": 3072,
12
+ "d_model": 768,
13
+ "dropout": 0.1,
14
+ "end_n_top": 5,
15
+ "eos_token_id": 2,
16
+ "ff_activation": "gelu",
17
+ "initializer_range": 0.02,
18
+ "layer_norm_eps": 1e-12,
19
+ "mem_len": null,
20
+ "model_type": "xlnet",
21
+ "n_head": 12,
22
+ "n_layer": 12,
23
+ "pad_token_id": 5,
24
+ "reuse_len": null,
25
+ "same_length": false,
26
+ "start_n_top": 5,
27
+ "summary_activation": "tanh",
28
+ "summary_last_dropout": 0.1,
29
+ "summary_type": "last",
30
+ "summary_use_proj": true,
31
+ "task_specific_params": {
32
+ "text-generation": {
33
+ "do_sample": true,
34
+ "max_length": 250
35
+ }
36
+ },
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.35.0.dev0",
39
+ "untie_r": true,
40
+ "use_mems_eval": true,
41
+ "use_mems_train": false,
42
+ "vocab_size": 32000
43
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 2.1944403648376465,
4
+ "eval_runtime": 83.9431,
5
+ "eval_samples": 3913,
6
+ "eval_samples_per_second": 46.615,
7
+ "eval_steps_per_second": 1.465,
8
+ "perplexity": 8.97497693843778
9
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 5,
6
+ "transformers_version": "4.35.0.dev0"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75d033e707658fed4d853c84e4ad79f34313ca6f018f7dab55f0c5d172c2b9d9
3
+ size 467070345
special_tokens_map.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<eop>",
4
+ "<eod>"
5
+ ],
6
+ "bos_token": "<s>",
7
+ "cls_token": "<cls>",
8
+ "eos_token": "</s>",
9
+ "mask_token": "<mask>",
10
+ "pad_token": "<pad>",
11
+ "sep_token": "<sep>",
12
+ "unk_token": "<unk>"
13
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f8c1c0bc2854d1af911a8550288c1258af5ba50277f3a5c829b98eb86fc5646
3
+ size 798011
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<cls>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "<sep>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "5": {
44
+ "content": "<pad>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "6": {
52
+ "content": "<mask>",
53
+ "lstrip": true,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ },
59
+ "7": {
60
+ "content": "<eod>",
61
+ "lstrip": false,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": true
66
+ },
67
+ "8": {
68
+ "content": "<eop>",
69
+ "lstrip": false,
70
+ "normalized": false,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": true
74
+ }
75
+ },
76
+ "additional_special_tokens": [
77
+ "<eop>",
78
+ "<eod>"
79
+ ],
80
+ "bos_token": "<s>",
81
+ "clean_up_tokenization_spaces": true,
82
+ "cls_token": "<cls>",
83
+ "do_lower_case": false,
84
+ "eos_token": "</s>",
85
+ "keep_accents": false,
86
+ "mask_token": "<mask>",
87
+ "model_max_length": 1000000000000000019884624838656,
88
+ "pad_token": "<pad>",
89
+ "remove_space": true,
90
+ "sep_token": "<sep>",
91
+ "tokenizer_class": "XLNetTokenizer",
92
+ "unk_token": "<unk>"
93
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 2.733830861908257,
4
+ "train_runtime": 14258.7293,
5
+ "train_samples": 97236,
6
+ "train_samples_per_second": 20.458,
7
+ "train_steps_per_second": 0.639
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 9117,
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.16,
13
+ "learning_rate": 4.725786991334869e-05,
14
+ "loss": 3.0811,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 0.33,
19
+ "learning_rate": 4.451573982669738e-05,
20
+ "loss": 2.9144,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 0.49,
25
+ "learning_rate": 4.177360974004607e-05,
26
+ "loss": 2.861,
27
+ "step": 1500
28
+ },
29
+ {
30
+ "epoch": 0.66,
31
+ "learning_rate": 3.903147965339476e-05,
32
+ "loss": 2.8143,
33
+ "step": 2000
34
+ },
35
+ {
36
+ "epoch": 0.82,
37
+ "learning_rate": 3.628934956674345e-05,
38
+ "loss": 2.7832,
39
+ "step": 2500
40
+ },
41
+ {
42
+ "epoch": 0.99,
43
+ "learning_rate": 3.354721948009214e-05,
44
+ "loss": 2.7602,
45
+ "step": 3000
46
+ },
47
+ {
48
+ "epoch": 1.15,
49
+ "learning_rate": 3.0805089393440825e-05,
50
+ "loss": 2.7305,
51
+ "step": 3500
52
+ },
53
+ {
54
+ "epoch": 1.32,
55
+ "learning_rate": 2.8062959306789516e-05,
56
+ "loss": 2.7235,
57
+ "step": 4000
58
+ },
59
+ {
60
+ "epoch": 1.48,
61
+ "learning_rate": 2.5320829220138204e-05,
62
+ "loss": 2.7046,
63
+ "step": 4500
64
+ },
65
+ {
66
+ "epoch": 1.65,
67
+ "learning_rate": 2.2578699133486895e-05,
68
+ "loss": 2.6897,
69
+ "step": 5000
70
+ },
71
+ {
72
+ "epoch": 1.81,
73
+ "learning_rate": 1.9836569046835583e-05,
74
+ "loss": 2.6826,
75
+ "step": 5500
76
+ },
77
+ {
78
+ "epoch": 1.97,
79
+ "learning_rate": 1.709443896018427e-05,
80
+ "loss": 2.667,
81
+ "step": 6000
82
+ },
83
+ {
84
+ "epoch": 2.14,
85
+ "learning_rate": 1.4352308873532961e-05,
86
+ "loss": 2.6481,
87
+ "step": 6500
88
+ },
89
+ {
90
+ "epoch": 2.3,
91
+ "learning_rate": 1.161017878688165e-05,
92
+ "loss": 2.647,
93
+ "step": 7000
94
+ },
95
+ {
96
+ "epoch": 2.47,
97
+ "learning_rate": 8.86804870023034e-06,
98
+ "loss": 2.644,
99
+ "step": 7500
100
+ },
101
+ {
102
+ "epoch": 2.63,
103
+ "learning_rate": 6.125918613579029e-06,
104
+ "loss": 2.6336,
105
+ "step": 8000
106
+ },
107
+ {
108
+ "epoch": 2.8,
109
+ "learning_rate": 3.3837885269277177e-06,
110
+ "loss": 2.6286,
111
+ "step": 8500
112
+ },
113
+ {
114
+ "epoch": 2.96,
115
+ "learning_rate": 6.416584402764068e-07,
116
+ "loss": 2.6227,
117
+ "step": 9000
118
+ },
119
+ {
120
+ "epoch": 3.0,
121
+ "step": 9117,
122
+ "total_flos": 8.259990898448794e+16,
123
+ "train_loss": 2.733830861908257,
124
+ "train_runtime": 14258.7293,
125
+ "train_samples_per_second": 20.458,
126
+ "train_steps_per_second": 0.639
127
+ }
128
+ ],
129
+ "logging_steps": 500,
130
+ "max_steps": 9117,
131
+ "num_train_epochs": 3,
132
+ "save_steps": 500,
133
+ "total_flos": 8.259990898448794e+16,
134
+ "trial_name": null,
135
+ "trial_params": null
136
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e8d522da8ef5686d8996b01d3597d015f38658e4c113bec3a712d467725673f
3
+ size 4155