Sreenath/sqlm
Browse files- README.md +9 -9
- adapter_config.json +2 -4
- adapter_model.safetensors +2 -2
- special_tokens_map.json +4 -4
- tokenizer.json +0 -0
- tokenizer_config.json +25 -306
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
---
|
2 |
-
license:
|
3 |
library_name: peft
|
4 |
tags:
|
5 |
- trl
|
6 |
- sft
|
7 |
- generated_from_trainer
|
8 |
-
base_model:
|
9 |
model-index:
|
10 |
- name: sqlm
|
11 |
results: []
|
@@ -16,9 +16,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# sqlm
|
18 |
|
19 |
-
This model is a fine-tuned version of [
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 0.
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -50,11 +50,11 @@ The following hyperparameters were used during training:
|
|
50 |
|
51 |
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
|:-------------:|:-----:|:----:|:---------------:|
|
53 |
-
|
|
54 |
-
| 0.
|
55 |
-
| 0.
|
56 |
-
| 0.
|
57 |
-
| 0.
|
58 |
|
59 |
|
60 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
library_name: peft
|
4 |
tags:
|
5 |
- trl
|
6 |
- sft
|
7 |
- generated_from_trainer
|
8 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
9 |
model-index:
|
10 |
- name: sqlm
|
11 |
results: []
|
|
|
16 |
|
17 |
# sqlm
|
18 |
|
19 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) on the None dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.3312
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
50 |
|
51 |
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
|:-------------:|:-----:|:----:|:---------------:|
|
53 |
+
| 0.5872 | 0.0 | 20 | 0.4580 |
|
54 |
+
| 0.3893 | 0.0 | 40 | 0.3764 |
|
55 |
+
| 0.3487 | 0.0 | 60 | 0.3462 |
|
56 |
+
| 0.339 | 0.0 | 80 | 0.3376 |
|
57 |
+
| 0.3309 | 0.0 | 100 | 0.3312 |
|
58 |
|
59 |
|
60 |
### Framework versions
|
adapter_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
-
"base_model_name_or_path": "
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
@@ -20,10 +20,8 @@
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
-
"v_proj",
|
24 |
-
"fc1",
|
25 |
"q_proj",
|
26 |
-
"
|
27 |
],
|
28 |
"task_type": "CAUSAL_LM",
|
29 |
"use_dora": false,
|
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
|
|
|
|
23 |
"q_proj",
|
24 |
+
"v_proj"
|
25 |
],
|
26 |
"task_type": "CAUSAL_LM",
|
27 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f90073e6a350183945bd56f9416fddefcd79e8cc176d1449a241e8b735f206a6
|
3 |
+
size 109069176
|
special_tokens_map.json
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
{
|
2 |
"bos_token": {
|
3 |
-
"content": "
|
4 |
"lstrip": false,
|
5 |
"normalized": false,
|
6 |
"rstrip": false,
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
-
"content": "
|
11 |
"lstrip": false,
|
12 |
"normalized": false,
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
-
"pad_token": "
|
17 |
"unk_token": {
|
18 |
-
"content": "
|
19 |
"lstrip": false,
|
20 |
"normalized": false,
|
21 |
"rstrip": false,
|
|
|
1 |
{
|
2 |
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
"lstrip": false,
|
5 |
"normalized": false,
|
6 |
"rstrip": false,
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
"lstrip": false,
|
12 |
"normalized": false,
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"pad_token": "</s>",
|
17 |
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
"lstrip": false,
|
20 |
"normalized": false,
|
21 |
"rstrip": false,
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,324 +1,43 @@
|
|
1 |
{
|
2 |
-
"
|
|
|
3 |
"added_tokens_decoder": {
|
4 |
-
"
|
5 |
-
"content": "
|
6 |
"lstrip": false,
|
7 |
"normalized": false,
|
8 |
"rstrip": false,
|
9 |
"single_word": false,
|
10 |
"special": true
|
11 |
},
|
12 |
-
"
|
13 |
-
"content": "
|
14 |
"lstrip": false,
|
15 |
-
"normalized":
|
16 |
-
"rstrip": false,
|
17 |
-
"single_word": false,
|
18 |
-
"special": false
|
19 |
-
},
|
20 |
-
"50258": {
|
21 |
-
"content": " ",
|
22 |
-
"lstrip": false,
|
23 |
-
"normalized": true,
|
24 |
-
"rstrip": false,
|
25 |
-
"single_word": false,
|
26 |
-
"special": false
|
27 |
-
},
|
28 |
-
"50259": {
|
29 |
-
"content": " ",
|
30 |
-
"lstrip": false,
|
31 |
-
"normalized": true,
|
32 |
-
"rstrip": false,
|
33 |
-
"single_word": false,
|
34 |
-
"special": false
|
35 |
-
},
|
36 |
-
"50260": {
|
37 |
-
"content": " ",
|
38 |
-
"lstrip": false,
|
39 |
-
"normalized": true,
|
40 |
-
"rstrip": false,
|
41 |
-
"single_word": false,
|
42 |
-
"special": false
|
43 |
-
},
|
44 |
-
"50261": {
|
45 |
-
"content": " ",
|
46 |
-
"lstrip": false,
|
47 |
-
"normalized": true,
|
48 |
-
"rstrip": false,
|
49 |
-
"single_word": false,
|
50 |
-
"special": false
|
51 |
-
},
|
52 |
-
"50262": {
|
53 |
-
"content": " ",
|
54 |
-
"lstrip": false,
|
55 |
-
"normalized": true,
|
56 |
-
"rstrip": false,
|
57 |
-
"single_word": false,
|
58 |
-
"special": false
|
59 |
-
},
|
60 |
-
"50263": {
|
61 |
-
"content": " ",
|
62 |
-
"lstrip": false,
|
63 |
-
"normalized": true,
|
64 |
-
"rstrip": false,
|
65 |
-
"single_word": false,
|
66 |
-
"special": false
|
67 |
-
},
|
68 |
-
"50264": {
|
69 |
-
"content": " ",
|
70 |
-
"lstrip": false,
|
71 |
-
"normalized": true,
|
72 |
-
"rstrip": false,
|
73 |
-
"single_word": false,
|
74 |
-
"special": false
|
75 |
-
},
|
76 |
-
"50265": {
|
77 |
-
"content": " ",
|
78 |
-
"lstrip": false,
|
79 |
-
"normalized": true,
|
80 |
-
"rstrip": false,
|
81 |
-
"single_word": false,
|
82 |
-
"special": false
|
83 |
-
},
|
84 |
-
"50266": {
|
85 |
-
"content": " ",
|
86 |
-
"lstrip": false,
|
87 |
-
"normalized": true,
|
88 |
-
"rstrip": false,
|
89 |
-
"single_word": false,
|
90 |
-
"special": false
|
91 |
-
},
|
92 |
-
"50267": {
|
93 |
-
"content": " ",
|
94 |
-
"lstrip": false,
|
95 |
-
"normalized": true,
|
96 |
-
"rstrip": false,
|
97 |
-
"single_word": false,
|
98 |
-
"special": false
|
99 |
-
},
|
100 |
-
"50268": {
|
101 |
-
"content": " ",
|
102 |
-
"lstrip": false,
|
103 |
-
"normalized": true,
|
104 |
-
"rstrip": false,
|
105 |
-
"single_word": false,
|
106 |
-
"special": false
|
107 |
-
},
|
108 |
-
"50269": {
|
109 |
-
"content": " ",
|
110 |
-
"lstrip": false,
|
111 |
-
"normalized": true,
|
112 |
-
"rstrip": false,
|
113 |
-
"single_word": false,
|
114 |
-
"special": false
|
115 |
-
},
|
116 |
-
"50270": {
|
117 |
-
"content": " ",
|
118 |
-
"lstrip": false,
|
119 |
-
"normalized": true,
|
120 |
-
"rstrip": false,
|
121 |
-
"single_word": false,
|
122 |
-
"special": false
|
123 |
-
},
|
124 |
-
"50271": {
|
125 |
-
"content": " ",
|
126 |
-
"lstrip": false,
|
127 |
-
"normalized": true,
|
128 |
-
"rstrip": false,
|
129 |
-
"single_word": false,
|
130 |
-
"special": false
|
131 |
-
},
|
132 |
-
"50272": {
|
133 |
-
"content": " ",
|
134 |
-
"lstrip": false,
|
135 |
-
"normalized": true,
|
136 |
-
"rstrip": false,
|
137 |
-
"single_word": false,
|
138 |
-
"special": false
|
139 |
-
},
|
140 |
-
"50273": {
|
141 |
-
"content": " ",
|
142 |
-
"lstrip": false,
|
143 |
-
"normalized": true,
|
144 |
-
"rstrip": false,
|
145 |
-
"single_word": false,
|
146 |
-
"special": false
|
147 |
-
},
|
148 |
-
"50274": {
|
149 |
-
"content": " ",
|
150 |
-
"lstrip": false,
|
151 |
-
"normalized": true,
|
152 |
-
"rstrip": false,
|
153 |
-
"single_word": false,
|
154 |
-
"special": false
|
155 |
-
},
|
156 |
-
"50275": {
|
157 |
-
"content": " ",
|
158 |
-
"lstrip": false,
|
159 |
-
"normalized": true,
|
160 |
-
"rstrip": false,
|
161 |
-
"single_word": false,
|
162 |
-
"special": false
|
163 |
-
},
|
164 |
-
"50276": {
|
165 |
-
"content": " ",
|
166 |
-
"lstrip": false,
|
167 |
-
"normalized": true,
|
168 |
-
"rstrip": false,
|
169 |
-
"single_word": false,
|
170 |
-
"special": false
|
171 |
-
},
|
172 |
-
"50277": {
|
173 |
-
"content": " ",
|
174 |
-
"lstrip": false,
|
175 |
-
"normalized": true,
|
176 |
-
"rstrip": false,
|
177 |
-
"single_word": false,
|
178 |
-
"special": false
|
179 |
-
},
|
180 |
-
"50278": {
|
181 |
-
"content": " ",
|
182 |
-
"lstrip": false,
|
183 |
-
"normalized": true,
|
184 |
-
"rstrip": false,
|
185 |
-
"single_word": false,
|
186 |
-
"special": false
|
187 |
-
},
|
188 |
-
"50279": {
|
189 |
-
"content": " ",
|
190 |
-
"lstrip": false,
|
191 |
-
"normalized": true,
|
192 |
-
"rstrip": false,
|
193 |
-
"single_word": false,
|
194 |
-
"special": false
|
195 |
-
},
|
196 |
-
"50280": {
|
197 |
-
"content": " ",
|
198 |
-
"lstrip": false,
|
199 |
-
"normalized": true,
|
200 |
-
"rstrip": false,
|
201 |
-
"single_word": false,
|
202 |
-
"special": false
|
203 |
-
},
|
204 |
-
"50281": {
|
205 |
-
"content": " ",
|
206 |
-
"lstrip": false,
|
207 |
-
"normalized": true,
|
208 |
-
"rstrip": false,
|
209 |
-
"single_word": false,
|
210 |
-
"special": false
|
211 |
-
},
|
212 |
-
"50282": {
|
213 |
-
"content": " ",
|
214 |
-
"lstrip": false,
|
215 |
-
"normalized": true,
|
216 |
-
"rstrip": false,
|
217 |
-
"single_word": false,
|
218 |
-
"special": false
|
219 |
-
},
|
220 |
-
"50283": {
|
221 |
-
"content": " ",
|
222 |
-
"lstrip": false,
|
223 |
-
"normalized": true,
|
224 |
-
"rstrip": false,
|
225 |
-
"single_word": false,
|
226 |
-
"special": false
|
227 |
-
},
|
228 |
-
"50284": {
|
229 |
-
"content": " ",
|
230 |
-
"lstrip": false,
|
231 |
-
"normalized": true,
|
232 |
-
"rstrip": false,
|
233 |
-
"single_word": false,
|
234 |
-
"special": false
|
235 |
-
},
|
236 |
-
"50285": {
|
237 |
-
"content": " ",
|
238 |
-
"lstrip": false,
|
239 |
-
"normalized": true,
|
240 |
-
"rstrip": false,
|
241 |
-
"single_word": false,
|
242 |
-
"special": false
|
243 |
-
},
|
244 |
-
"50286": {
|
245 |
-
"content": " ",
|
246 |
-
"lstrip": false,
|
247 |
-
"normalized": true,
|
248 |
-
"rstrip": false,
|
249 |
-
"single_word": false,
|
250 |
-
"special": false
|
251 |
-
},
|
252 |
-
"50287": {
|
253 |
-
"content": "\t\t\t\t\t\t\t\t\t",
|
254 |
-
"lstrip": false,
|
255 |
-
"normalized": true,
|
256 |
-
"rstrip": false,
|
257 |
-
"single_word": false,
|
258 |
-
"special": false
|
259 |
-
},
|
260 |
-
"50288": {
|
261 |
-
"content": "\t\t\t\t\t\t\t\t",
|
262 |
-
"lstrip": false,
|
263 |
-
"normalized": true,
|
264 |
-
"rstrip": false,
|
265 |
-
"single_word": false,
|
266 |
-
"special": false
|
267 |
-
},
|
268 |
-
"50289": {
|
269 |
-
"content": "\t\t\t\t\t\t\t",
|
270 |
-
"lstrip": false,
|
271 |
-
"normalized": true,
|
272 |
-
"rstrip": false,
|
273 |
-
"single_word": false,
|
274 |
-
"special": false
|
275 |
-
},
|
276 |
-
"50290": {
|
277 |
-
"content": "\t\t\t\t\t\t",
|
278 |
-
"lstrip": false,
|
279 |
-
"normalized": true,
|
280 |
-
"rstrip": false,
|
281 |
-
"single_word": false,
|
282 |
-
"special": false
|
283 |
-
},
|
284 |
-
"50291": {
|
285 |
-
"content": "\t\t\t\t\t",
|
286 |
-
"lstrip": false,
|
287 |
-
"normalized": true,
|
288 |
-
"rstrip": false,
|
289 |
-
"single_word": false,
|
290 |
-
"special": false
|
291 |
-
},
|
292 |
-
"50292": {
|
293 |
-
"content": "\t\t\t\t",
|
294 |
-
"lstrip": false,
|
295 |
-
"normalized": true,
|
296 |
-
"rstrip": false,
|
297 |
-
"single_word": false,
|
298 |
-
"special": false
|
299 |
-
},
|
300 |
-
"50293": {
|
301 |
-
"content": "\t\t\t",
|
302 |
-
"lstrip": false,
|
303 |
-
"normalized": true,
|
304 |
"rstrip": false,
|
305 |
"single_word": false,
|
306 |
-
"special":
|
307 |
},
|
308 |
-
"
|
309 |
-
"content": "
|
310 |
"lstrip": false,
|
311 |
-
"normalized":
|
312 |
"rstrip": false,
|
313 |
"single_word": false,
|
314 |
-
"special":
|
315 |
}
|
316 |
},
|
317 |
-
"
|
318 |
-
"
|
319 |
-
"
|
320 |
-
"
|
321 |
-
"
|
322 |
-
"
|
323 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
324 |
}
|
|
|
1 |
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
"lstrip": false,
|
8 |
"normalized": false,
|
9 |
"rstrip": false,
|
10 |
"single_word": false,
|
11 |
"special": true
|
12 |
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
"lstrip": false,
|
16 |
+
"normalized": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
"rstrip": false,
|
18 |
"single_word": false,
|
19 |
+
"special": true
|
20 |
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
+
"special": true
|
28 |
}
|
29 |
},
|
30 |
+
"additional_special_tokens": [],
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": "</s>",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4856
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e231ea21c7de04f27f6f22b3784300aaa4b67d997269cf279ae3754686a5328a
|
3 |
size 4856
|