rohitsroch commited on
Commit
f15a549
1 Parent(s): 241bad6

Upload 15 files

Browse files
.gitattributes CHANGED
@@ -32,3 +32,5 @@ 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
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,54 @@
1
  ---
2
- license: mit
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - squad_v2
6
+ model-index:
7
+ - name: indic-mALBERT-uncased
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
+ # indic-mALBERT-uncased
15
+
16
+ This model is a fine-tuned version of [artifacts2/qa/adversarial_qa/indic-mALBERT-uncased-final](https://huggingface.co/artifacts2/qa/adversarial_qa/indic-mALBERT-uncased-final) on the squad_v2 dataset.
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - learning_rate: 3e-05
36
+ - train_batch_size: 32
37
+ - eval_batch_size: 32
38
+ - seed: 42
39
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
40
+ - lr_scheduler_type: linear
41
+ - lr_scheduler_warmup_steps: 814
42
+ - num_epochs: 5.0
43
+ - mixed_precision_training: Native AMP
44
+
45
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.29.2
52
+ - Pytorch 1.9.0+cu102
53
+ - Datasets 2.12.0
54
+ - Tokenizers 0.13.3
all_results.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_HasAns_exact": 53.54251012145749,
4
+ "eval_HasAns_f1": 63.501893668646716,
5
+ "eval_HasAns_total": 5928,
6
+ "eval_NoAns_exact": 75.10513036164845,
7
+ "eval_NoAns_f1": 75.10513036164845,
8
+ "eval_NoAns_total": 5945,
9
+ "eval_best_exact": 64.3392571380443,
10
+ "eval_best_exact_thresh": 0.0,
11
+ "eval_best_f1": 69.31181888888628,
12
+ "eval_best_f1_thresh": 0.0,
13
+ "eval_exact": 64.3392571380443,
14
+ "eval_f1": 69.31181888888594,
15
+ "eval_runtime": 69.5054,
16
+ "eval_samples": 12000,
17
+ "eval_samples_per_second": 172.649,
18
+ "eval_steps_per_second": 5.395,
19
+ "eval_total": 11873,
20
+ "total_train_time(min)": 157.643,
21
+ "train_loss": 0.08469501011414156,
22
+ "train_runtime": 9458.5775,
23
+ "train_samples": 130898,
24
+ "train_samples_per_second": 69.195,
25
+ "train_steps_per_second": 2.163
26
+ }
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "artifacts2/qa/adversarial_qa/indic-mALBERT-uncased-final",
3
+ "architectures": [
4
+ "AlbertForQuestionAnswering"
5
+ ],
6
+ "attention_probs_dropout_prob": 0,
7
+ "bos_token_id": 2,
8
+ "classifier_dropout_prob": 0.1,
9
+ "down_scale_factor": 1,
10
+ "embedding_size": 128,
11
+ "eos_token_id": 3,
12
+ "gap_size": 0,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0,
15
+ "hidden_size": 768,
16
+ "initializer_range": 0.02,
17
+ "inner_group_num": 1,
18
+ "intermediate_size": 3072,
19
+ "layer_norm_eps": 1e-12,
20
+ "max_position_embeddings": 512,
21
+ "model_type": "albert",
22
+ "net_structure_type": 0,
23
+ "num_attention_heads": 12,
24
+ "num_hidden_groups": 1,
25
+ "num_hidden_layers": 12,
26
+ "num_memory_blocks": 0,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.29.2",
31
+ "type_vocab_size": 2,
32
+ "vocab_size": 200000
33
+ }
eval_nbest_predictions.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1837a7746dc9d86c0bdb098117540f0ce1eb17713a7250c74fa0500ef6cb37f
3
+ size 47775132
eval_null_odds.json ADDED
The diff for this file is too large to render. See raw diff
 
eval_predictions.json ADDED
The diff for this file is too large to render. See raw diff
 
