Spaces:
Runtime error
Runtime error
Charles1973
commited on
Commit
·
e794c71
1
Parent(s):
99ac71e
学習済モデル追加
Browse files- output/all_results.json +14 -0
- output/config.json +40 -0
- output/eval_results.json +9 -0
- output/generation_config.json +6 -0
- output/pytorch_model.bin +3 -0
- output/runs/Aug16_05-43-41_86c1fce1b5e8/events.out.tfevents.1692164661.86c1fce1b5e8.2960.0 +3 -0
- output/runs/Aug16_05-43-41_86c1fce1b5e8/events.out.tfevents.1692165456.86c1fce1b5e8.2960.1 +3 -0
- output/special_tokens_map.json +9 -0
- output/spiece.model +3 -0
- output/tokenizer_config.json +18 -0
- output/train_results.json +8 -0
- output/trainer_state.json +31 -0
- output/training_args.bin +3 -0
output/all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 2.6957201957702637,
|
4 |
+
"eval_runtime": 73.5868,
|
5 |
+
"eval_samples": 239,
|
6 |
+
"eval_samples_per_second": 3.248,
|
7 |
+
"eval_steps_per_second": 3.248,
|
8 |
+
"perplexity": 14.816185465869992,
|
9 |
+
"train_loss": 3.2128273765744857,
|
10 |
+
"train_runtime": 716.7583,
|
11 |
+
"train_samples": 239,
|
12 |
+
"train_samples_per_second": 1.0,
|
13 |
+
"train_steps_per_second": 1.0
|
14 |
+
}
|
output/config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "rinna/japanese-gpt2-medium",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"layer_norm_epsilon": 1e-05,
|
14 |
+
"model_type": "gpt2",
|
15 |
+
"n_ctx": 1024,
|
16 |
+
"n_embd": 1024,
|
17 |
+
"n_head": 16,
|
18 |
+
"n_inner": 4096,
|
19 |
+
"n_layer": 24,
|
20 |
+
"n_positions": 1024,
|
21 |
+
"reorder_and_upcast_attn": false,
|
22 |
+
"resid_pdrop": 0.1,
|
23 |
+
"scale_attn_by_inverse_layer_idx": false,
|
24 |
+
"scale_attn_weights": true,
|
25 |
+
"summary_activation": null,
|
26 |
+
"summary_first_dropout": 0.1,
|
27 |
+
"summary_proj_to_labels": true,
|
28 |
+
"summary_type": "cls_index",
|
29 |
+
"summary_use_proj": true,
|
30 |
+
"task_specific_params": {
|
31 |
+
"text-generation": {
|
32 |
+
"do_sample": true,
|
33 |
+
"max_length": 50
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.31.0",
|
38 |
+
"use_cache": true,
|
39 |
+
"vocab_size": 32000
|
40 |
+
}
|
output/eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 2.6957201957702637,
|
4 |
+
"eval_runtime": 73.5868,
|
5 |
+
"eval_samples": 239,
|
6 |
+
"eval_samples_per_second": 3.248,
|
7 |
+
"eval_steps_per_second": 3.248,
|
8 |
+
"perplexity": 14.816185465869992
|
9 |
+
}
|
output/generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.31.0"
|
6 |
+
}
|
output/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2cb96ba24ae90eb560b674aefc10ae265769cba5736b5a1de3357d256dc4e357
|
3 |
+
size 1344607197
|
output/runs/Aug16_05-43-41_86c1fce1b5e8/events.out.tfevents.1692164661.86c1fce1b5e8.2960.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76385a728adf4b1980c94df443fc1da5bf7b2f8123856fe27bdb6425507e6ae2
|
3 |
+
size 4808
|
output/runs/Aug16_05-43-41_86c1fce1b5e8/events.out.tfevents.1692165456.86c1fce1b5e8.2960.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:236810a19c4372134abc36034e018fdb231e1b79dbfb875ec14d1b23b5058c08
|
3 |
+
size 359
|
output/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 |
+
}
|
output/spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5cbdfa8aa7c54c8c5af85b78c309c54a5f2749a20468bf6f60eee007fe6fec1
|
3 |
+
size 805634
|
output/tokenizer_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [],
|
3 |
+
"bos_token": "<s>",
|
4 |
+
"clean_up_tokenization_spaces": true,
|
5 |
+
"cls_token": "[CLS]",
|
6 |
+
"do_lower_case": true,
|
7 |
+
"eos_token": "</s>",
|
8 |
+
"extra_ids": 0,
|
9 |
+
"legacy": true,
|
10 |
+
"mask_token": "[MASK]",
|
11 |
+
"model_max_length": 1000000000000000019884624838656,
|
12 |
+
"pad_token": "[PAD]",
|
13 |
+
"sep_token": "[SEP]",
|
14 |
+
"sp_model_kwargs": {},
|
15 |
+
"tokenizer_class": "T5Tokenizer",
|
16 |
+
"unk_token": "<unk>",
|
17 |
+
"use_fast": false
|
18 |
+
}
|
output/train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"train_loss": 3.2128273765744857,
|
4 |
+
"train_runtime": 716.7583,
|
5 |
+
"train_samples": 239,
|
6 |
+
"train_samples_per_second": 1.0,
|
7 |
+
"train_steps_per_second": 1.0
|
8 |
+
}
|
output/trainer_state.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 717,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 2.09,
|
12 |
+
"learning_rate": 1.5132496513249652e-05,
|
13 |
+
"loss": 3.3543,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 3.0,
|
18 |
+
"step": 717,
|
19 |
+
"total_flos": 1331756795953152.0,
|
20 |
+
"train_loss": 3.2128273765744857,
|
21 |
+
"train_runtime": 716.7583,
|
22 |
+
"train_samples_per_second": 1.0,
|
23 |
+
"train_steps_per_second": 1.0
|
24 |
+
}
|
25 |
+
],
|
26 |
+
"max_steps": 717,
|
27 |
+
"num_train_epochs": 3,
|
28 |
+
"total_flos": 1331756795953152.0,
|
29 |
+
"trial_name": null,
|
30 |
+
"trial_params": null
|
31 |
+
}
|
output/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba90a4ad394f5dc7339ae1da6b35e589e4bd5a377bd6c5a00742f463d9b3713a
|
3 |
+
size 3963
|