First model version
Browse files
checkpoint-5000/config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Ayaka/bart-base-cantonese",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BartForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"bos_token_id": 101,
|
12 |
+
"classif_dropout": 0.1,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 768,
|
15 |
+
"decoder_attention_heads": 12,
|
16 |
+
"decoder_ffn_dim": 3072,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 6,
|
19 |
+
"decoder_start_token_id": 102,
|
20 |
+
"dropout": 0.1,
|
21 |
+
"early_stopping": true,
|
22 |
+
"encoder_attention_heads": 12,
|
23 |
+
"encoder_ffn_dim": 3072,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 6,
|
26 |
+
"eos_token_id": 102,
|
27 |
+
"forced_eos_token_id": 102,
|
28 |
+
"gradient_checkpointing": false,
|
29 |
+
"id2label": {
|
30 |
+
"0": "LABEL_0",
|
31 |
+
"1": "LABEL_1",
|
32 |
+
"2": "LABEL_2"
|
33 |
+
},
|
34 |
+
"init_std": 0.02,
|
35 |
+
"is_encoder_decoder": true,
|
36 |
+
"label2id": {
|
37 |
+
"LABEL_0": 0,
|
38 |
+
"LABEL_1": 1,
|
39 |
+
"LABEL_2": 2
|
40 |
+
},
|
41 |
+
"max_position_embeddings": 512,
|
42 |
+
"model_type": "bart",
|
43 |
+
"no_repeat_ngram_size": 3,
|
44 |
+
"normalize_before": false,
|
45 |
+
"normalize_embedding": true,
|
46 |
+
"num_beams": 4,
|
47 |
+
"num_hidden_layers": 6,
|
48 |
+
"pad_token_id": 0,
|
49 |
+
"scale_embedding": false,
|
50 |
+
"task_specific_params": {
|
51 |
+
"summarization": {
|
52 |
+
"length_penalty": 1.0,
|
53 |
+
"max_length": 128,
|
54 |
+
"min_length": 12,
|
55 |
+
"num_beams": 4
|
56 |
+
},
|
57 |
+
"summarization_cnn": {
|
58 |
+
"length_penalty": 2.0,
|
59 |
+
"max_length": 142,
|
60 |
+
"min_length": 56,
|
61 |
+
"num_beams": 4
|
62 |
+
},
|
63 |
+
"summarization_xsum": {
|
64 |
+
"length_penalty": 1.0,
|
65 |
+
"max_length": 62,
|
66 |
+
"min_length": 11,
|
67 |
+
"num_beams": 6
|
68 |
+
}
|
69 |
+
},
|
70 |
+
"torch_dtype": "float32",
|
71 |
+
"transformers_version": "4.26.0.dev0",
|
72 |
+
"use_cache": true,
|
73 |
+
"vocab_size": 12660
|
74 |
+
}
|
checkpoint-5000/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bf1c08132b0f862627c8c36d8723ea67473f9c8c06156ac2edbc7827e66bd973
|
3 |
+
size 878178757
|
checkpoint-5000/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2bafe081584ac04b9bb378832ac4b62f077f9b6da538cdbbace2e600f587c4c
|
3 |
+
size 439152541
|
checkpoint-5000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f49a2d9109f17593cd276b2f09bac182f79d4174ebe06a60a6fcd6cbbce9663
|
3 |
+
size 14639
|
checkpoint-5000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83caee8b9af2828b7ad1c11fed6c614a6a10fb4014f29e5af58bfaa914cc6adc
|
3 |
+
size 557
|
checkpoint-5000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:368fd9b380339405aaf568e7765fdf3c6cb3506ff7f2f2550bb1af1aff8ab1c7
|
3 |
+
size 627
|
checkpoint-5000/trainer_state.json
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.895193977996526,
|
5 |
+
"global_step": 5000,
|
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.29,
|
12 |
+
"learning_rate": 1.8093032233159624e-05,
|
13 |
+
"loss": 5.93,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.58,
|
18 |
+
"learning_rate": 1.617062343176993e-05,
|
19 |
+
"loss": 5.1165,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.87,
|
24 |
+
"learning_rate": 1.4240494113105579e-05,
|
25 |
+
"loss": 4.748,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 1.0,
|
30 |
+
"eval_loss": 4.125702381134033,
|
31 |
+
"eval_runtime": 102.7952,
|
32 |
+
"eval_samples_per_second": 299.518,
|
33 |
+
"eval_steps_per_second": 37.443,
|
34 |
+
"step": 1727
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"epoch": 1.16,
|
38 |
+
"learning_rate": 1.2314225053078557e-05,
|
39 |
+
"loss": 4.5216,
|
40 |
+
"step": 2000
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"epoch": 1.45,
|
44 |
+
"learning_rate": 1.0384095734414205e-05,
|
45 |
+
"loss": 4.3356,
|
46 |
+
"step": 2500
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 1.74,
|
50 |
+
"learning_rate": 8.457826674387185e-06,
|
51 |
+
"loss": 4.1988,
|
52 |
+
"step": 3000
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 2.0,
|
56 |
+
"eval_loss": 3.5067617893218994,
|
57 |
+
"eval_runtime": 103.1393,
|
58 |
+
"eval_samples_per_second": 298.519,
|
59 |
+
"eval_steps_per_second": 37.318,
|
60 |
+
"step": 3454
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 2.03,
|
64 |
+
"learning_rate": 6.527697355722834e-06,
|
65 |
+
"loss": 4.0849,
|
66 |
+
"step": 3500
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 2.32,
|
70 |
+
"learning_rate": 4.597568037058483e-06,
|
71 |
+
"loss": 3.9975,
|
72 |
+
"step": 4000
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 2.61,
|
76 |
+
"learning_rate": 2.6674387183941326e-06,
|
77 |
+
"loss": 3.9402,
|
78 |
+
"step": 4500
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 2.9,
|
82 |
+
"learning_rate": 7.37309399729782e-07,
|
83 |
+
"loss": 3.8973,
|
84 |
+
"step": 5000
|
85 |
+
}
|
86 |
+
],
|
87 |
+
"max_steps": 5181,
|
88 |
+
"num_train_epochs": 3,
|
89 |
+
"total_flos": 2.74331103920128e+16,
|
90 |
+
"trial_name": null,
|
91 |
+
"trial_params": null
|
92 |
+
}
|
checkpoint-5000/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1f6691b3a39b434704456c64bc069893b018dc17c0953d52fbeeff7d14897c8
|
3 |
+
size 3515
|