johnjose223 commited on
Commit
51ba62e
1 Parent(s): c147100

Upload with huggingface_hub

Browse files
.gitattributes CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ eval_nbest_predictions.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - squad
7
+ model-index:
8
+ - name: wd_0.01_bs_12_lr_2e-05_epochs_4
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # wd_0.01_bs_12_lr_2e-05_epochs_4
16
+
17
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the squad dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 2e-05
37
+ - train_batch_size: 36
38
+ - eval_batch_size: 24
39
+ - seed: 42
40
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
+ - lr_scheduler_type: linear
42
+ - num_epochs: 4.0
43
+
44
+ ### Training results
45
+
46
+
47
+
48
+ ### Framework versions
49
+
50
+ - Transformers 4.27.4
51
+ - Pytorch 1.13.1
52
+ - Datasets 2.11.0
53
+ - Tokenizers 0.11.0
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_exact_match": 80.56764427625355,
4
+ "eval_f1": 88.20408506306627,
5
+ "eval_runtime": 64.6352,
6
+ "eval_samples": 10822,
7
+ "eval_samples_per_second": 167.432,
8
+ "eval_steps_per_second": 6.978,
9
+ "train_loss": 0.8512596145846539,
10
+ "train_runtime": 3575.2739,
11
+ "train_samples": 88729,
12
+ "train_samples_per_second": 99.27,
13
+ "train_steps_per_second": 2.758
14
+ }
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
3
+ "architectures": [
4
+ "BertForQuestionAnswering"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.27.4",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 28996
26
+ }
eval_nbest_predictions.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79226e833cb294b468823a615696e7accdd3669e91c2daefb35f06249f06b4d4
3
+ size 48649013
eval_predictions.json ADDED
The diff for this file is too large to render. See raw diff
 
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_exact_match": 80.56764427625355,
4
+ "eval_f1": 88.20408506306627,
5
+ "eval_runtime": 64.6352,
6
+ "eval_samples": 10822,
7
+ "eval_samples_per_second": 167.432,
8
+ "eval_steps_per_second": 6.978
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d36218bf33ad0523c586a275648e1574b0e23a488464826971992624eb39f3bd
3
+ size 430957037
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,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_lower_case": false,
4
+ "mask_token": "[MASK]",
5
+ "model_max_length": 512,
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "special_tokens_map_file": null,
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "train_loss": 0.8512596145846539,
4
+ "train_runtime": 3575.2739,
5
+ "train_samples": 88729,
6
+ "train_samples_per_second": 99.27,
7
+ "train_steps_per_second": 2.758
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.0,
5
+ "global_step": 9860,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.2,
12
+ "learning_rate": 1.8985801217038542e-05,
13
+ "loss": 2.0844,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.41,
18
+ "learning_rate": 1.797160243407708e-05,
19
+ "loss": 1.322,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.61,
24
+ "learning_rate": 1.6957403651115622e-05,
25
+ "loss": 1.1934,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.81,
30
+ "learning_rate": 1.594320486815416e-05,
31
+ "loss": 1.1366,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 1.01,
36
+ "learning_rate": 1.4929006085192699e-05,
37
+ "loss": 1.0634,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 1.22,
42
+ "learning_rate": 1.3914807302231239e-05,
43
+ "loss": 0.855,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 1.42,
48
+ "learning_rate": 1.2900608519269777e-05,
49
+ "loss": 0.8663,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 1.62,
54
+ "learning_rate": 1.1886409736308317e-05,
55
+ "loss": 0.8364,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 1.83,
60
+ "learning_rate": 1.0872210953346858e-05,
61
+ "loss": 0.835,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 2.03,
66
+ "learning_rate": 9.858012170385396e-06,
67
+ "loss": 0.8107,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 2.23,
72
+ "learning_rate": 8.843813387423936e-06,
73
+ "loss": 0.6625,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 2.43,
78
+ "learning_rate": 7.829614604462476e-06,
79
+ "loss": 0.6576,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 2.64,
84
+ "learning_rate": 6.815415821501015e-06,
85
+ "loss": 0.6617,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 2.84,
90
+ "learning_rate": 5.801217038539554e-06,
91
+ "loss": 0.6515,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 3.04,
96
+ "learning_rate": 4.787018255578094e-06,
97
+ "loss": 0.6179,
98
+ "step": 7500
99
+ },
100
+ {
101
+ "epoch": 3.25,
102
+ "learning_rate": 3.7728194726166332e-06,
103
+ "loss": 0.5304,
104
+ "step": 8000
105
+ },
106
+ {
107
+ "epoch": 3.45,
108
+ "learning_rate": 2.7586206896551725e-06,
109
+ "loss": 0.5401,
110
+ "step": 8500
111
+ },
112
+ {
113
+ "epoch": 3.65,
114
+ "learning_rate": 1.7444219066937122e-06,
115
+ "loss": 0.5549,
116
+ "step": 9000
117
+ },
118
+ {
119
+ "epoch": 3.85,
120
+ "learning_rate": 7.302231237322515e-07,
121
+ "loss": 0.5237,
122
+ "step": 9500
123
+ },
124
+ {
125
+ "epoch": 4.0,
126
+ "step": 9860,
127
+ "total_flos": 6.955379978528563e+16,
128
+ "train_loss": 0.8512596145846539,
129
+ "train_runtime": 3575.2739,
130
+ "train_samples_per_second": 99.27,
131
+ "train_steps_per_second": 2.758
132
+ }
133
+ ],
134
+ "max_steps": 9860,
135
+ "num_train_epochs": 4,
136
+ "total_flos": 6.955379978528563e+16,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:779e8af9b73cbb07cfe8d904c2e7d5e2283cd0362a3bdf03cfbbc6ee392b9c88
3
+ size 3707
vocab.txt ADDED
The diff for this file is too large to render. See raw diff