johnjose223
commited on
Commit
•
278e0ef
1
Parent(s):
95bb950
Upload with huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +53 -0
- all_results.json +14 -0
- config.json +43 -0
- eval_nbest_predictions.json +3 -0
- eval_predictions.json +0 -0
- eval_results.json +9 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +19 -0
- spiece.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +26 -0
- train_results.json +8 -0
- trainer_state.json +79 -0
- training_args.bin +3 -0
.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: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- squad
|
7 |
+
model-index:
|
8 |
+
- name: wd_0.01_bs_24_lr_1e-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_24_lr_1e-05_epochs_4
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [xlnet-large-cased](https://huggingface.co/xlnet-large-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: 1e-05
|
37 |
+
- train_batch_size: 72
|
38 |
+
- eval_batch_size: 192
|
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.13.2
|
all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"eval_exact_match": 86.87795648060549,
|
4 |
+
"eval_f1": 93.4076288561567,
|
5 |
+
"eval_runtime": 182.8274,
|
6 |
+
"eval_samples": 10848,
|
7 |
+
"eval_samples_per_second": 59.335,
|
8 |
+
"eval_steps_per_second": 0.312,
|
9 |
+
"train_loss": 0.6981605795639261,
|
10 |
+
"train_runtime": 13226.0556,
|
11 |
+
"train_samples": 88835,
|
12 |
+
"train_samples_per_second": 26.867,
|
13 |
+
"train_steps_per_second": 0.373
|
14 |
+
}
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "xlnet-large-cased",
|
3 |
+
"architectures": [
|
4 |
+
"XLNetForQuestionAnswering"
|
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": 4096,
|
12 |
+
"d_model": 1024,
|
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": 16,
|
22 |
+
"n_layer": 24,
|
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.27.4",
|
39 |
+
"untie_r": true,
|
40 |
+
"use_mems_eval": true,
|
41 |
+
"use_mems_train": false,
|
42 |
+
"vocab_size": 32000
|
43 |
+
}
|
eval_nbest_predictions.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed1208a9d6ddf4a47ee7b6a07d8b7070587946757939ca3b52e0297192160c1e
|
3 |
+
size 40116595
|
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": 86.87795648060549,
|
4 |
+
"eval_f1": 93.4076288561567,
|
5 |
+
"eval_runtime": 182.8274,
|
6 |
+
"eval_samples": 10848,
|
7 |
+
"eval_samples_per_second": 59.335,
|
8 |
+
"eval_steps_per_second": 0.312
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea56f235f809af3eb6c1727540f5da60919cbd47cffdb38c02f72b5aedb9bae9
|
3 |
+
size 1458021793
|
special_tokens_map.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": {
|
10 |
+
"content": "<mask>",
|
11 |
+
"lstrip": true,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<pad>",
|
17 |
+
"sep_token": "<sep>",
|
18 |
+
"unk_token": "<unk>"
|
19 |
+
}
|
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,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<eop>",
|
4 |
+
"<eod>"
|
5 |
+
],
|
6 |
+
"bos_token": "<s>",
|
7 |
+
"cls_token": "<cls>",
|
8 |
+
"do_lower_case": false,
|
9 |
+
"eos_token": "</s>",
|
10 |
+
"keep_accents": false,
|
11 |
+
"mask_token": {
|
12 |
+
"__type": "AddedToken",
|
13 |
+
"content": "<mask>",
|
14 |
+
"lstrip": true,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false
|
18 |
+
},
|
19 |
+
"model_max_length": 1000000000000000019884624838656,
|
20 |
+
"pad_token": "<pad>",
|
21 |
+
"remove_space": true,
|
22 |
+
"sep_token": "<sep>",
|
23 |
+
"special_tokens_map_file": null,
|
24 |
+
"tokenizer_class": "XLNetTokenizer",
|
25 |
+
"unk_token": "<unk>"
|
26 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"train_loss": 0.6981605795639261,
|
4 |
+
"train_runtime": 13226.0556,
|
5 |
+
"train_samples": 88835,
|
6 |
+
"train_samples_per_second": 26.867,
|
7 |
+
"train_steps_per_second": 0.373
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 4.0,
|
5 |
+
"global_step": 4936,
|
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.41,
|
12 |
+
"learning_rate": 8.987034035656403e-06,
|
13 |
+
"loss": 1.5994,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.81,
|
18 |
+
"learning_rate": 7.974068071312805e-06,
|
19 |
+
"loss": 0.8358,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.22,
|
24 |
+
"learning_rate": 6.961102106969206e-06,
|
25 |
+
"loss": 0.7185,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 1.62,
|
30 |
+
"learning_rate": 5.948136142625608e-06,
|
31 |
+
"loss": 0.6419,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.03,
|
36 |
+
"learning_rate": 4.93517017828201e-06,
|
37 |
+
"loss": 0.6228,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 2.43,
|
42 |
+
"learning_rate": 3.922204213938412e-06,
|
43 |
+
"loss": 0.5474,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 2.84,
|
48 |
+
"learning_rate": 2.9092382495948142e-06,
|
49 |
+
"loss": 0.5291,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 3.24,
|
54 |
+
"learning_rate": 1.8962722852512159e-06,
|
55 |
+
"loss": 0.5007,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 3.65,
|
60 |
+
"learning_rate": 8.833063209076175e-07,
|
61 |
+
"loss": 0.4824,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 4.0,
|
66 |
+
"step": 4936,
|
67 |
+
"total_flos": 2.7156576624344064e+17,
|
68 |
+
"train_loss": 0.6981605795639261,
|
69 |
+
"train_runtime": 13226.0556,
|
70 |
+
"train_samples_per_second": 26.867,
|
71 |
+
"train_steps_per_second": 0.373
|
72 |
+
}
|
73 |
+
],
|
74 |
+
"max_steps": 4936,
|
75 |
+
"num_train_epochs": 4,
|
76 |
+
"total_flos": 2.7156576624344064e+17,
|
77 |
+
"trial_name": null,
|
78 |
+
"trial_params": null
|
79 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39f2d6c5ccc801f95eb761862b4d626f500f11a01281e6702b9150fa5df29b63
|
3 |
+
size 3643
|