asdf
Browse files- .gitattributes +3 -0
- README.md +51 -0
- all_results.json +22 -0
- config.json +25 -0
- eval_nbest_predictions.json +3 -0
- eval_null_odds.json +0 -0
- eval_predictions.json +0 -0
- eval_results.json +17 -0
- pytorch_model.bin +3 -0
- runs/Jun03_21-55-50_b6dcb14562f6/1654293371.494883/events.out.tfevents.1654293371.b6dcb14562f6.19259.1 +3 -0
- runs/Jun03_21-55-50_b6dcb14562f6/events.out.tfevents.1654293371.b6dcb14562f6.19259.0 +3 -0
- runs/Jun03_21-55-50_b6dcb14562f6/events.out.tfevents.1654294772.b6dcb14562f6.19259.2 +3 -0
- special_tokens_map.json +10 -0
- tokenizer.json +0 -0
- tokenizer_config.json +19 -0
- train_results.json +8 -0
- trainer_state.json +102 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitattributes
CHANGED
@@ -25,3 +25,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
29 |
+
training_args.bin filter=lfs diff=lfs merge=lfs -text
|
30 |
+
eval_nbest_predictions.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,54 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- squad_v2
|
7 |
+
model-index:
|
8 |
+
- name: splinter-base-squad2_3
|
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 |
+
# splinter-base-squad2_3
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [tau/splinter-base-qass](https://huggingface.co/tau/splinter-base-qass) on the squad_v2 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: 5e-05
|
37 |
+
- train_batch_size: 64
|
38 |
+
- eval_batch_size: 256
|
39 |
+
- seed: 42
|
40 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
41 |
+
- lr_scheduler_type: linear
|
42 |
+
- num_epochs: 1.0
|
43 |
+
- mixed_precision_training: Native AMP
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.20.0.dev0
|
52 |
+
- Pytorch 1.11.0a0+17540c5
|
53 |
+
- Datasets 2.2.2
|
54 |
+
- Tokenizers 0.12.1
|
all_results.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_HasAns_exact": 78.34008097165992,
|
4 |
+
"eval_HasAns_f1": 84.67679499790667,
|
5 |
+
"eval_HasAns_total": 5928,
|
6 |
+
"eval_NoAns_exact": 79.47855340622371,
|
7 |
+
"eval_NoAns_f1": 79.47855340622371,
|
8 |
+
"eval_NoAns_total": 5945,
|
9 |
+
"eval_best_exact": 78.9101322327971,
|
10 |
+
"eval_best_exact_thresh": 0.0,
|
11 |
+
"eval_best_f1": 82.07395272867763,
|
12 |
+
"eval_best_f1_thresh": 0.0,
|
13 |
+
"eval_exact": 78.9101322327971,
|
14 |
+
"eval_f1": 82.07395272867774,
|
15 |
+
"eval_samples": 12208,
|
16 |
+
"eval_total": 11873,
|
17 |
+
"train_loss": 1.0508381767365316,
|
18 |
+
"train_runtime": 1311.9498,
|
19 |
+
"train_samples": 132131,
|
20 |
+
"train_samples_per_second": 100.713,
|
21 |
+
"train_steps_per_second": 1.574
|
22 |
+
}
|
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tau/splinter-base-qass",
|
3 |
+
"architectures": [
|
4 |
+
"SplinterForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"initialize_new_qass": true,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 3072,
|
13 |
+
"layer_norm_eps": 1e-12,
|
14 |
+
"max_position_embeddings": 512,
|
15 |
+
"model_type": "splinter",
|
16 |
+
"num_attention_heads": 12,
|
17 |
+
"num_hidden_layers": 12,
|
18 |
+
"pad_token_id": 0,
|
19 |
+
"question_token_id": 104,
|
20 |
+
"torch_dtype": "float32",
|
21 |
+
"transformers_version": "4.20.0.dev0",
|
22 |
+
"type_vocab_size": 2,
|
23 |
+
"use_cache": true,
|
24 |
+
"vocab_size": 28996
|
25 |
+
}
|
eval_nbest_predictions.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96c2f8ffcdc41d518e6b87ffd4c3c38ef11ca00dd494a0ddcdceb74083801e03
|
3 |
+
size 50101493
|
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,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_HasAns_exact": 78.34008097165992,
|
4 |
+
"eval_HasAns_f1": 84.67679499790667,
|
5 |
+
"eval_HasAns_total": 5928,
|
6 |
+
"eval_NoAns_exact": 79.47855340622371,
|
7 |
+
"eval_NoAns_f1": 79.47855340622371,
|
8 |
+
"eval_NoAns_total": 5945,
|
9 |
+
"eval_best_exact": 78.9101322327971,
|
10 |
+
"eval_best_exact_thresh": 0.0,
|
11 |
+
"eval_best_f1": 82.07395272867763,
|
12 |
+
"eval_best_f1_thresh": 0.0,
|
13 |
+
"eval_exact": 78.9101322327971,
|
14 |
+
"eval_f1": 82.07395272867774,
|
15 |
+
"eval_samples": 12208,
|
16 |
+
"eval_total": 11873
|
17 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a05958ffed4a3bdbad5686226b88c000ca3e20ae0ae6168340e199e34ae5808
|
3 |
+
size 445147921
|
runs/Jun03_21-55-50_b6dcb14562f6/1654293371.494883/events.out.tfevents.1654293371.b6dcb14562f6.19259.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df4677ee5a616a544fb2546b69dd0f57fb4c0b9d82a06abfa9acf4efd0442f20
|
3 |
+
size 5220
|
runs/Jun03_21-55-50_b6dcb14562f6/events.out.tfevents.1654293371.b6dcb14562f6.19259.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb30a7a226236f17365aa1a48949fbda0d8a53c96167146d28de3f771705426d
|
3 |
+
size 6202
|
runs/Jun03_21-55-50_b6dcb14562f6/events.out.tfevents.1654294772.b6dcb14562f6.19259.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6fb4b80eb32b6c3960099e6b2dc6d9b359540506302d3d3b024fc8b5bfd6c23
|
3 |
+
size 785
|
special_tokens_map.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"[QUESTION]"
|
4 |
+
],
|
5 |
+
"cls_token": "[CLS]",
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"unk_token": "[UNK]"
|
10 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"[QUESTION]"
|
4 |
+
],
|
5 |
+
"cls_token": "[CLS]",
|
6 |
+
"do_basic_tokenize": true,
|
7 |
+
"do_lower_case": false,
|
8 |
+
"mask_token": "[MASK]",
|
9 |
+
"model_max_length": 512,
|
10 |
+
"name_or_path": "tau/splinter-base-qass",
|
11 |
+
"never_split": null,
|
12 |
+
"pad_token": "[PAD]",
|
13 |
+
"sep_token": "[SEP]",
|
14 |
+
"special_tokens_map_file": "/home/.cache/huggingface/transformers/4abdf987baedc3cc34df313a86725615a89b36b3b69631703c5c99fd165fcb6b.5f8d8adb4106c43ee43d2bbbdf22053095b63cf98e866c0164335424931f338c",
|
15 |
+
"strip_accents": null,
|
16 |
+
"tokenize_chinese_chars": true,
|
17 |
+
"tokenizer_class": "SplinterTokenizer",
|
18 |
+
"unk_token": "[UNK]"
|
19 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 1.0508381767365316,
|
4 |
+
"train_runtime": 1311.9498,
|
5 |
+
"train_samples": 132131,
|
6 |
+
"train_samples_per_second": 100.713,
|
7 |
+
"train_steps_per_second": 1.574
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"global_step": 2065,
|
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.1,
|
12 |
+
"learning_rate": 4.527845036319613e-05,
|
13 |
+
"loss": 1.6102,
|
14 |
+
"step": 200
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.19,
|
18 |
+
"learning_rate": 4.043583535108959e-05,
|
19 |
+
"loss": 1.0235,
|
20 |
+
"step": 400
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.29,
|
24 |
+
"learning_rate": 3.559322033898305e-05,
|
25 |
+
"loss": 0.9512,
|
26 |
+
"step": 600
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.39,
|
30 |
+
"learning_rate": 3.0750605326876516e-05,
|
31 |
+
"loss": 0.9026,
|
32 |
+
"step": 800
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.48,
|
36 |
+
"learning_rate": 2.5907990314769975e-05,
|
37 |
+
"loss": 0.873,
|
38 |
+
"step": 1000
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.58,
|
42 |
+
"learning_rate": 2.106537530266344e-05,
|
43 |
+
"loss": 1.253,
|
44 |
+
"step": 1200
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.68,
|
48 |
+
"learning_rate": 1.6222760290556903e-05,
|
49 |
+
"loss": 0.8331,
|
50 |
+
"step": 1400
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.77,
|
54 |
+
"learning_rate": 1.1380145278450363e-05,
|
55 |
+
"loss": 1.5833,
|
56 |
+
"step": 1600
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.87,
|
60 |
+
"learning_rate": 6.537530266343826e-06,
|
61 |
+
"loss": 0.7863,
|
62 |
+
"step": 1800
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.97,
|
66 |
+
"learning_rate": 1.6949152542372882e-06,
|
67 |
+
"loss": 0.7779,
|
68 |
+
"step": 2000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.0,
|
72 |
+
"eval_HasAns_exact": 78.34008097165992,
|
73 |
+
"eval_HasAns_f1": 84.67679499790667,
|
74 |
+
"eval_HasAns_total": 5928,
|
75 |
+
"eval_NoAns_exact": 79.47855340622371,
|
76 |
+
"eval_NoAns_f1": 79.47855340622371,
|
77 |
+
"eval_NoAns_total": 5945,
|
78 |
+
"eval_best_exact": 78.9101322327971,
|
79 |
+
"eval_best_exact_thresh": 0.0,
|
80 |
+
"eval_best_f1": 82.07395272867763,
|
81 |
+
"eval_best_f1_thresh": 0.0,
|
82 |
+
"eval_exact": 78.9101322327971,
|
83 |
+
"eval_f1": 82.07395272867774,
|
84 |
+
"eval_total": 11873,
|
85 |
+
"step": 2065
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 1.0,
|
89 |
+
"step": 2065,
|
90 |
+
"total_flos": 2.697374883446784e+16,
|
91 |
+
"train_loss": 1.0508381767365316,
|
92 |
+
"train_runtime": 1311.9498,
|
93 |
+
"train_samples_per_second": 100.713,
|
94 |
+
"train_steps_per_second": 1.574
|
95 |
+
}
|
96 |
+
],
|
97 |
+
"max_steps": 2065,
|
98 |
+
"num_train_epochs": 1,
|
99 |
+
"total_flos": 2.697374883446784e+16,
|
100 |
+
"trial_name": null,
|
101 |
+
"trial_params": null
|
102 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc3e4760362e8fd809f12f5619051a2bae958d58481a2f28aec87f08c1a674e8
|
3 |
+
size 3247
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|