abdullahsn
commited on
Commit
•
1d8872c
1
Parent(s):
bcbfe00
Initial commit of fine-tuned model
Browse files- config.json +32 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +23 -0
- spiece.model +3 -0
- tokenizer_config.json +39 -0
- trainer_state.json +129 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "abdullahsn/AraT5-ImprovedTranslatedWikiSQL",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2048,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 768,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "gelu_new",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "gated-gelu",
|
15 |
+
"gradient_checkpointing": false,
|
16 |
+
"initializer_factor": 1.0,
|
17 |
+
"is_encoder_decoder": true,
|
18 |
+
"is_gated_act": true,
|
19 |
+
"layer_norm_epsilon": 1e-06,
|
20 |
+
"model_type": "t5",
|
21 |
+
"num_decoder_layers": 12,
|
22 |
+
"num_heads": 12,
|
23 |
+
"num_layers": 12,
|
24 |
+
"output_past": true,
|
25 |
+
"pad_token_id": 0,
|
26 |
+
"relative_attention_max_distance": 128,
|
27 |
+
"relative_attention_num_buckets": 32,
|
28 |
+
"torch_dtype": "float32",
|
29 |
+
"transformers_version": "4.41.2",
|
30 |
+
"use_cache": true,
|
31 |
+
"vocab_size": 110080
|
32 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.41.2"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ae6f1bafbfb6a95b400f7598d5ec1531a758d9226aee1834dbdb0d5896239bd
|
3 |
+
size 1131116304
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c97702e86c60d0e4e505a48783d49c50456f5a9f0bd8b941856a3868c8a04d3
|
3 |
+
size 2262402234
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d49ae831510bdaac020f2c0159ecfdc7b115a2bd6d506fa32c614b0dfc88bc43
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbd1d926228d99bbb80fac68aaf8a85b3fc4cba141fa8929fac85cbdce527141
|
3 |
+
size 1064
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": {
|
3 |
+
"content": "</s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"pad_token": {
|
10 |
+
"content": "<pad>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c7ae4407451bf02b459edec774d0539a06615005dd34d5c85c5c06765ff1606
|
3 |
+
size 2435308
|
tokenizer_config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<pad>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "</s>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "<unk>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"additional_special_tokens": [],
|
30 |
+
"clean_up_tokenization_spaces": true,
|
31 |
+
"eos_token": "</s>",
|
32 |
+
"extra_ids": 0,
|
33 |
+
"legacy": true,
|
34 |
+
"model_max_length": 1000000000000000019884624838656,
|
35 |
+
"pad_token": "<pad>",
|
36 |
+
"sp_model_kwargs": {},
|
37 |
+
"tokenizer_class": "T5Tokenizer",
|
38 |
+
"unk_token": "<unk>"
|
39 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 8.105906632790287,
|
3 |
+
"best_model_checkpoint": "/opt/dlami/nvme/AAA/checkpoint-1986",
|
4 |
+
"epoch": 6.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1986,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"grad_norm": 0.04436992481350899,
|
14 |
+
"learning_rate": 0.0006666666666666668,
|
15 |
+
"loss": 0.6502,
|
16 |
+
"step": 331
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_bleu": 4.361617844387214,
|
21 |
+
"eval_loss": 0.007830865681171417,
|
22 |
+
"eval_runtime": 121.9513,
|
23 |
+
"eval_samples_per_second": 10.849,
|
24 |
+
"eval_steps_per_second": 0.681,
|
25 |
+
"step": 331
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"grad_norm": 0.038081083446741104,
|
30 |
+
"learning_rate": 0.0005333333333333334,
|
31 |
+
"loss": 0.0071,
|
32 |
+
"step": 662
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_bleu": 7.843100767141589,
|
37 |
+
"eval_loss": 0.0018343101255595684,
|
38 |
+
"eval_runtime": 122.0918,
|
39 |
+
"eval_samples_per_second": 10.836,
|
40 |
+
"eval_steps_per_second": 0.68,
|
41 |
+
"step": 662
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.0,
|
45 |
+
"grad_norm": 0.019110124558210373,
|
46 |
+
"learning_rate": 0.00045714285714285713,
|
47 |
+
"loss": 0.0027,
|
48 |
+
"step": 993
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 3.0,
|
52 |
+
"eval_bleu": 8.040733224615437,
|
53 |
+
"eval_loss": 0.0016475560842081904,
|
54 |
+
"eval_runtime": 122.063,
|
55 |
+
"eval_samples_per_second": 10.839,
|
56 |
+
"eval_steps_per_second": 0.68,
|
57 |
+
"step": 993
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 4.0,
|
61 |
+
"grad_norm": 0.006580352783203125,
|
62 |
+
"learning_rate": 0.00034285714285714285,
|
63 |
+
"loss": 0.0016,
|
64 |
+
"step": 1324
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 4.0,
|
68 |
+
"eval_bleu": 8.046469246678804,
|
69 |
+
"eval_loss": 0.0006783127901144326,
|
70 |
+
"eval_runtime": 122.0945,
|
71 |
+
"eval_samples_per_second": 10.836,
|
72 |
+
"eval_steps_per_second": 0.68,
|
73 |
+
"step": 1324
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 5.0,
|
77 |
+
"grad_norm": 0.0007480424828827381,
|
78 |
+
"learning_rate": 0.00022857142857142857,
|
79 |
+
"loss": 0.001,
|
80 |
+
"step": 1655
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 5.0,
|
84 |
+
"eval_bleu": 8.065670810538343,
|
85 |
+
"eval_loss": 0.0004619210085365921,
|
86 |
+
"eval_runtime": 122.0219,
|
87 |
+
"eval_samples_per_second": 10.842,
|
88 |
+
"eval_steps_per_second": 0.68,
|
89 |
+
"step": 1655
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 6.0,
|
93 |
+
"grad_norm": 0.00835416093468666,
|
94 |
+
"learning_rate": 0.00011428571428571428,
|
95 |
+
"loss": 0.0007,
|
96 |
+
"step": 1986
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 6.0,
|
100 |
+
"eval_bleu": 8.105906632790287,
|
101 |
+
"eval_loss": 0.00035273091634735465,
|
102 |
+
"eval_runtime": 121.9325,
|
103 |
+
"eval_samples_per_second": 10.85,
|
104 |
+
"eval_steps_per_second": 0.681,
|
105 |
+
"step": 1986
|
106 |
+
}
|
107 |
+
],
|
108 |
+
"logging_steps": 500,
|
109 |
+
"max_steps": 2317,
|
110 |
+
"num_input_tokens_seen": 0,
|
111 |
+
"num_train_epochs": 7,
|
112 |
+
"save_steps": 500,
|
113 |
+
"stateful_callbacks": {
|
114 |
+
"TrainerControl": {
|
115 |
+
"args": {
|
116 |
+
"should_epoch_stop": false,
|
117 |
+
"should_evaluate": false,
|
118 |
+
"should_log": false,
|
119 |
+
"should_save": true,
|
120 |
+
"should_training_stop": false
|
121 |
+
},
|
122 |
+
"attributes": {}
|
123 |
+
}
|
124 |
+
},
|
125 |
+
"total_flos": 1.933197719371776e+16,
|
126 |
+
"train_batch_size": 16,
|
127 |
+
"trial_name": null,
|
128 |
+
"trial_params": null
|
129 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3cb05baa837520c882fa6b8297455b743019db6da1f36036b9c8a2649087e12c
|
3 |
+
size 5240
|