Kajiura Teruno
commited on
Commit
·
84e7c73
1
Parent(s):
2d4d6cd
Deleted 2,500 words from duplicated vocabulary
Browse files- config.json +31 -0
- generation_config.json +7 -0
- special_tokens_map.json +5 -0
- t5marulog.jsonl +2 -0
- tokenizer_config.json +11 -0
config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/home/acd13734km/PACLIC2023/Hugging/unupload_local_model/mt5_empty2_5k",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"MT5ForConditionalGeneration"
|
| 5 |
+
],
|
| 6 |
+
"d_ff": 1024,
|
| 7 |
+
"d_kv": 64,
|
| 8 |
+
"d_model": 512,
|
| 9 |
+
"decoder_start_token_id": 0,
|
| 10 |
+
"dense_act_fn": "gelu_new",
|
| 11 |
+
"dropout_rate": 0.1,
|
| 12 |
+
"eos_token_id": 1,
|
| 13 |
+
"feed_forward_proj": "gated-gelu",
|
| 14 |
+
"initializer_factor": 1.0,
|
| 15 |
+
"is_encoder_decoder": true,
|
| 16 |
+
"is_gated_act": true,
|
| 17 |
+
"layer_norm_epsilon": 1e-06,
|
| 18 |
+
"model_type": "mt5",
|
| 19 |
+
"num_decoder_layers": 8,
|
| 20 |
+
"num_heads": 6,
|
| 21 |
+
"num_layers": 8,
|
| 22 |
+
"pad_token_id": 0,
|
| 23 |
+
"relative_attention_max_distance": 128,
|
| 24 |
+
"relative_attention_num_buckets": 32,
|
| 25 |
+
"tie_word_embeddings": false,
|
| 26 |
+
"tokenizer_class": "T5Tokenizer",
|
| 27 |
+
"torch_dtype": "float32",
|
| 28 |
+
"transformers_version": "4.28.1",
|
| 29 |
+
"use_cache": true,
|
| 30 |
+
"vocab_size": 250112
|
| 31 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"decoder_start_token_id": 0,
|
| 4 |
+
"eos_token_id": 1,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.28.1"
|
| 7 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": "</s>",
|
| 3 |
+
"pad_token": "<pad>",
|
| 4 |
+
"unk_token": "<unk>"
|
| 5 |
+
}
|
t5marulog.jsonl
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"log": "trained", "date": "2023-07-04T12:04:43", "elapsed": "00:07:10", "model": "/home/acd13734km/PACLIC2023/mt5_empty2_5k", "max_length": 128, "target_max_length": 128, "batch_size": 16, "gradient_accumulation_steps": 1, "train_steps": 4084, "accelerator": "gpu", "devices": "auto", "precision": 32, "strategy": "auto", "gradient_clip_val": 1.0, "compile": true, "solver": "adamw", "lr": 0.0003, "warmup_steps": 1, "training_steps": 100000, "adam_epsilon": 1e-08, "weight_decay": 0.0, "epoch": 5, "step": 3675, "saved": "mt5_empty2_5k_msp"}
|
| 2 |
+
{"log": "trained", "date": "2023-07-04T13:28:45", "elapsed": "00:07:13", "model": "/home/acd13734km/PACLIC2023/Hugging/unupload_local_model/mt5_empty2_5k", "max_length": 128, "target_max_length": 128, "batch_size": 16, "gradient_accumulation_steps": 1, "train_steps": 4084, "accelerator": "gpu", "devices": "auto", "precision": 32, "strategy": "auto", "gradient_clip_val": 1.0, "compile": true, "solver": "adamw", "lr": 0.0003, "warmup_steps": 1, "training_steps": 100000, "adam_epsilon": 1e-08, "weight_decay": 0.0, "epoch": 5, "step": 3675, "saved": "mt5_empty2_5k_msp"}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [],
|
| 3 |
+
"clean_up_tokenization_spaces": true,
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"extra_ids": 0,
|
| 6 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 7 |
+
"pad_token": "<pad>",
|
| 8 |
+
"sp_model_kwargs": {},
|
| 9 |
+
"tokenizer_class": "T5Tokenizer",
|
| 10 |
+
"unk_token": "<unk>"
|
| 11 |
+
}
|