sengi commited on
Commit
8e75e74
·
verified ·
1 Parent(s): 57161a1

Model save

Browse files
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ datasets:
9
+ - generator
10
+ base_model: mistralai/Mistral-7B-v0.1
11
+ model-index:
12
+ - name: zephyr-7b-sft-qlora
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # zephyr-7b-sft-qlora
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
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0002
41
+ - train_batch_size: 2
42
+ - eval_batch_size: 4
43
+ - seed: 42
44
+ - distributed_type: multi-GPU
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: cosine
47
+ - lr_scheduler_warmup_ratio: 0.1
48
+ - training_steps: 100
49
+ - mixed_precision_training: Native AMP
50
+
51
+ ### Training results
52
+
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - PEFT 0.10.0
58
+ - Transformers 4.37.2
59
+ - Pytorch 2.2.0
60
+ - Datasets 2.14.6
61
+ - Tokenizers 0.15.1
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.0,
3
+ "train_loss": 0.0,
4
+ "train_runtime": 501.0799,
5
+ "train_samples": 207865,
6
+ "train_samples_per_second": 0.399,
7
+ "train_steps_per_second": 0.2
8
+ }
lora_4/adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "MistralForCausalLM",
5
+ "parent_library": "transformers.models.mistral.modeling_mistral"
6
+ },
7
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
8
+ "bias": "none",
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_dropout": 0.05,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 16,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "o_proj",
27
+ "up_proj",
28
+ "q_proj",
29
+ "down_proj",
30
+ "gate_proj",
31
+ "k_proj",
32
+ "v_proj"
33
+ ],
34
+ "task_type": null,
35
+ "use_dora": false,
36
+ "use_rslora": false
37
+ }
lora_4/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:264fb80c3a7830c9942425211af6bdc69e6bc596276a815cc422cd6c999f2d33
3
+ size 167832240
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.0,
3
+ "train_loss": 0.0,
4
+ "train_runtime": 501.0799,
5
+ "train_samples": 207865,
6
+ "train_samples_per_second": 0.399,
7
+ "train_steps_per_second": 0.2
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.0014344526845781992,
5
+ "eval_steps": 500,
6
+ "global_step": 100,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.0,
13
+ "learning_rate": 2e-05,
14
+ "loss": 0.0,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.0,
19
+ "learning_rate": 0.0001,
20
+ "loss": 0.0,
21
+ "step": 5
22
+ },
23
+ {
24
+ "epoch": 0.0,
25
+ "learning_rate": 0.0002,
26
+ "loss": 0.0,
27
+ "step": 10
28
+ },
29
+ {
30
+ "epoch": 0.0,
31
+ "learning_rate": 0.00019848077530122083,
32
+ "loss": 0.0,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 0.0,
37
+ "learning_rate": 0.00019396926207859084,
38
+ "loss": 0.0,
39
+ "step": 20
40
+ },
41
+ {
42
+ "epoch": 0.0,
43
+ "learning_rate": 0.00018660254037844388,
44
+ "loss": 0.0,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.0,
49
+ "learning_rate": 0.0001766044443118978,
50
+ "loss": 0.0,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.0,
55
+ "learning_rate": 0.00016427876096865394,
56
+ "loss": 0.0,
57
+ "step": 35
58
+ },
59
+ {
60
+ "epoch": 0.0,
61
+ "learning_rate": 0.00015000000000000001,
62
+ "loss": 0.0,
63
+ "step": 40
64
+ },
65
+ {
66
+ "epoch": 0.0,
67
+ "learning_rate": 0.00013420201433256689,
68
+ "loss": 0.0,
69
+ "step": 45
70
+ },
71
+ {
72
+ "epoch": 0.0,
73
+ "learning_rate": 0.00011736481776669306,
74
+ "loss": 0.0,
75
+ "step": 50
76
+ },
77
+ {
78
+ "epoch": 0.0,
79
+ "learning_rate": 0.0001,
80
+ "loss": 0.0,
81
+ "step": 55
82
+ },
83
+ {
84
+ "epoch": 0.0,
85
+ "learning_rate": 8.263518223330697e-05,
86
+ "loss": 0.0,
87
+ "step": 60
88
+ },
89
+ {
90
+ "epoch": 0.0,
91
+ "learning_rate": 6.579798566743314e-05,
92
+ "loss": 0.0,
93
+ "step": 65
94
+ },
95
+ {
96
+ "epoch": 0.0,
97
+ "learning_rate": 5.000000000000002e-05,
98
+ "loss": 0.0,
99
+ "step": 70
100
+ },
101
+ {
102
+ "epoch": 0.0,
103
+ "learning_rate": 3.5721239031346066e-05,
104
+ "loss": 0.0,
105
+ "step": 75
106
+ },
107
+ {
108
+ "epoch": 0.0,
109
+ "learning_rate": 2.339555568810221e-05,
110
+ "loss": 0.0,
111
+ "step": 80
112
+ },
113
+ {
114
+ "epoch": 0.0,
115
+ "learning_rate": 1.339745962155613e-05,
116
+ "loss": 0.0,
117
+ "step": 85
118
+ },
119
+ {
120
+ "epoch": 0.0,
121
+ "learning_rate": 6.030737921409169e-06,
122
+ "loss": 0.0,
123
+ "step": 90
124
+ },
125
+ {
126
+ "epoch": 0.0,
127
+ "learning_rate": 1.5192246987791981e-06,
128
+ "loss": 0.0,
129
+ "step": 95
130
+ },
131
+ {
132
+ "epoch": 0.0,
133
+ "learning_rate": 0.0,
134
+ "loss": 0.0,
135
+ "step": 100
136
+ },
137
+ {
138
+ "epoch": 0.0,
139
+ "step": 100,
140
+ "total_flos": 1.7681317319671808e+16,
141
+ "train_loss": 0.0,
142
+ "train_runtime": 501.0799,
143
+ "train_samples_per_second": 0.399,
144
+ "train_steps_per_second": 0.2
145
+ }
146
+ ],
147
+ "logging_steps": 5,
148
+ "max_steps": 100,
149
+ "num_input_tokens_seen": 0,
150
+ "num_train_epochs": 1,
151
+ "save_steps": 100,
152
+ "total_flos": 1.7681317319671808e+16,
153
+ "train_batch_size": 2,
154
+ "trial_name": null,
155
+ "trial_params": null
156
+ }