eval_results.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_HasAns_exact": 53.54251012145749,
4
+ "eval_HasAns_f1": 63.501893668646716,
5
+ "eval_HasAns_total": 5928,
6
+ "eval_NoAns_exact": 75.10513036164845,
7
+ "eval_NoAns_f1": 75.10513036164845,
8
+ "eval_NoAns_total": 5945,
9
+ "eval_best_exact": 64.3392571380443,
10
+ "eval_best_exact_thresh": 0.0,
11
+ "eval_best_f1": 69.31181888888628,
12
+ "eval_best_f1_thresh": 0.0,
13
+ "eval_exact": 64.3392571380443,
14
+ "eval_f1": 69.31181888888594,
15
+ "eval_runtime": 69.5054,
16
+ "eval_samples": 12000,
17
+ "eval_samples_per_second": 172.649,
18
+ "eval_steps_per_second": 5.395,
19
+ "eval_total": 11873
20
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5522653c1df356658938e9694dd5e161a02c4b62b1be9bae2d4d458e7045ea5
3
+ size 131430551
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": {
6
+ "content": "[MASK]",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "[SEP]",
14
+ "unk_token": "<unk>"
15
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a1173c2b6e144a02c001e289a05b5dbefddf247c50d4dcf42633158b2968fcb
3
+ size 5646064
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bf1da21c98d020b05be447c9af0a3ae2dada8b03a5be91344ccc5fb1284157e
3
+ size 15273367
tokenizer_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "[CLS]",
5
+ "do_lower_case": true,
6
+ "eos_token": "[SEP]",
7
+ "keep_accents": true,
8
+ "mask_token": {
9
+ "__type": "AddedToken",
10
+ "content": "[MASK]",
11
+ "lstrip": true,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "model_max_length": 1000000000000000019884624838656,
17
+ "pad_token": "<pad>",
18
+ "remove_space": true,
19
+ "sep_token": "[SEP]",
20
+ "sp_model_kwargs": {},
21
+ "tokenizer_class": "AlbertTokenizer",
22
+ "unk_token": "<unk>"
23
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "total_train_time(min)": 157.643,
4
+ "train_loss": 0.08469501011414156,
5
+ "train_runtime": 9458.5775,
6
+ "train_samples": 130898,
7
+ "train_samples_per_second": 69.195,
8
+ "train_steps_per_second": 2.163
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 5.0,
5
+ "global_step": 20455,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 1.0,
12
+ "learning_rate": 2.500229112570643e-05,
13
+ "loss": 0.2994,
14
+ "step": 4091
15
+ },
16
+ {
17
+ "epoch": 1.0,
18
+ "eval_HasAns_exact": 50.77597840755735,
19
+ "eval_HasAns_f1": 59.77609298252823,
20
+ "eval_HasAns_total": 5928,
21
+ "eval_NoAns_exact": 78.60386879730866,
22
+ "eval_NoAns_f1": 78.60386879730866,
23
+ "eval_NoAns_total": 5945,
24
+ "eval_best_exact": 64.7098458687779,
25
+ "eval_best_exact_thresh": 0.0,
26
+ "eval_best_f1": 69.20345988380656,
27
+ "eval_best_f1_thresh": 0.0,
28
+ "eval_exact": 64.7098458687779,
29
+ "eval_f1": 69.20345988380627,
30
+ "eval_runtime": 69.4653,
31
+ "eval_samples_per_second": 172.748,
32
+ "eval_steps_per_second": 5.398,
33
+ "eval_total": 11873,
34
+ "step": 4091
35
+ },
36
+ {
37
+ "epoch": 2.0,
38
+ "learning_rate": 1.875515503283947e-05,
39
+ "loss": 0.0681,
40
+ "step": 8182
41
+ },
42
+ {
43
+ "epoch": 2.0,
44
+ "eval_HasAns_exact": 54.97638326585695,
45
+ "eval_HasAns_f1": 66.01412319490598,
46
+ "eval_HasAns_total": 5928,
47
+ "eval_NoAns_exact": 68.04037005887301,
48
+ "eval_NoAns_f1": 68.04037005887301,
49
+ "eval_NoAns_total": 5945,
50
+ "eval_best_exact": 61.517729301777145,
51
+ "eval_best_exact_thresh": 0.0,
52
+ "eval_best_f1": 67.02869723737984,
53
+ "eval_best_f1_thresh": 0.0,
54
+ "eval_exact": 61.517729301777145,
55
+ "eval_f1": 67.02869723737946,
56
+ "eval_runtime": 69.813,
57
+ "eval_samples_per_second": 171.888,
58
+ "eval_steps_per_second": 5.371,
59
+ "eval_total": 11873,
60
+ "step": 8182
61
+ },
62
+ {
63
+ "epoch": 3.0,
64
+ "learning_rate": 1.2509546357110128e-05,
65
+ "loss": 0.0373,
66
+ "step": 12273
67
+ },
68
+ {
69
+ "epoch": 3.0,
70
+ "eval_HasAns_exact": 52.66531713900135,
71
+ "eval_HasAns_f1": 63.1366903466774,
72
+ "eval_HasAns_total": 5928,
73
+ "eval_NoAns_exact": 74.23044575273339,
74
+ "eval_NoAns_f1": 74.23044575273339,
75
+ "eval_NoAns_total": 5945,
76
+ "eval_best_exact": 63.46332013812853,
77
+ "eval_best_exact_thresh": 0.0,
78
+ "eval_best_f1": 68.6915101806715,
79
+ "eval_best_f1_thresh": 0.0,
80
+ "eval_exact": 63.46332013812853,
81
+ "eval_f1": 68.6915101806711,
82
+ "eval_runtime": 69.5169,
83
+ "eval_samples_per_second": 172.62,
84
+ "eval_steps_per_second": 5.394,
85
+ "eval_total": 11873,
86
+ "step": 12273
87
+ },
88
+ {
89
+ "epoch": 4.0,
90
+ "learning_rate": 6.262410264243165e-06,
91
+ "loss": 0.0144,
92
+ "step": 16364
93
+ },
94
+ {
95
+ "epoch": 4.0,
96
+ "eval_HasAns_exact": 53.07017543859649,
97
+ "eval_HasAns_f1": 63.174613714318006,
98
+ "eval_HasAns_total": 5928,
99
+ "eval_NoAns_exact": 74.88645920941968,
100
+ "eval_NoAns_f1": 74.88645920941968,
101
+ "eval_NoAns_total": 5945,
102
+ "eval_best_exact": 63.99393582076981,
103
+ "eval_best_exact_thresh": 0.0,
104
+ "eval_best_f1": 69.03892108974036,
105
+ "eval_best_f1_thresh": 0.0,
106
+ "eval_exact": 63.99393582076981,
107
+ "eval_f1": 69.03892108973986,
108
+ "eval_runtime": 69.3973,
109
+ "eval_samples_per_second": 172.917,
110
+ "eval_steps_per_second": 5.404,
111
+ "eval_total": 11873,
112
+ "step": 16364
113
+ },
114
+ {
115
+ "epoch": 5.0,
116
+ "learning_rate": 1.3746754238582558e-08,
117
+ "loss": 0.0043,
118
+ "step": 20455
119
+ },
120
+ {
121
+ "epoch": 5.0,
122
+ "eval_HasAns_exact": 53.54251012145749,
123
+ "eval_HasAns_f1": 63.501893668646716,
124
+ "eval_HasAns_total": 5928,
125
+ "eval_NoAns_exact": 75.10513036164845,
126
+ "eval_NoAns_f1": 75.10513036164845,
127
+ "eval_NoAns_total": 5945,
128
+ "eval_best_exact": 64.3392571380443,
129
+ "eval_best_exact_thresh": 0.0,
130
+ "eval_best_f1": 69.31181888888628,
131
+ "eval_best_f1_thresh": 0.0,
132
+ "eval_exact": 64.3392571380443,
133
+ "eval_f1": 69.31181888888594,
134
+ "eval_runtime": 69.762,
135
+ "eval_samples_per_second": 172.014,
136
+ "eval_steps_per_second": 5.375,
137
+ "eval_total": 11873,
138
+ "step": 20455
139
+ },
140
+ {
141
+ "epoch": 5.0,
142
+ "step": 20455,
143
+ "total_flos": 1.445362831448064e+16,
144
+ "train_loss": 0.08469501011414156,
145
+ "train_runtime": 9458.5775,
146
+ "train_samples_per_second": 69.195,
147
+ "train_steps_per_second": 2.163
148
+ }
149
+ ],
150
+ "max_steps": 20455,
151
+ "num_train_epochs": 5,
152
+ "total_flos": 1.445362831448064e+16,
153
+ "trial_name": null,
154
+ "trial_params": null
155
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36a4262a2fb2dab058e3460ff2ccb224e8a0f1a7f2df4ca1cf82ff25acd53e42
3
+ size 4015