Palak Goenka
commited on
Commit
路
1f8912e
1
Parent(s):
6311bf7
add files
Browse files- README.md +48 -0
- all_results.json +5 -0
- config.json +32 -0
- eval_results.json +5 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +184 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
datasets:
|
| 5 |
+
- squad
|
| 6 |
+
model-index:
|
| 7 |
+
- name: eval_microsoft-deberta-large
|
| 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 |
+
# eval_microsoft-deberta-large
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [microsoft_deberta-large_squad/checkpoint-14000](https://huggingface.co/microsoft_deberta-large_squad/checkpoint-14000) on the squad 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: 12
|
| 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 |
+
- num_epochs: 0.0
|
| 42 |
+
|
| 43 |
+
### Framework versions
|
| 44 |
+
|
| 45 |
+
- Transformers 4.14.1
|
| 46 |
+
- Pytorch 1.9.0
|
| 47 |
+
- Datasets 1.16.1
|
| 48 |
+
- Tokenizers 0.10.3
|
all_results.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eval_exact_match": 87.89025543992432,
|
| 3 |
+
"eval_f1": 93.8755152147345,
|
| 4 |
+
"eval_samples": 10788
|
| 5 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "microsoft/deberta-large",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"DebertaForQuestionAnswering"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"hidden_act": "gelu",
|
| 8 |
+
"hidden_dropout_prob": 0.1,
|
| 9 |
+
"hidden_size": 1024,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 4096,
|
| 12 |
+
"layer_norm_eps": 1e-07,
|
| 13 |
+
"max_position_embeddings": 512,
|
| 14 |
+
"max_relative_positions": -1,
|
| 15 |
+
"model_type": "deberta",
|
| 16 |
+
"num_attention_heads": 16,
|
| 17 |
+
"num_hidden_layers": 24,
|
| 18 |
+
"pad_token_id": 0,
|
| 19 |
+
"pooler_dropout": 0,
|
| 20 |
+
"pooler_hidden_act": "gelu",
|
| 21 |
+
"pooler_hidden_size": 1024,
|
| 22 |
+
"pos_att_type": [
|
| 23 |
+
"c2p",
|
| 24 |
+
"p2c"
|
| 25 |
+
],
|
| 26 |
+
"position_biased_input": false,
|
| 27 |
+
"relative_attention": true,
|
| 28 |
+
"torch_dtype": "float32",
|
| 29 |
+
"transformers_version": "4.14.1",
|
| 30 |
+
"type_vocab_size": 0,
|
| 31 |
+
"vocab_size": 50265
|
| 32 |
+
}
|
eval_results.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eval_exact_match": 87.89025543992432,
|
| 3 |
+
"eval_f1": 93.8755152147345,
|
| 4 |
+
"eval_samples": 10788
|
| 5 |
+
}
|
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:f0183e6a88fdc9807efac1477257af57f93535ef4d9d9cf2964ae7c277ddeb9e
|
| 3 |
+
size 1620825459
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"bos_token": {"content": "[CLS]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "[SEP]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "[UNK]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "sep_token": {"content": "[SEP]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": {"content": "[PAD]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "cls_token": {"content": "[CLS]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"unk_token": {"content": "[UNK]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "[CLS]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "[SEP]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "errors": "replace", "sep_token": {"content": "[SEP]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "[CLS]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "[PAD]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "do_lower_case": false, "vocab_type": "gpt2", "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "microsoft/deberta-large", "tokenizer_class": "DebertaTokenizer"}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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epoch": 1.897018970189702,
|
| 5 |
+
"global_step": 14000,
|
| 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.07,
|
| 12 |
+
"learning_rate": 2.932249322493225e-05,
|
| 13 |
+
"loss": 1.2027,
|
| 14 |
+
"step": 500
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"epoch": 0.14,
|
| 18 |
+
"learning_rate": 2.86449864498645e-05,
|
| 19 |
+
"loss": 0.9342,
|
| 20 |
+
"step": 1000
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"epoch": 0.2,
|
| 24 |
+
"learning_rate": 2.7967479674796748e-05,
|
| 25 |
+
"loss": 0.8946,
|
| 26 |
+
"step": 1500
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"epoch": 0.27,
|
| 30 |
+
"learning_rate": 2.7289972899729e-05,
|
| 31 |
+
"loss": 0.8385,
|
| 32 |
+
"step": 2000
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"epoch": 0.34,
|
| 36 |
+
"learning_rate": 2.6612466124661247e-05,
|
| 37 |
+
"loss": 0.8886,
|
| 38 |
+
"step": 2500
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.41,
|
| 42 |
+
"learning_rate": 2.59349593495935e-05,
|
| 43 |
+
"loss": 0.8402,
|
| 44 |
+
"step": 3000
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.47,
|
| 48 |
+
"learning_rate": 2.5257452574525747e-05,
|
| 49 |
+
"loss": 0.8194,
|
| 50 |
+
"step": 3500
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"epoch": 0.54,
|
| 54 |
+
"learning_rate": 2.4579945799457998e-05,
|
| 55 |
+
"loss": 0.8212,
|
| 56 |
+
"step": 4000
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"epoch": 0.61,
|
| 60 |
+
"learning_rate": 2.3902439024390246e-05,
|
| 61 |
+
"loss": 0.8091,
|
| 62 |
+
"step": 4500
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"epoch": 0.68,
|
| 66 |
+
"learning_rate": 2.3224932249322494e-05,
|
| 67 |
+
"loss": 0.8132,
|
| 68 |
+
"step": 5000
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"epoch": 0.75,
|
| 72 |
+
"learning_rate": 2.2547425474254745e-05,
|
| 73 |
+
"loss": 0.8147,
|
| 74 |
+
"step": 5500
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"epoch": 0.81,
|
| 78 |
+
"learning_rate": 2.186991869918699e-05,
|
| 79 |
+
"loss": 0.7896,
|
| 80 |
+
"step": 6000
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.88,
|
| 84 |
+
"learning_rate": 2.119241192411924e-05,
|
| 85 |
+
"loss": 0.789,
|
| 86 |
+
"step": 6500
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 0.95,
|
| 90 |
+
"learning_rate": 2.051490514905149e-05,
|
| 91 |
+
"loss": 0.7633,
|
| 92 |
+
"step": 7000
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"epoch": 1.02,
|
| 96 |
+
"learning_rate": 1.983739837398374e-05,
|
| 97 |
+
"loss": 0.7146,
|
| 98 |
+
"step": 7500
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"epoch": 1.08,
|
| 102 |
+
"learning_rate": 1.915989159891599e-05,
|
| 103 |
+
"loss": 0.5437,
|
| 104 |
+
"step": 8000
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"epoch": 1.15,
|
| 108 |
+
"learning_rate": 1.8482384823848237e-05,
|
| 109 |
+
"loss": 0.5602,
|
| 110 |
+
"step": 8500
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 1.22,
|
| 114 |
+
"learning_rate": 1.7804878048780488e-05,
|
| 115 |
+
"loss": 0.5229,
|
| 116 |
+
"step": 9000
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"epoch": 1.29,
|
| 120 |
+
"learning_rate": 1.7127371273712736e-05,
|
| 121 |
+
"loss": 0.5459,
|
| 122 |
+
"step": 9500
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 1.36,
|
| 126 |
+
"learning_rate": 1.6449864498644987e-05,
|
| 127 |
+
"loss": 0.5575,
|
| 128 |
+
"step": 10000
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 1.42,
|
| 132 |
+
"learning_rate": 1.5772357723577235e-05,
|
| 133 |
+
"loss": 0.5722,
|
| 134 |
+
"step": 10500
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"epoch": 1.49,
|
| 138 |
+
"learning_rate": 1.5094850948509487e-05,
|
| 139 |
+
"loss": 0.5476,
|
| 140 |
+
"step": 11000
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"epoch": 1.56,
|
| 144 |
+
"learning_rate": 1.4417344173441735e-05,
|
| 145 |
+
"loss": 0.5541,
|
| 146 |
+
"step": 11500
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"epoch": 1.63,
|
| 150 |
+
"learning_rate": 1.3739837398373984e-05,
|
| 151 |
+
"loss": 0.5298,
|
| 152 |
+
"step": 12000
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"epoch": 1.69,
|
| 156 |
+
"learning_rate": 1.3062330623306234e-05,
|
| 157 |
+
"loss": 0.5409,
|
| 158 |
+
"step": 12500
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"epoch": 1.76,
|
| 162 |
+
"learning_rate": 1.2384823848238483e-05,
|
| 163 |
+
"loss": 0.5411,
|
| 164 |
+
"step": 13000
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 1.83,
|
| 168 |
+
"learning_rate": 1.1707317073170733e-05,
|
| 169 |
+
"loss": 0.5214,
|
| 170 |
+
"step": 13500
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"epoch": 1.9,
|
| 174 |
+
"learning_rate": 1.1029810298102981e-05,
|
| 175 |
+
"loss": 0.5251,
|
| 176 |
+
"step": 14000
|
| 177 |
+
}
|
| 178 |
+
],
|
| 179 |
+
"max_steps": 22140,
|
| 180 |
+
"num_train_epochs": 3,
|
| 181 |
+
"total_flos": 1.3649092771917312e+17,
|
| 182 |
+
"trial_name": null,
|
| 183 |
+
"trial_params": null
|
| 184 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0140c9b640ab2aabcdf79912c154a0768fa347bf89cba19df008dccf8b2bce6a
|
| 3 |
+
size 2927
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|