vishaljangra29
commited on
Commit
•
e646463
1
Parent(s):
87982c8
End of training
Browse files- README.md +78 -0
- adapter_config.json +35 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
base_model: sid321axn/Mistral-7B-text-to-sql-finetuned
|
6 |
+
model-index:
|
7 |
+
- name: mistral-finetune
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# mistral-finetune
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [sid321axn/Mistral-7B-text-to-sql-finetuned](https://huggingface.co/sid321axn/Mistral-7B-text-to-sql-finetuned) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.3199
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 0.00025
|
38 |
+
- train_batch_size: 4
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- lr_scheduler_warmup_steps: 1
|
44 |
+
- training_steps: 500
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
50 |
+
| 0.2637 | 25.0 | 25 | 0.2518 |
|
51 |
+
| 0.0062 | 50.0 | 50 | 0.2701 |
|
52 |
+
| 0.0001 | 75.0 | 75 | 0.3082 |
|
53 |
+
| 0.0152 | 100.0 | 100 | 0.3453 |
|
54 |
+
| 0.0362 | 125.0 | 125 | 0.3130 |
|
55 |
+
| 0.0745 | 150.0 | 150 | 0.2873 |
|
56 |
+
| 0.0064 | 175.0 | 175 | 0.2935 |
|
57 |
+
| 0.0996 | 200.0 | 200 | 0.3202 |
|
58 |
+
| 0.0279 | 225.0 | 225 | 0.3330 |
|
59 |
+
| 0.0046 | 250.0 | 250 | 0.3273 |
|
60 |
+
| 0.0012 | 275.0 | 275 | 0.3133 |
|
61 |
+
| 0.0 | 300.0 | 300 | 0.3142 |
|
62 |
+
| 0.0 | 325.0 | 325 | 0.3159 |
|
63 |
+
| 0.0 | 350.0 | 350 | 0.3173 |
|
64 |
+
| 0.0 | 375.0 | 375 | 0.3185 |
|
65 |
+
| 0.0 | 400.0 | 400 | 0.3191 |
|
66 |
+
| 0.0 | 425.0 | 425 | 0.3196 |
|
67 |
+
| 0.0 | 450.0 | 450 | 0.3197 |
|
68 |
+
| 0.0 | 475.0 | 475 | 0.3199 |
|
69 |
+
| 0.0 | 500.0 | 500 | 0.3199 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- PEFT 0.10.0
|
75 |
+
- Transformers 4.40.2
|
76 |
+
- Pytorch 2.2.2+cu121
|
77 |
+
- Datasets 2.19.1
|
78 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "sid321axn/Mistral-7B-text-to-sql-finetuned",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 64,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 32,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"gate_proj",
|
24 |
+
"o_proj",
|
25 |
+
"k_proj",
|
26 |
+
"v_proj",
|
27 |
+
"q_proj",
|
28 |
+
"lm_head",
|
29 |
+
"down_proj",
|
30 |
+
"up_proj"
|
31 |
+
],
|
32 |
+
"task_type": "CAUSAL_LM",
|
33 |
+
"use_dora": false,
|
34 |
+
"use_rslora": false
|
35 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47ace59247bdf7f46fae581e7235dd44362adfe4eb16db073e1b0255b04b377b
|
3 |
+
size 864513616
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d747187d488a22b616082cc3ca7a6df6f2351cb964f31f5436108a3bdf85421d
|
3 |
+
size 4920
|