lapp0 commited on
Commit
833f8f9
·
verified ·
1 Parent(s): bfe6774

Upload folder using huggingface_hub

Browse files
checkpoint-8/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: mistralai/Mistral-7B-Instruct-v0.2
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
checkpoint-8/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,
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,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "k_proj",
25
+ "gate_proj",
26
+ "v_proj",
27
+ "down_proj",
28
+ "q_proj",
29
+ "up_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-8/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a69017f73c4a48d2c19578829eeebafe31f094bdc9baf78851563faec7b8bf23
3
+ size 167832240
checkpoint-8/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[PAD]": 32000
3
+ }
checkpoint-8/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f4cc81aba190782279f650153c8908381bf07d53f9942cebeacd819aab610e0
3
+ size 84575956
checkpoint-8/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91f1ad5db3cf1a4420d5a566f296f11888efa93c608a58160aa55b8f2ba4b626
3
+ size 14244
checkpoint-8/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6864207a1837047f5ab1d864e4374754ccba404d60841effd791d29982764b93
3
+ size 1064
checkpoint-8/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
checkpoint-8/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-8/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-8/tokenizer_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "32000": {
30
+ "content": "[PAD]",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ }
37
+ },
38
+ "additional_special_tokens": [],
39
+ "bos_token": "<s>",
40
+ "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 %}",
41
+ "clean_up_tokenization_spaces": false,
42
+ "eos_token": "</s>",
43
+ "legacy": true,
44
+ "model_max_length": 1000000000000000019884624838656,
45
+ "pad_token": "[PAD]",
46
+ "padding_side": "left",
47
+ "sp_model_kwargs": {},
48
+ "spaces_between_special_tokens": false,
49
+ "tokenizer_class": "LlamaTokenizer",
50
+ "unk_token": "<unk>",
51
+ "use_default_system_prompt": false
52
+ }
checkpoint-8/trainer_state.json ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.002535004852157725,
5
+ "eval_steps": 500,
6
+ "global_step": 8,
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.0003168756065197156,
13
+ "grad_norm": 6.832624876551563e-06,
14
+ "learning_rate": 2.9996830427892237e-06,
15
+ "loss": 0.0,
16
+ "loss/policy_avg": 2.0139850676059723e-08,
17
+ "objective/entropy": 56.029441833496094,
18
+ "objective/kl": 0.0,
19
+ "objective/rlhf_reward": -0.5591201782226562,
20
+ "objective/scores": -0.559173583984375,
21
+ "policy/approxkl_avg": 0.0,
22
+ "policy/clipfrac_avg": 0.0,
23
+ "policy/entropy_avg": 0.46982458233833313,
24
+ "step": 1,
25
+ "timer/training_step": 4.71628999710083,
26
+ "val/num_eos_tokens": 0.75,
27
+ "val/ratio": 1.0
28
+ },
29
+ {
30
+ "epoch": 0.0006337512130394313,
31
+ "grad_norm": 7.318521966226399e-06,
32
+ "learning_rate": 2.999366085578447e-06,
33
+ "loss": 0.0,
34
+ "loss/policy_avg": 1.0943040251731873e-08,
35
+ "objective/entropy": 49.566184997558594,
36
+ "objective/kl": 0.0,
37
+ "objective/rlhf_reward": -0.7360076904296875,
38
+ "objective/scores": -0.73590087890625,
39
+ "policy/approxkl_avg": 0.0,
40
+ "policy/clipfrac_avg": 0.0,
41
+ "policy/entropy_avg": 0.47101089358329773,
42
+ "step": 2,
43
+ "timer/training_step": 5.188745975494385,
44
+ "val/num_eos_tokens": 1.21875,
45
+ "val/ratio": 1.0
46
+ },
47
+ {
48
+ "epoch": 0.0009506268195591468,
49
+ "grad_norm": 6.249741545616416e-06,
50
+ "learning_rate": 2.9990491283676707e-06,
51
+ "loss": 0.0,
52
+ "loss/policy_avg": 8.149072527885437e-09,
53
+ "objective/entropy": 57.22004699707031,
54
+ "objective/kl": 0.0,
55
+ "objective/rlhf_reward": -0.70709228515625,
56
+ "objective/scores": -0.70703125,
57
+ "policy/approxkl_avg": 0.0,
58
+ "policy/clipfrac_avg": 0.0,
59
+ "policy/entropy_avg": 0.4886399507522583,
60
+ "step": 3,
61
+ "timer/training_step": 4.847959518432617,
62
+ "val/num_eos_tokens": 0.53125,
63
+ "val/ratio": 1.0
64
+ },
65
+ {
66
+ "epoch": 0.0012675024260788625,
67
+ "grad_norm": 7.052934051898774e-06,
68
+ "learning_rate": 2.998732171156894e-06,
69
+ "loss": 0.0,
70
+ "loss/policy_avg": 1.0710209608078003e-08,
71
+ "objective/entropy": 59.56321716308594,
72
+ "objective/kl": 0.0,
73
+ "objective/rlhf_reward": -0.716552734375,
74
+ "objective/scores": -0.71685791015625,
75
+ "policy/approxkl_avg": 0.0,
76
+ "policy/clipfrac_avg": 0.0,
77
+ "policy/entropy_avg": 0.4839285612106323,
78
+ "step": 4,
79
+ "timer/training_step": 5.577988624572754,
80
+ "val/num_eos_tokens": 0.4375,
81
+ "val/ratio": 1.0
82
+ },
83
+ {
84
+ "epoch": 0.001584378032598578,
85
+ "grad_norm": 8.835036169330124e-06,
86
+ "learning_rate": 2.9984152139461176e-06,
87
+ "loss": 0.0,
88
+ "loss/policy_avg": 2.3748725652694702e-08,
89
+ "objective/entropy": 45.10405731201172,
90
+ "objective/kl": 0.0,
91
+ "objective/rlhf_reward": -0.444000244140625,
92
+ "objective/scores": -0.44439697265625,
93
+ "policy/approxkl_avg": 0.0,
94
+ "policy/clipfrac_avg": 0.0,
95
+ "policy/entropy_avg": 0.4351224899291992,
96
+ "step": 5,
97
+ "timer/training_step": 5.305084705352783,
98
+ "val/num_eos_tokens": 1.0,
99
+ "val/ratio": 1.0
100
+ },
101
+ {
102
+ "epoch": 0.0019012536391182935,
103
+ "grad_norm": 6.025600214343285e-06,
104
+ "learning_rate": 2.998098256735341e-06,
105
+ "loss": 0.0,
106
+ "loss/policy_avg": 7.450580596923828e-09,
107
+ "objective/entropy": 60.55895233154297,
108
+ "objective/kl": 0.0,
109
+ "objective/rlhf_reward": -0.746917724609375,
110
+ "objective/scores": -0.7470703125,
111
+ "policy/approxkl_avg": 0.0,
112
+ "policy/clipfrac_avg": 0.0,
113
+ "policy/entropy_avg": 0.4965381920337677,
114
+ "step": 6,
115
+ "timer/training_step": 4.756265640258789,
116
+ "val/num_eos_tokens": 0.53125,
117
+ "val/ratio": 1.0
118
+ },
119
+ {
120
+ "epoch": 0.002218129245638009,
121
+ "grad_norm": 9.883336133498233e-06,
122
+ "learning_rate": 2.997781299524564e-06,
123
+ "loss": 0.0,
124
+ "loss/policy_avg": 1.6298145055770874e-08,
125
+ "objective/entropy": 56.12989807128906,
126
+ "objective/kl": 0.0,
127
+ "objective/rlhf_reward": -0.58819580078125,
128
+ "objective/scores": -0.58782958984375,
129
+ "policy/approxkl_avg": 0.0,
130
+ "policy/clipfrac_avg": 0.0,
131
+ "policy/entropy_avg": 0.4676559567451477,
132
+ "step": 7,
133
+ "timer/training_step": 5.001364707946777,
134
+ "val/num_eos_tokens": 0.65625,
135
+ "val/ratio": 1.0
136
+ },
137
+ {
138
+ "epoch": 0.002535004852157725,
139
+ "grad_norm": 3.0753049031773116e-06,
140
+ "learning_rate": 2.9974643423137877e-06,
141
+ "loss": 0.0,
142
+ "loss/policy_avg": 3.259629011154175e-09,
143
+ "objective/entropy": 52.772064208984375,
144
+ "objective/kl": 0.0,
145
+ "objective/rlhf_reward": -0.8326416015625,
146
+ "objective/scores": -0.83258056640625,
147
+ "policy/approxkl_avg": 0.0,
148
+ "policy/clipfrac_avg": 0.0,
149
+ "policy/entropy_avg": 0.4242881238460541,
150
+ "step": 8,
151
+ "timer/training_step": 5.542971134185791,
152
+ "val/num_eos_tokens": 0.40625,
153
+ "val/ratio": 1.0
154
+ }
155
+ ],
156
+ "logging_steps": 1,
157
+ "max_steps": 9465,
158
+ "num_input_tokens_seen": 0,
159
+ "num_train_epochs": 3,
160
+ "save_steps": 8,
161
+ "total_flos": 5677993863069696.0,
162
+ "train_batch_size": 2,
163
+ "trial_name": null,
164
+ "trial_params": null
165
+ }
checkpoint-8/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4790157c5fbd0cb6249bce3f856574e5353406ee2bfdde3cf3f2571e6337a71c
3
+ size 5240
runs/May06_21-16-51_2efa04e46d11/events.out.tfevents.1715030211.2efa04e46d11 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a2a419c80c25f1cae692076dc240bfd8fbd21ad442805fad2eab7a89cfe66d12
3
- size 12233
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8b475c5c6cf4308cfac265ea2845c327e2b164789d1379f2bf02b8b481edde8
3
+ size 16840