add: kobigbird base finetuned klue mrc
Browse files- config.json +35 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +9 -0
- tokenizer.json +0 -0
- tokenizer_config.json +18 -0
- trainer_state.json +81 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "kobigbird-bert-base",
|
3 |
+
"architectures": [
|
4 |
+
"BigBirdForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"attention_type": "block_sparse",
|
8 |
+
"block_size": 64,
|
9 |
+
"bos_token_id": 5,
|
10 |
+
"classifier_dropout": null,
|
11 |
+
"eos_token_id": 6,
|
12 |
+
"gradient_checkpointing": false,
|
13 |
+
"hidden_act": "gelu_new",
|
14 |
+
"hidden_dropout_prob": 0.1,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"layer_norm_eps": 1e-12,
|
19 |
+
"max_position_embeddings": 4096,
|
20 |
+
"model_type": "big_bird",
|
21 |
+
"num_attention_heads": 12,
|
22 |
+
"num_hidden_layers": 12,
|
23 |
+
"num_random_blocks": 3,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"position_embedding_type": "absolute",
|
26 |
+
"rescale_embeddings": false,
|
27 |
+
"sep_token_id": 3,
|
28 |
+
"tokenizer_class": "BertTokenizer",
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.20.1",
|
31 |
+
"type_vocab_size": 2,
|
32 |
+
"use_bias": true,
|
33 |
+
"use_cache": true,
|
34 |
+
"vocab_size": 32500
|
35 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d946f814a6bea1629b6a0d62d29b2441fb4d2c438bb03edc02f986ff854d9400
|
3 |
+
size 943229005
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ed7187bf84878cf112b7bfaff9723b53860b0817e5880a919a1e3cfa76dac4a
|
3 |
+
size 471656101
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be0e07c11052fb02f83565b65528591acdb94f191f708a1a79e562178ea28455
|
3 |
+
size 21579
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0765fe20bbb4aa8153e862dc2d95a7cd2e02d95c74927d339bc5e0169433a39
|
3 |
+
size 559
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:762ef643c14e421cf1936823cf0ad0e6f603c1ab5e29c83e49d59fbc4f98a9da
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"sep_token": "[SEP]",
|
8 |
+
"unk_token": "[UNK]"
|
9 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": false,
|
6 |
+
"eos_token": "</s>",
|
7 |
+
"mask_token": "[MASK]",
|
8 |
+
"model_max_length": 4096,
|
9 |
+
"name_or_path": "kobigbird-bert-base",
|
10 |
+
"never_split": null,
|
11 |
+
"pad_token": "[PAD]",
|
12 |
+
"sep_token": "[SEP]",
|
13 |
+
"special_tokens_map_file": "kobigbird-bert-base/special_tokens_map.json",
|
14 |
+
"strip_accents": null,
|
15 |
+
"tokenize_chinese_chars": true,
|
16 |
+
"tokenizer_class": "BertTokenizer",
|
17 |
+
"unk_token": "[UNK]"
|
18 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 4.989090909090909,
|
5 |
+
"global_step": 340,
|
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.99,
|
12 |
+
"learning_rate": 4e-05,
|
13 |
+
"loss": 2.8431,
|
14 |
+
"step": 68
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.99,
|
18 |
+
"eval_runtime": 196.4833,
|
19 |
+
"eval_samples_per_second": 29.728,
|
20 |
+
"eval_steps_per_second": 0.468,
|
21 |
+
"step": 68
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 1.99,
|
25 |
+
"learning_rate": 3e-05,
|
26 |
+
"loss": 1.1753,
|
27 |
+
"step": 136
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 1.99,
|
31 |
+
"eval_runtime": 196.6946,
|
32 |
+
"eval_samples_per_second": 29.696,
|
33 |
+
"eval_steps_per_second": 0.468,
|
34 |
+
"step": 136
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"epoch": 2.99,
|
38 |
+
"learning_rate": 2e-05,
|
39 |
+
"loss": 0.7899,
|
40 |
+
"step": 204
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"epoch": 2.99,
|
44 |
+
"eval_runtime": 197.3831,
|
45 |
+
"eval_samples_per_second": 29.592,
|
46 |
+
"eval_steps_per_second": 0.466,
|
47 |
+
"step": 204
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 3.99,
|
51 |
+
"learning_rate": 1e-05,
|
52 |
+
"loss": 0.5618,
|
53 |
+
"step": 272
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 3.99,
|
57 |
+
"eval_runtime": 200.0691,
|
58 |
+
"eval_samples_per_second": 29.195,
|
59 |
+
"eval_steps_per_second": 0.46,
|
60 |
+
"step": 272
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 4.99,
|
64 |
+
"learning_rate": 0.0,
|
65 |
+
"loss": 0.4302,
|
66 |
+
"step": 340
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 4.99,
|
70 |
+
"eval_runtime": 198.1115,
|
71 |
+
"eval_samples_per_second": 29.483,
|
72 |
+
"eval_steps_per_second": 0.464,
|
73 |
+
"step": 340
|
74 |
+
}
|
75 |
+
],
|
76 |
+
"max_steps": 340,
|
77 |
+
"num_train_epochs": 5,
|
78 |
+
"total_flos": 1.9333975281854054e+17,
|
79 |
+
"trial_name": null,
|
80 |
+
"trial_params": null
|
81 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b31c3098880f0ec9d7e564dfd2163c3bc02c5249e67874278f9010bf45a3938b
|
3 |
+
size 3247
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|