Upload 14 files
Browse files- added_tokens.json +6 -0
- all_results.json +8 -0
- config.json +39 -0
- dialogue_template.json +17 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- special_tokens_map.json +11 -0
- tokenizer.json +0 -0
- tokenizer_config.json +31 -0
- train_results.json +8 -0
- trainer_state.json +175 -0
- training_args.bin +3 -0
- vocab.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|assistant|>": 49154,
|
3 |
+
"<|end|>": 49155,
|
4 |
+
"<|system|>": 49152,
|
5 |
+
"<|user|>": 49153
|
6 |
+
}
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.99,
|
3 |
+
"train_loss": 0.2658990031540996,
|
4 |
+
"train_runtime": 7827.5947,
|
5 |
+
"train_samples": 8463,
|
6 |
+
"train_samples_per_second": 3.244,
|
7 |
+
"train_steps_per_second": 0.025
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bigcode/starcoderbase",
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"GPTBigCodeForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_softmax_in_fp32": true,
|
8 |
+
"attn_pdrop": 0.1,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"embd_pdrop": 0.1,
|
11 |
+
"eos_token_id": 0,
|
12 |
+
"inference_runner": 0,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"layer_norm_epsilon": 1e-05,
|
15 |
+
"max_batch_size": null,
|
16 |
+
"max_sequence_length": null,
|
17 |
+
"model_type": "gpt_bigcode",
|
18 |
+
"multi_query": true,
|
19 |
+
"n_embd": 6144,
|
20 |
+
"n_head": 48,
|
21 |
+
"n_inner": 24576,
|
22 |
+
"n_layer": 40,
|
23 |
+
"n_positions": 8192,
|
24 |
+
"pad_key_length": true,
|
25 |
+
"pre_allocate_kv_cache": false,
|
26 |
+
"resid_pdrop": 0.1,
|
27 |
+
"scale_attention_softmax_in_fp32": true,
|
28 |
+
"scale_attn_weights": true,
|
29 |
+
"summary_activation": null,
|
30 |
+
"summary_first_dropout": 0.1,
|
31 |
+
"summary_proj_to_labels": true,
|
32 |
+
"summary_type": "cls_index",
|
33 |
+
"summary_use_proj": true,
|
34 |
+
"torch_dtype": "bfloat16",
|
35 |
+
"transformers_version": "4.28.1",
|
36 |
+
"use_cache": false,
|
37 |
+
"validate_runner_input": true,
|
38 |
+
"vocab_size": 49156
|
39 |
+
}
|
dialogue_template.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"system": "",
|
3 |
+
"messages": [
|
4 |
+
{
|
5 |
+
"content": "You are given the following SQL database tables: \ninterviews(id, notes, date, project_id, created_at, updated_at, deleted_at)\nprojects(id, name, description, created_at, updated_at, deleted_at)\nOutput a json string with the following schema {table, column, referencedTable, referencedColumn} that contains the foreign key relationship between the two tables.",
|
6 |
+
"role": "user"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"content": "{\"table\": \"interviews\", \"column\": \"project_id\", \"referencedTable\": \"projects\", \"referencedColumn\": \"id\"}",
|
10 |
+
"role": "assistant"
|
11 |
+
}
|
12 |
+
],
|
13 |
+
"system_token": "<|system|>",
|
14 |
+
"user_token": "<|user|>",
|
15 |
+
"assistant_token": "<|assistant|>",
|
16 |
+
"end_token": "<|end|>"
|
17 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.28.1"
|
6 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|system|>",
|
4 |
+
"<|user|>",
|
5 |
+
"<|assistant|>",
|
6 |
+
"<|end|>"
|
7 |
+
],
|
8 |
+
"bos_token": "<|endoftext|>",
|
9 |
+
"eos_token": "<|endoftext|>",
|
10 |
+
"unk_token": "<|endoftext|>"
|
11 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"additional_special_tokens": [
|
4 |
+
"<|endoftext|>",
|
5 |
+
"<fim_prefix>",
|
6 |
+
"<fim_middle>",
|
7 |
+
"<fim_suffix>",
|
8 |
+
"<fim_pad>",
|
9 |
+
"<filename>",
|
10 |
+
"<gh_stars>",
|
11 |
+
"<issue_start>",
|
12 |
+
"<issue_comment>",
|
13 |
+
"<issue_closed>",
|
14 |
+
"<jupyter_start>",
|
15 |
+
"<jupyter_text>",
|
16 |
+
"<jupyter_code>",
|
17 |
+
"<jupyter_output>",
|
18 |
+
"<empty_output>",
|
19 |
+
"<commit_before>",
|
20 |
+
"<commit_msg>",
|
21 |
+
"<commit_after>",
|
22 |
+
"<reponame>"
|
23 |
+
],
|
24 |
+
"bos_token": "<|endoftext|>",
|
25 |
+
"clean_up_tokenization_spaces": true,
|
26 |
+
"eos_token": "<|endoftext|>",
|
27 |
+
"model_max_length": 1000000000000000019884624838656,
|
28 |
+
"tokenizer_class": "GPT2Tokenizer",
|
29 |
+
"unk_token": "<|endoftext|>",
|
30 |
+
"vocab_size": 49152
|
31 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.99,
|
3 |
+
"train_loss": 0.2658990031540996,
|
4 |
+
"train_runtime": 7827.5947,
|
5 |
+
"train_samples": 8463,
|
6 |
+
"train_samples_per_second": 3.244,
|
7 |
+
"train_steps_per_second": 0.025
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.9943289224952743,
|
5 |
+
"global_step": 198,
|
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.02,
|
12 |
+
"learning_rate": 0.0,
|
13 |
+
"loss": 1.0585,
|
14 |
+
"step": 1
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.12,
|
18 |
+
"learning_rate": 2e-05,
|
19 |
+
"loss": 0.6923,
|
20 |
+
"step": 8
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.24,
|
24 |
+
"learning_rate": 2e-05,
|
25 |
+
"loss": 0.5149,
|
26 |
+
"step": 16
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.36,
|
30 |
+
"learning_rate": 2e-05,
|
31 |
+
"loss": 0.3899,
|
32 |
+
"step": 24
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.48,
|
36 |
+
"learning_rate": 2e-05,
|
37 |
+
"loss": 0.3511,
|
38 |
+
"step": 32
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.6,
|
42 |
+
"learning_rate": 2e-05,
|
43 |
+
"loss": 0.3321,
|
44 |
+
"step": 40
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.73,
|
48 |
+
"learning_rate": 2e-05,
|
49 |
+
"loss": 0.3254,
|
50 |
+
"step": 48
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.85,
|
54 |
+
"learning_rate": 2e-05,
|
55 |
+
"loss": 0.3104,
|
56 |
+
"step": 56
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.97,
|
60 |
+
"learning_rate": 2e-05,
|
61 |
+
"loss": 0.3007,
|
62 |
+
"step": 64
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 1.09,
|
66 |
+
"learning_rate": 2e-05,
|
67 |
+
"loss": 0.2617,
|
68 |
+
"step": 72
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.21,
|
72 |
+
"learning_rate": 2e-05,
|
73 |
+
"loss": 0.2454,
|
74 |
+
"step": 80
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.33,
|
78 |
+
"learning_rate": 2e-05,
|
79 |
+
"loss": 0.2362,
|
80 |
+
"step": 88
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.45,
|
84 |
+
"learning_rate": 2e-05,
|
85 |
+
"loss": 0.2334,
|
86 |
+
"step": 96
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.57,
|
90 |
+
"learning_rate": 2e-05,
|
91 |
+
"loss": 0.2275,
|
92 |
+
"step": 104
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 1.69,
|
96 |
+
"learning_rate": 2e-05,
|
97 |
+
"loss": 0.23,
|
98 |
+
"step": 112
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 1.81,
|
102 |
+
"learning_rate": 2e-05,
|
103 |
+
"loss": 0.217,
|
104 |
+
"step": 120
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 1.94,
|
108 |
+
"learning_rate": 2e-05,
|
109 |
+
"loss": 0.2205,
|
110 |
+
"step": 128
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 2.06,
|
114 |
+
"learning_rate": 2e-05,
|
115 |
+
"loss": 0.2031,
|
116 |
+
"step": 136
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 2.18,
|
120 |
+
"learning_rate": 2e-05,
|
121 |
+
"loss": 0.1629,
|
122 |
+
"step": 144
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 2.3,
|
126 |
+
"learning_rate": 2e-05,
|
127 |
+
"loss": 0.167,
|
128 |
+
"step": 152
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 2.42,
|
132 |
+
"learning_rate": 2e-05,
|
133 |
+
"loss": 0.1627,
|
134 |
+
"step": 160
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 2.54,
|
138 |
+
"learning_rate": 2e-05,
|
139 |
+
"loss": 0.1594,
|
140 |
+
"step": 168
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 2.66,
|
144 |
+
"learning_rate": 2e-05,
|
145 |
+
"loss": 0.1553,
|
146 |
+
"step": 176
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 2.78,
|
150 |
+
"learning_rate": 2e-05,
|
151 |
+
"loss": 0.1623,
|
152 |
+
"step": 184
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 2.9,
|
156 |
+
"learning_rate": 2e-05,
|
157 |
+
"loss": 0.1576,
|
158 |
+
"step": 192
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 2.99,
|
162 |
+
"step": 198,
|
163 |
+
"total_flos": 424189693526016.0,
|
164 |
+
"train_loss": 0.2658990031540996,
|
165 |
+
"train_runtime": 7827.5947,
|
166 |
+
"train_samples_per_second": 3.244,
|
167 |
+
"train_steps_per_second": 0.025
|
168 |
+
}
|
169 |
+
],
|
170 |
+
"max_steps": 198,
|
171 |
+
"num_train_epochs": 3,
|
172 |
+
"total_flos": 424189693526016.0,
|
173 |
+
"trial_name": null,
|
174 |
+
"trial_params": null
|
175 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ef13f51408f86df0fd7309c4689c5113c2ab930bf5a50e61edf0f7e1b7d2c13
|
3 |
+
size 4859
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|