Upload 5 files
Browse filesupload json files
- config.json +37 -0
- special_tokens_map.json +9 -0
- tokenizer.json +0 -0
- tokenizer_config.json +16 -0
- trainer_state.json +69 -0
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bartpho-syllable",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"MBartForQuestionAnswering"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"classifier_dropout": 0.0,
|
11 |
+
"d_model": 1024,
|
12 |
+
"decoder_attention_heads": 16,
|
13 |
+
"decoder_ffn_dim": 4096,
|
14 |
+
"decoder_layerdrop": 0.0,
|
15 |
+
"decoder_layers": 12,
|
16 |
+
"decoder_start_token_id": 2,
|
17 |
+
"dropout": 0.1,
|
18 |
+
"encoder_attention_heads": 16,
|
19 |
+
"encoder_ffn_dim": 4096,
|
20 |
+
"encoder_layerdrop": 0.0,
|
21 |
+
"encoder_layers": 12,
|
22 |
+
"eos_token_id": 2,
|
23 |
+
"forced_eos_token_id": 2,
|
24 |
+
"gradient_checkpointing": false,
|
25 |
+
"init_std": 0.02,
|
26 |
+
"is_encoder_decoder": true,
|
27 |
+
"max_position_embeddings": 1024,
|
28 |
+
"model_type": "mbart",
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"pad_token_id": 1,
|
31 |
+
"scale_embedding": false,
|
32 |
+
"tokenizer_class": "BartphoTokenizer",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.41.2",
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 40031
|
37 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pad_token": {
|
3 |
+
"content": "[PAD]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
}
|
9 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"40030": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
}
|
11 |
+
},
|
12 |
+
"clean_up_tokenization_spaces": true,
|
13 |
+
"model_max_length": 1000000000000000019884624838656,
|
14 |
+
"pad_token": "[PAD]",
|
15 |
+
"tokenizer_class": "PreTrainedTokenizerFast"
|
16 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.3250207813798838,
|
5 |
+
"eval_steps": 2000,
|
6 |
+
"global_step": 2000,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.8312551953449709,
|
13 |
+
"grad_norm": 16.231958389282227,
|
14 |
+
"learning_rate": 1.584026622296173e-05,
|
15 |
+
"loss": 2.784,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.6625103906899419,
|
20 |
+
"grad_norm": 22.48409080505371,
|
21 |
+
"learning_rate": 1.1680532445923463e-05,
|
22 |
+
"loss": 1.8476,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 2.493765586034913,
|
27 |
+
"grad_norm": 12.915149688720703,
|
28 |
+
"learning_rate": 7.520798668885192e-06,
|
29 |
+
"loss": 1.1381,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 3.3250207813798838,
|
34 |
+
"grad_norm": 12.136582374572754,
|
35 |
+
"learning_rate": 3.3610648918469217e-06,
|
36 |
+
"loss": 0.9397,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 3.3250207813798838,
|
41 |
+
"eval_loss": 0.7907648682594299,
|
42 |
+
"eval_runtime": 93.7355,
|
43 |
+
"eval_samples_per_second": 15.181,
|
44 |
+
"eval_steps_per_second": 0.949,
|
45 |
+
"step": 2000
|
46 |
+
}
|
47 |
+
],
|
48 |
+
"logging_steps": 500,
|
49 |
+
"max_steps": 2404,
|
50 |
+
"num_input_tokens_seen": 0,
|
51 |
+
"num_train_epochs": 4,
|
52 |
+
"save_steps": 2000,
|
53 |
+
"stateful_callbacks": {
|
54 |
+
"TrainerControl": {
|
55 |
+
"args": {
|
56 |
+
"should_epoch_stop": false,
|
57 |
+
"should_evaluate": false,
|
58 |
+
"should_log": false,
|
59 |
+
"should_save": true,
|
60 |
+
"should_training_stop": false
|
61 |
+
},
|
62 |
+
"attributes": {}
|
63 |
+
}
|
64 |
+
},
|
65 |
+
"total_flos": 1.3863209696980992e+17,
|
66 |
+
"train_batch_size": 16,
|
67 |
+
"trial_name": null,
|
68 |
+
"trial_params": null
|
69 |
+
}
|