jjovalle99 commited on
Commit
6cbea05
·
verified ·
1 Parent(s): 04f866c

mistral7b-ft-lora-sql-v2adapters

Browse files
Files changed (3) hide show
  1. README.md +19 -12
  2. adapter_config.json +5 -5
  3. training_args.bin +1 -1
README.md CHANGED
@@ -20,7 +20,7 @@ should probably proofread and complete it, then remove this comment. -->
20
 
21
  This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the generator dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.7530
24
 
25
  ## Model description
26
 
@@ -39,26 +39,33 @@ More information needed
39
  ### Training hyperparameters
40
 
41
  The following hyperparameters were used during training:
42
- - learning_rate: 0.0002
43
- - train_batch_size: 4
44
  - eval_batch_size: 8
45
  - seed: 1399
46
- - gradient_accumulation_steps: 8
47
  - total_train_batch_size: 32
48
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
- - lr_scheduler_type: constant
50
- - lr_scheduler_warmup_steps: 10
51
- - training_steps: 100
52
 
53
  ### Training results
54
 
55
  | Training Loss | Epoch | Step | Validation Loss |
56
  |:-------------:|:-----:|:----:|:---------------:|
57
- | 0.9361 | 0.87 | 5 | 0.7619 |
58
- | 0.7039 | 1.74 | 10 | 0.6887 |
59
- | 0.5972 | 2.61 | 15 | 0.6736 |
60
- | 0.5089 | 3.48 | 20 | 0.6861 |
61
- | 0.4262 | 4.35 | 25 | 0.7530 |
 
 
 
 
 
 
 
62
 
63
 
64
  ### Framework versions
 
20
 
21
  This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the generator dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.3640
24
 
25
  ## Model description
26
 
 
39
  ### Training hyperparameters
40
 
41
  The following hyperparameters were used during training:
42
+ - learning_rate: 0.0003
43
+ - train_batch_size: 8
44
  - eval_batch_size: 8
45
  - seed: 1399
46
+ - gradient_accumulation_steps: 4
47
  - total_train_batch_size: 32
48
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: cosine
50
+ - lr_scheduler_warmup_steps: 100
51
+ - training_steps: 500
52
 
53
  ### Training results
54
 
55
  | Training Loss | Epoch | Step | Validation Loss |
56
  |:-------------:|:-----:|:----:|:---------------:|
57
+ | 0.7533 | 0.06 | 20 | 0.5169 |
58
+ | 0.4806 | 0.11 | 40 | 0.4338 |
59
+ | 0.4285 | 0.17 | 60 | 0.4055 |
60
+ | 0.403 | 0.23 | 80 | 0.3944 |
61
+ | 0.3969 | 0.28 | 100 | 0.3869 |
62
+ | 0.3898 | 0.34 | 120 | 0.3813 |
63
+ | 0.3836 | 0.4 | 140 | 0.3766 |
64
+ | 0.3786 | 0.45 | 160 | 0.3726 |
65
+ | 0.3708 | 0.51 | 180 | 0.3675 |
66
+ | 0.3681 | 0.56 | 200 | 0.3643 |
67
+ | 0.3622 | 0.62 | 220 | 0.3631 |
68
+ | 0.3626 | 0.68 | 240 | 0.3640 |
69
 
70
 
71
  ### Framework versions
adapter_config.json CHANGED
@@ -10,22 +10,22 @@
10
  "layers_to_transform": null,
11
  "loftq_config": {},
12
  "lora_alpha": 32,
13
- "lora_dropout": 0.1,
14
  "megatron_config": null,
15
  "megatron_core": "megatron.core",
16
  "modules_to_save": null,
17
  "peft_type": "LORA",
18
- "r": 8,
19
  "rank_pattern": {},
20
  "revision": null,
21
  "target_modules": [
22
  "v_proj",
 
23
  "gate_proj",
24
  "down_proj",
25
- "up_proj",
26
  "o_proj",
27
- "q_proj",
28
- "k_proj"
29
  ],
30
  "task_type": "CAUSAL_LM",
31
  "use_dora": false,
 
10
  "layers_to_transform": null,
11
  "loftq_config": {},
12
  "lora_alpha": 32,
13
+ "lora_dropout": 0.05,
14
  "megatron_config": null,
15
  "megatron_core": "megatron.core",
16
  "modules_to_save": null,
17
  "peft_type": "LORA",
18
+ "r": 16,
19
  "rank_pattern": {},
20
  "revision": null,
21
  "target_modules": [
22
  "v_proj",
23
+ "up_proj",
24
  "gate_proj",
25
  "down_proj",
 
26
  "o_proj",
27
+ "k_proj",
28
+ "q_proj"
29
  ],
30
  "task_type": "CAUSAL_LM",
31
  "use_dora": false,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d28e288a1063d7eadcd275b6b1fbe609a924b70e454389981a4ee4c30e0777b1
3
  size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29803e7ae75bdaed47b0d6e1e4950dc7d0954291a521f7f5bb06077b22400735
3
  size 4920