bshada commited on
Commit
3dcb91e
·
verified ·
1 Parent(s): 4c276c6

Upload 51 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +165 -0
  2. adapter_config.json +34 -0
  3. adapter_model.bin +3 -0
  4. checkpoint-14/README.md +202 -0
  5. checkpoint-14/adapter_config.json +34 -0
  6. checkpoint-14/adapter_model.safetensors +3 -0
  7. checkpoint-14/optimizer.pt +3 -0
  8. checkpoint-14/rng_state.pth +3 -0
  9. checkpoint-14/scheduler.pt +3 -0
  10. checkpoint-14/special_tokens_map.json +24 -0
  11. checkpoint-14/tokenizer.model +3 -0
  12. checkpoint-14/tokenizer_config.json +0 -0
  13. checkpoint-14/trainer_state.json +243 -0
  14. checkpoint-14/training_args.bin +3 -0
  15. checkpoint-16/README.md +202 -0
  16. checkpoint-16/adapter_config.json +34 -0
  17. checkpoint-16/adapter_model.safetensors +3 -0
  18. checkpoint-16/optimizer.pt +3 -0
  19. checkpoint-16/rng_state.pth +3 -0
  20. checkpoint-16/scheduler.pt +3 -0
  21. checkpoint-16/special_tokens_map.json +24 -0
  22. checkpoint-16/tokenizer.model +3 -0
  23. checkpoint-16/tokenizer_config.json +0 -0
  24. checkpoint-16/trainer_state.json +273 -0
  25. checkpoint-16/training_args.bin +3 -0
  26. checkpoint-18/README.md +202 -0
  27. checkpoint-18/adapter_config.json +34 -0
  28. checkpoint-18/adapter_model.safetensors +3 -0
  29. checkpoint-18/optimizer.pt +3 -0
  30. checkpoint-18/rng_state.pth +3 -0
  31. checkpoint-18/scheduler.pt +3 -0
  32. checkpoint-18/special_tokens_map.json +24 -0
  33. checkpoint-18/tokenizer.model +3 -0
  34. checkpoint-18/tokenizer_config.json +0 -0
  35. checkpoint-18/trainer_state.json +303 -0
  36. checkpoint-18/training_args.bin +3 -0
  37. checkpoint-20/README.md +202 -0
  38. checkpoint-20/adapter_config.json +34 -0
  39. checkpoint-20/adapter_model.safetensors +3 -0
  40. checkpoint-20/optimizer.pt +3 -0
  41. checkpoint-20/rng_state.pth +3 -0
  42. checkpoint-20/scheduler.pt +3 -0
  43. checkpoint-20/special_tokens_map.json +24 -0
  44. checkpoint-20/tokenizer.model +3 -0
  45. checkpoint-20/tokenizer_config.json +0 -0
  46. checkpoint-20/trainer_state.json +333 -0
  47. checkpoint-20/training_args.bin +3 -0
  48. config.json +41 -0
  49. special_tokens_map.json +24 -0
  50. tokenizer.model +3 -0
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.3
3
+ library_name: peft
4
+ license: apache-2.0
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: adapters/hw-infi-qlora-10-epoch-16384-contex
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.1`
19
+ ```yaml
20
+ base_model: mistralai/Mistral-7B-Instruct-v0.3
21
+ model_type: MistralForCausalLM
22
+ tokenizer_type: LlamaTokenizer
23
+
24
+ load_in_8bit: false
25
+ load_in_4bit: true
26
+ strict: false
27
+
28
+ datasets:
29
+ - path: bshada/hw-infi
30
+ type: alpaca
31
+ dataset_prepared_path: last_run_prepared
32
+ val_set_size: 0.1
33
+ output_dir: ./adapters/hw-infi-qlora-10-epoch-16384-contex
34
+
35
+ adapter: qlora
36
+ lora_model_dir:
37
+
38
+ sequence_len: 16384
39
+ sample_packing: false
40
+ pad_to_sequence_len: true
41
+
42
+ lora_r: 32
43
+ lora_alpha: 16
44
+ lora_dropout: 0.05
45
+ lora_target_linear: true
46
+ lora_fan_in_fan_out:
47
+ lora_target_modules:
48
+ - gate_proj
49
+ - down_proj
50
+ - up_proj
51
+ - q_proj
52
+ - v_proj
53
+ - k_proj
54
+ - o_proj
55
+
56
+ wandb_project:
57
+ wandb_entity:
58
+ wandb_watch:
59
+ wandb_name:
60
+ wandb_log_model:
61
+
62
+ gradient_accumulation_steps: 1
63
+ micro_batch_size: 1
64
+ num_epochs: 10
65
+ optimizer: adamw_bnb_8bit
66
+ lr_scheduler: cosine
67
+ learning_rate: 0.0002
68
+
69
+ train_on_inputs: false
70
+ group_by_length: false
71
+ bf16: auto
72
+ fp16:
73
+ tf32: false
74
+
75
+ gradient_checkpointing: true
76
+ early_stopping_patience:
77
+ resume_from_checkpoint:
78
+ local_rank:
79
+ logging_steps: 1
80
+ xformers_attention:
81
+ flash_attention: true
82
+
83
+ loss_watchdog_threshold: 5.0
84
+ loss_watchdog_patience: 3
85
+
86
+ warmup_steps: 0
87
+ evals_per_epoch: 4
88
+ eval_table_size:
89
+ eval_max_new_tokens: 128
90
+ saves_per_epoch: 1
91
+ debug:
92
+ deepspeed:
93
+ weight_decay: 0.0
94
+ fsdp:
95
+ fsdp_config:
96
+ special_tokens:
97
+
98
+ ```
99
+
100
+ </details><br>
101
+
102
+ # adapters/hw-infi-qlora-10-epoch-16384-contex
103
+
104
+ This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3) on the None dataset.
105
+ It achieves the following results on the evaluation set:
106
+ - Loss: 0.2161
107
+
108
+ ## Model description
109
+
110
+ More information needed
111
+
112
+ ## Intended uses & limitations
113
+
114
+ More information needed
115
+
116
+ ## Training and evaluation data
117
+
118
+ More information needed
119
+
120
+ ## Training procedure
121
+
122
+ ### Training hyperparameters
123
+
124
+ The following hyperparameters were used during training:
125
+ - learning_rate: 0.0002
126
+ - train_batch_size: 1
127
+ - eval_batch_size: 1
128
+ - seed: 42
129
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
130
+ - lr_scheduler_type: cosine
131
+ - num_epochs: 10
132
+
133
+ ### Training results
134
+
135
+ | Training Loss | Epoch | Step | Validation Loss |
136
+ |:-------------:|:-----:|:----:|:---------------:|
137
+ | 0.2155 | 0.5 | 1 | 0.2359 |
138
+ | 0.2104 | 1.0 | 2 | 0.2150 |
139
+ | 0.1625 | 1.5 | 3 | 0.1978 |
140
+ | 0.1496 | 2.0 | 4 | 0.1850 |
141
+ | 0.1264 | 2.5 | 5 | 0.1786 |
142
+ | 0.11 | 3.0 | 6 | 0.1812 |
143
+ | 0.091 | 3.5 | 7 | 0.1830 |
144
+ | 0.1007 | 4.0 | 8 | 0.1835 |
145
+ | 0.0623 | 4.5 | 9 | 0.1880 |
146
+ | 0.082 | 5.0 | 10 | 0.1919 |
147
+ | 0.0405 | 5.5 | 11 | 0.1971 |
148
+ | 0.0636 | 6.0 | 12 | 0.2002 |
149
+ | 0.054 | 6.5 | 13 | 0.2056 |
150
+ | 0.0293 | 7.0 | 14 | 0.2076 |
151
+ | 0.0406 | 7.5 | 15 | 0.2110 |
152
+ | 0.0192 | 8.0 | 16 | 0.2140 |
153
+ | 0.034 | 8.5 | 17 | 0.2148 |
154
+ | 0.0153 | 9.0 | 18 | 0.2158 |
155
+ | 0.0314 | 9.5 | 19 | 0.2161 |
156
+ | 0.0142 | 10.0 | 20 | 0.2161 |
157
+
158
+
159
+ ### Framework versions
160
+
161
+ - PEFT 0.11.1
162
+ - Transformers 4.42.3
163
+ - Pytorch 2.3.1+cu121
164
+ - Datasets 2.19.1
165
+ - Tokenizers 0.19.1
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.3",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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": 16,
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
+ "down_proj",
24
+ "q_proj",
25
+ "o_proj",
26
+ "up_proj",
27
+ "k_proj",
28
+ "v_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5643c1ee141dd1a74ec8cf576b71ed657a342e3d892039088c2b13cf60a453fe
3
+ size 167934026
checkpoint-14/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.3
3
+ library_name: peft
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.11.1
checkpoint-14/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.3",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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": 16,
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
+ "down_proj",
24
+ "q_proj",
25
+ "o_proj",
26
+ "up_proj",
27
+ "k_proj",
28
+ "v_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-14/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57b9da15af3aef973e31beabd789a7eb1a5339cc72155c6aee4233e1c634f35f
3
+ size 167832688
checkpoint-14/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9a6c6cbdd43f702e73394ff96bde8eedd40946f01e3cd0232f202518d5d1226
3
+ size 168624724
checkpoint-14/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce68b8115b755c4a4e25cd1170099185d4e74db9c37e93bc6fd65df8e9a25e2a
3
+ size 14244
checkpoint-14/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45123163216752bf36cb4910bab13325f3d253fd6ebf678d91470edb6929de5e
3
+ size 1064
checkpoint-14/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-14/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
checkpoint-14/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-14/trainer_state.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 7.0,
5
+ "eval_steps": 1,
6
+ "global_step": 14,
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.5,
13
+ "grad_norm": 0.201171875,
14
+ "learning_rate": 0.00019876883405951377,
15
+ "loss": 0.2155,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.5,
20
+ "eval_loss": 0.23589570820331573,
21
+ "eval_runtime": 6.9655,
22
+ "eval_samples_per_second": 0.144,
23
+ "eval_steps_per_second": 0.144,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 1.0,
28
+ "grad_norm": 0.177734375,
29
+ "learning_rate": 0.00019510565162951537,
30
+ "loss": 0.2104,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 1.0,
35
+ "eval_loss": 0.2149593085050583,
36
+ "eval_runtime": 7.0061,
37
+ "eval_samples_per_second": 0.143,
38
+ "eval_steps_per_second": 0.143,
39
+ "step": 2
40
+ },
41
+ {
42
+ "epoch": 1.5,
43
+ "grad_norm": 0.12060546875,
44
+ "learning_rate": 0.0001891006524188368,
45
+ "loss": 0.1625,
46
+ "step": 3
47
+ },
48
+ {
49
+ "epoch": 1.5,
50
+ "eval_loss": 0.19781844317913055,
51
+ "eval_runtime": 7.0431,
52
+ "eval_samples_per_second": 0.142,
53
+ "eval_steps_per_second": 0.142,
54
+ "step": 3
55
+ },
56
+ {
57
+ "epoch": 2.0,
58
+ "grad_norm": 0.13671875,
59
+ "learning_rate": 0.00018090169943749476,
60
+ "loss": 0.1496,
61
+ "step": 4
62
+ },
63
+ {
64
+ "epoch": 2.0,
65
+ "eval_loss": 0.18500646948814392,
66
+ "eval_runtime": 7.0667,
67
+ "eval_samples_per_second": 0.142,
68
+ "eval_steps_per_second": 0.142,
69
+ "step": 4
70
+ },
71
+ {
72
+ "epoch": 2.5,
73
+ "grad_norm": 0.09716796875,
74
+ "learning_rate": 0.00017071067811865476,
75
+ "loss": 0.1264,
76
+ "step": 5
77
+ },
78
+ {
79
+ "epoch": 2.5,
80
+ "eval_loss": 0.17856794595718384,
81
+ "eval_runtime": 7.1001,
82
+ "eval_samples_per_second": 0.141,
83
+ "eval_steps_per_second": 0.141,
84
+ "step": 5
85
+ },
86
+ {
87
+ "epoch": 3.0,
88
+ "grad_norm": 0.1669921875,
89
+ "learning_rate": 0.00015877852522924732,
90
+ "loss": 0.11,
91
+ "step": 6
92
+ },
93
+ {
94
+ "epoch": 3.0,
95
+ "eval_loss": 0.1812315732240677,
96
+ "eval_runtime": 7.1196,
97
+ "eval_samples_per_second": 0.14,
98
+ "eval_steps_per_second": 0.14,
99
+ "step": 6
100
+ },
101
+ {
102
+ "epoch": 3.5,
103
+ "grad_norm": 0.19140625,
104
+ "learning_rate": 0.00014539904997395468,
105
+ "loss": 0.091,
106
+ "step": 7
107
+ },
108
+ {
109
+ "epoch": 3.5,
110
+ "eval_loss": 0.18298085033893585,
111
+ "eval_runtime": 7.1414,
112
+ "eval_samples_per_second": 0.14,
113
+ "eval_steps_per_second": 0.14,
114
+ "step": 7
115
+ },
116
+ {
117
+ "epoch": 4.0,
118
+ "grad_norm": 0.12353515625,
119
+ "learning_rate": 0.00013090169943749476,
120
+ "loss": 0.1007,
121
+ "step": 8
122
+ },
123
+ {
124
+ "epoch": 4.0,
125
+ "eval_loss": 0.1835242211818695,
126
+ "eval_runtime": 7.1478,
127
+ "eval_samples_per_second": 0.14,
128
+ "eval_steps_per_second": 0.14,
129
+ "step": 8
130
+ },
131
+ {
132
+ "epoch": 4.5,
133
+ "grad_norm": 0.181640625,
134
+ "learning_rate": 0.0001156434465040231,
135
+ "loss": 0.0623,
136
+ "step": 9
137
+ },
138
+ {
139
+ "epoch": 4.5,
140
+ "eval_loss": 0.18798375129699707,
141
+ "eval_runtime": 7.1753,
142
+ "eval_samples_per_second": 0.139,
143
+ "eval_steps_per_second": 0.139,
144
+ "step": 9
145
+ },
146
+ {
147
+ "epoch": 5.0,
148
+ "grad_norm": 0.1396484375,
149
+ "learning_rate": 0.0001,
150
+ "loss": 0.082,
151
+ "step": 10
152
+ },
153
+ {
154
+ "epoch": 5.0,
155
+ "eval_loss": 0.19188430905342102,
156
+ "eval_runtime": 7.1823,
157
+ "eval_samples_per_second": 0.139,
158
+ "eval_steps_per_second": 0.139,
159
+ "step": 10
160
+ },
161
+ {
162
+ "epoch": 5.5,
163
+ "grad_norm": 0.1953125,
164
+ "learning_rate": 8.435655349597689e-05,
165
+ "loss": 0.0405,
166
+ "step": 11
167
+ },
168
+ {
169
+ "epoch": 5.5,
170
+ "eval_loss": 0.19711872935295105,
171
+ "eval_runtime": 7.1989,
172
+ "eval_samples_per_second": 0.139,
173
+ "eval_steps_per_second": 0.139,
174
+ "step": 11
175
+ },
176
+ {
177
+ "epoch": 6.0,
178
+ "grad_norm": 0.16796875,
179
+ "learning_rate": 6.909830056250527e-05,
180
+ "loss": 0.0636,
181
+ "step": 12
182
+ },
183
+ {
184
+ "epoch": 6.0,
185
+ "eval_loss": 0.20024314522743225,
186
+ "eval_runtime": 7.1756,
187
+ "eval_samples_per_second": 0.139,
188
+ "eval_steps_per_second": 0.139,
189
+ "step": 12
190
+ },
191
+ {
192
+ "epoch": 6.5,
193
+ "grad_norm": 0.15234375,
194
+ "learning_rate": 5.4600950026045326e-05,
195
+ "loss": 0.054,
196
+ "step": 13
197
+ },
198
+ {
199
+ "epoch": 6.5,
200
+ "eval_loss": 0.20560228824615479,
201
+ "eval_runtime": 7.1855,
202
+ "eval_samples_per_second": 0.139,
203
+ "eval_steps_per_second": 0.139,
204
+ "step": 13
205
+ },
206
+ {
207
+ "epoch": 7.0,
208
+ "grad_norm": 0.37109375,
209
+ "learning_rate": 4.12214747707527e-05,
210
+ "loss": 0.0293,
211
+ "step": 14
212
+ },
213
+ {
214
+ "epoch": 7.0,
215
+ "eval_loss": 0.2076297104358673,
216
+ "eval_runtime": 7.1951,
217
+ "eval_samples_per_second": 0.139,
218
+ "eval_steps_per_second": 0.139,
219
+ "step": 14
220
+ }
221
+ ],
222
+ "logging_steps": 1,
223
+ "max_steps": 20,
224
+ "num_input_tokens_seen": 0,
225
+ "num_train_epochs": 10,
226
+ "save_steps": 2,
227
+ "stateful_callbacks": {
228
+ "TrainerControl": {
229
+ "args": {
230
+ "should_epoch_stop": false,
231
+ "should_evaluate": false,
232
+ "should_log": false,
233
+ "should_save": true,
234
+ "should_training_stop": false
235
+ },
236
+ "attributes": {}
237
+ }
238
+ },
239
+ "total_flos": 9905866669031424.0,
240
+ "train_batch_size": 1,
241
+ "trial_name": null,
242
+ "trial_params": null
243
+ }
checkpoint-14/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07adafd16ce083b1e334fbdc9f6d619e148eda3db7571a3ce3f9391877f01363
3
+ size 6072
checkpoint-16/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.3
3
+ library_name: peft
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.11.1
checkpoint-16/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.3",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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": 16,
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
+ "down_proj",
24
+ "q_proj",
25
+ "o_proj",
26
+ "up_proj",
27
+ "k_proj",
28
+ "v_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-16/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9eed375b7bc989d56b83ad5c82033cc08dc8783d2b6b0ae7c28f2106db90646
3
+ size 167832688
checkpoint-16/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d725169a6275b27872bdefa94aa41c4dd36c8c1da98395c2560bccc81b1f8cd
3
+ size 168624724
checkpoint-16/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3341ddb6e8ff15189725c97f6449e39b27fdc5608f4fa6076d0e5ebd83a253af
3
+ size 14244
checkpoint-16/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c84577e6c9d054a8b86ed72f08846c62432c6eca96a5b8a15f514e5ea73b326
3
+ size 1064
checkpoint-16/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-16/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
checkpoint-16/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-16/trainer_state.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 8.0,
5
+ "eval_steps": 1,
6
+ "global_step": 16,
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.5,
13
+ "grad_norm": 0.201171875,
14
+ "learning_rate": 0.00019876883405951377,
15
+ "loss": 0.2155,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.5,
20
+ "eval_loss": 0.23589570820331573,
21
+ "eval_runtime": 6.9655,
22
+ "eval_samples_per_second": 0.144,
23
+ "eval_steps_per_second": 0.144,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 1.0,
28
+ "grad_norm": 0.177734375,
29
+ "learning_rate": 0.00019510565162951537,
30
+ "loss": 0.2104,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 1.0,
35
+ "eval_loss": 0.2149593085050583,
36
+ "eval_runtime": 7.0061,
37
+ "eval_samples_per_second": 0.143,
38
+ "eval_steps_per_second": 0.143,
39
+ "step": 2
40
+ },
41
+ {
42
+ "epoch": 1.5,
43
+ "grad_norm": 0.12060546875,
44
+ "learning_rate": 0.0001891006524188368,
45
+ "loss": 0.1625,
46
+ "step": 3
47
+ },
48
+ {
49
+ "epoch": 1.5,
50
+ "eval_loss": 0.19781844317913055,
51
+ "eval_runtime": 7.0431,
52
+ "eval_samples_per_second": 0.142,
53
+ "eval_steps_per_second": 0.142,
54
+ "step": 3
55
+ },
56
+ {
57
+ "epoch": 2.0,
58
+ "grad_norm": 0.13671875,
59
+ "learning_rate": 0.00018090169943749476,
60
+ "loss": 0.1496,
61
+ "step": 4
62
+ },
63
+ {
64
+ "epoch": 2.0,
65
+ "eval_loss": 0.18500646948814392,
66
+ "eval_runtime": 7.0667,
67
+ "eval_samples_per_second": 0.142,
68
+ "eval_steps_per_second": 0.142,
69
+ "step": 4
70
+ },
71
+ {
72
+ "epoch": 2.5,
73
+ "grad_norm": 0.09716796875,
74
+ "learning_rate": 0.00017071067811865476,
75
+ "loss": 0.1264,
76
+ "step": 5
77
+ },
78
+ {
79
+ "epoch": 2.5,
80
+ "eval_loss": 0.17856794595718384,
81
+ "eval_runtime": 7.1001,
82
+ "eval_samples_per_second": 0.141,
83
+ "eval_steps_per_second": 0.141,
84
+ "step": 5
85
+ },
86
+ {
87
+ "epoch": 3.0,
88
+ "grad_norm": 0.1669921875,
89
+ "learning_rate": 0.00015877852522924732,
90
+ "loss": 0.11,
91
+ "step": 6
92
+ },
93
+ {
94
+ "epoch": 3.0,
95
+ "eval_loss": 0.1812315732240677,
96
+ "eval_runtime": 7.1196,
97
+ "eval_samples_per_second": 0.14,
98
+ "eval_steps_per_second": 0.14,
99
+ "step": 6
100
+ },
101
+ {
102
+ "epoch": 3.5,
103
+ "grad_norm": 0.19140625,
104
+ "learning_rate": 0.00014539904997395468,
105
+ "loss": 0.091,
106
+ "step": 7
107
+ },
108
+ {
109
+ "epoch": 3.5,
110
+ "eval_loss": 0.18298085033893585,
111
+ "eval_runtime": 7.1414,
112
+ "eval_samples_per_second": 0.14,
113
+ "eval_steps_per_second": 0.14,
114
+ "step": 7
115
+ },
116
+ {
117
+ "epoch": 4.0,
118
+ "grad_norm": 0.12353515625,
119
+ "learning_rate": 0.00013090169943749476,
120
+ "loss": 0.1007,
121
+ "step": 8
122
+ },
123
+ {
124
+ "epoch": 4.0,
125
+ "eval_loss": 0.1835242211818695,
126
+ "eval_runtime": 7.1478,
127
+ "eval_samples_per_second": 0.14,
128
+ "eval_steps_per_second": 0.14,
129
+ "step": 8
130
+ },
131
+ {
132
+ "epoch": 4.5,
133
+ "grad_norm": 0.181640625,
134
+ "learning_rate": 0.0001156434465040231,
135
+ "loss": 0.0623,
136
+ "step": 9
137
+ },
138
+ {
139
+ "epoch": 4.5,
140
+ "eval_loss": 0.18798375129699707,
141
+ "eval_runtime": 7.1753,
142
+ "eval_samples_per_second": 0.139,
143
+ "eval_steps_per_second": 0.139,
144
+ "step": 9
145
+ },
146
+ {
147
+ "epoch": 5.0,
148
+ "grad_norm": 0.1396484375,
149
+ "learning_rate": 0.0001,
150
+ "loss": 0.082,
151
+ "step": 10
152
+ },
153
+ {
154
+ "epoch": 5.0,
155
+ "eval_loss": 0.19188430905342102,
156
+ "eval_runtime": 7.1823,
157
+ "eval_samples_per_second": 0.139,
158
+ "eval_steps_per_second": 0.139,
159
+ "step": 10
160
+ },
161
+ {
162
+ "epoch": 5.5,
163
+ "grad_norm": 0.1953125,
164
+ "learning_rate": 8.435655349597689e-05,
165
+ "loss": 0.0405,
166
+ "step": 11
167
+ },
168
+ {
169
+ "epoch": 5.5,
170
+ "eval_loss": 0.19711872935295105,
171
+ "eval_runtime": 7.1989,
172
+ "eval_samples_per_second": 0.139,
173
+ "eval_steps_per_second": 0.139,
174
+ "step": 11
175
+ },
176
+ {
177
+ "epoch": 6.0,
178
+ "grad_norm": 0.16796875,
179
+ "learning_rate": 6.909830056250527e-05,
180
+ "loss": 0.0636,
181
+ "step": 12
182
+ },
183
+ {
184
+ "epoch": 6.0,
185
+ "eval_loss": 0.20024314522743225,
186
+ "eval_runtime": 7.1756,
187
+ "eval_samples_per_second": 0.139,
188
+ "eval_steps_per_second": 0.139,
189
+ "step": 12
190
+ },
191
+ {
192
+ "epoch": 6.5,
193
+ "grad_norm": 0.15234375,
194
+ "learning_rate": 5.4600950026045326e-05,
195
+ "loss": 0.054,
196
+ "step": 13
197
+ },
198
+ {
199
+ "epoch": 6.5,
200
+ "eval_loss": 0.20560228824615479,
201
+ "eval_runtime": 7.1855,
202
+ "eval_samples_per_second": 0.139,
203
+ "eval_steps_per_second": 0.139,
204
+ "step": 13
205
+ },
206
+ {
207
+ "epoch": 7.0,
208
+ "grad_norm": 0.37109375,
209
+ "learning_rate": 4.12214747707527e-05,
210
+ "loss": 0.0293,
211
+ "step": 14
212
+ },
213
+ {
214
+ "epoch": 7.0,
215
+ "eval_loss": 0.2076297104358673,
216
+ "eval_runtime": 7.1951,
217
+ "eval_samples_per_second": 0.139,
218
+ "eval_steps_per_second": 0.139,
219
+ "step": 14
220
+ },
221
+ {
222
+ "epoch": 7.5,
223
+ "grad_norm": 0.162109375,
224
+ "learning_rate": 2.9289321881345254e-05,
225
+ "loss": 0.0406,
226
+ "step": 15
227
+ },
228
+ {
229
+ "epoch": 7.5,
230
+ "eval_loss": 0.21104469895362854,
231
+ "eval_runtime": 7.1938,
232
+ "eval_samples_per_second": 0.139,
233
+ "eval_steps_per_second": 0.139,
234
+ "step": 15
235
+ },
236
+ {
237
+ "epoch": 8.0,
238
+ "grad_norm": 0.150390625,
239
+ "learning_rate": 1.9098300562505266e-05,
240
+ "loss": 0.0192,
241
+ "step": 16
242
+ },
243
+ {
244
+ "epoch": 8.0,
245
+ "eval_loss": 0.21401870250701904,
246
+ "eval_runtime": 7.2017,
247
+ "eval_samples_per_second": 0.139,
248
+ "eval_steps_per_second": 0.139,
249
+ "step": 16
250
+ }
251
+ ],
252
+ "logging_steps": 1,
253
+ "max_steps": 20,
254
+ "num_input_tokens_seen": 0,
255
+ "num_train_epochs": 10,
256
+ "save_steps": 2,
257
+ "stateful_callbacks": {
258
+ "TrainerControl": {
259
+ "args": {
260
+ "should_epoch_stop": false,
261
+ "should_evaluate": false,
262
+ "should_log": false,
263
+ "should_save": true,
264
+ "should_training_stop": false
265
+ },
266
+ "attributes": {}
267
+ }
268
+ },
269
+ "total_flos": 1.1320990478893056e+16,
270
+ "train_batch_size": 1,
271
+ "trial_name": null,
272
+ "trial_params": null
273
+ }
checkpoint-16/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07adafd16ce083b1e334fbdc9f6d619e148eda3db7571a3ce3f9391877f01363
3
+ size 6072
checkpoint-18/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.3
3
+ library_name: peft
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.11.1
checkpoint-18/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.3",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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": 16,
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
+ "down_proj",
24
+ "q_proj",
25
+ "o_proj",
26
+ "up_proj",
27
+ "k_proj",
28
+ "v_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-18/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61ad77935285bf8c021bc377fe1b0055e2888afad2f6d69385dc592bd117d745
3
+ size 167832688
checkpoint-18/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0433f3be294f9c7ea12e69a2d32d57be793c23fe6350474270aea22632fa7eaf
3
+ size 168624724
checkpoint-18/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8275ada323dfe0e439a4e6b300f8cf49e0e990497886568a45eccb5174d2d90a
3
+ size 14244
checkpoint-18/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd1953390b5e2705c59a40cf26401a7f8fd783ef85c361a958d772e02cd4ec2d
3
+ size 1064
checkpoint-18/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-18/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
checkpoint-18/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-18/trainer_state.json ADDED
@@ -0,0 +1,303 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 9.0,
5
+ "eval_steps": 1,
6
+ "global_step": 18,
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.5,
13
+ "grad_norm": 0.201171875,
14
+ "learning_rate": 0.00019876883405951377,
15
+ "loss": 0.2155,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.5,
20
+ "eval_loss": 0.23589570820331573,
21
+ "eval_runtime": 6.9655,
22
+ "eval_samples_per_second": 0.144,
23
+ "eval_steps_per_second": 0.144,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 1.0,
28
+ "grad_norm": 0.177734375,
29
+ "learning_rate": 0.00019510565162951537,
30
+ "loss": 0.2104,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 1.0,
35
+ "eval_loss": 0.2149593085050583,
36
+ "eval_runtime": 7.0061,
37
+ "eval_samples_per_second": 0.143,
38
+ "eval_steps_per_second": 0.143,
39
+ "step": 2
40
+ },
41
+ {
42
+ "epoch": 1.5,
43
+ "grad_norm": 0.12060546875,
44
+ "learning_rate": 0.0001891006524188368,
45
+ "loss": 0.1625,
46
+ "step": 3
47
+ },
48
+ {
49
+ "epoch": 1.5,
50
+ "eval_loss": 0.19781844317913055,
51
+ "eval_runtime": 7.0431,
52
+ "eval_samples_per_second": 0.142,
53
+ "eval_steps_per_second": 0.142,
54
+ "step": 3
55
+ },
56
+ {
57
+ "epoch": 2.0,
58
+ "grad_norm": 0.13671875,
59
+ "learning_rate": 0.00018090169943749476,
60
+ "loss": 0.1496,
61
+ "step": 4
62
+ },
63
+ {
64
+ "epoch": 2.0,
65
+ "eval_loss": 0.18500646948814392,
66
+ "eval_runtime": 7.0667,
67
+ "eval_samples_per_second": 0.142,
68
+ "eval_steps_per_second": 0.142,
69
+ "step": 4
70
+ },
71
+ {
72
+ "epoch": 2.5,
73
+ "grad_norm": 0.09716796875,
74
+ "learning_rate": 0.00017071067811865476,
75
+ "loss": 0.1264,
76
+ "step": 5
77
+ },
78
+ {
79
+ "epoch": 2.5,
80
+ "eval_loss": 0.17856794595718384,
81
+ "eval_runtime": 7.1001,
82
+ "eval_samples_per_second": 0.141,
83
+ "eval_steps_per_second": 0.141,
84
+ "step": 5
85
+ },
86
+ {
87
+ "epoch": 3.0,
88
+ "grad_norm": 0.1669921875,
89
+ "learning_rate": 0.00015877852522924732,
90
+ "loss": 0.11,
91
+ "step": 6
92
+ },
93
+ {
94
+ "epoch": 3.0,
95
+ "eval_loss": 0.1812315732240677,
96
+ "eval_runtime": 7.1196,
97
+ "eval_samples_per_second": 0.14,
98
+ "eval_steps_per_second": 0.14,
99
+ "step": 6
100
+ },
101
+ {
102
+ "epoch": 3.5,
103
+ "grad_norm": 0.19140625,
104
+ "learning_rate": 0.00014539904997395468,
105
+ "loss": 0.091,
106
+ "step": 7
107
+ },
108
+ {
109
+ "epoch": 3.5,
110
+ "eval_loss": 0.18298085033893585,
111
+ "eval_runtime": 7.1414,
112
+ "eval_samples_per_second": 0.14,
113
+ "eval_steps_per_second": 0.14,
114
+ "step": 7
115
+ },
116
+ {
117
+ "epoch": 4.0,
118
+ "grad_norm": 0.12353515625,
119
+ "learning_rate": 0.00013090169943749476,
120
+ "loss": 0.1007,
121
+ "step": 8
122
+ },
123
+ {
124
+ "epoch": 4.0,
125
+ "eval_loss": 0.1835242211818695,
126
+ "eval_runtime": 7.1478,
127
+ "eval_samples_per_second": 0.14,
128
+ "eval_steps_per_second": 0.14,
129
+ "step": 8
130
+ },
131
+ {
132
+ "epoch": 4.5,
133
+ "grad_norm": 0.181640625,
134
+ "learning_rate": 0.0001156434465040231,
135
+ "loss": 0.0623,
136
+ "step": 9
137
+ },
138
+ {
139
+ "epoch": 4.5,
140
+ "eval_loss": 0.18798375129699707,
141
+ "eval_runtime": 7.1753,
142
+ "eval_samples_per_second": 0.139,
143
+ "eval_steps_per_second": 0.139,
144
+ "step": 9
145
+ },
146
+ {
147
+ "epoch": 5.0,
148
+ "grad_norm": 0.1396484375,
149
+ "learning_rate": 0.0001,
150
+ "loss": 0.082,
151
+ "step": 10
152
+ },
153
+ {
154
+ "epoch": 5.0,
155
+ "eval_loss": 0.19188430905342102,
156
+ "eval_runtime": 7.1823,
157
+ "eval_samples_per_second": 0.139,
158
+ "eval_steps_per_second": 0.139,
159
+ "step": 10
160
+ },
161
+ {
162
+ "epoch": 5.5,
163
+ "grad_norm": 0.1953125,
164
+ "learning_rate": 8.435655349597689e-05,
165
+ "loss": 0.0405,
166
+ "step": 11
167
+ },
168
+ {
169
+ "epoch": 5.5,
170
+ "eval_loss": 0.19711872935295105,
171
+ "eval_runtime": 7.1989,
172
+ "eval_samples_per_second": 0.139,
173
+ "eval_steps_per_second": 0.139,
174
+ "step": 11
175
+ },
176
+ {
177
+ "epoch": 6.0,
178
+ "grad_norm": 0.16796875,
179
+ "learning_rate": 6.909830056250527e-05,
180
+ "loss": 0.0636,
181
+ "step": 12
182
+ },
183
+ {
184
+ "epoch": 6.0,
185
+ "eval_loss": 0.20024314522743225,
186
+ "eval_runtime": 7.1756,
187
+ "eval_samples_per_second": 0.139,
188
+ "eval_steps_per_second": 0.139,
189
+ "step": 12
190
+ },
191
+ {
192
+ "epoch": 6.5,
193
+ "grad_norm": 0.15234375,
194
+ "learning_rate": 5.4600950026045326e-05,
195
+ "loss": 0.054,
196
+ "step": 13
197
+ },
198
+ {
199
+ "epoch": 6.5,
200
+ "eval_loss": 0.20560228824615479,
201
+ "eval_runtime": 7.1855,
202
+ "eval_samples_per_second": 0.139,
203
+ "eval_steps_per_second": 0.139,
204
+ "step": 13
205
+ },
206
+ {
207
+ "epoch": 7.0,
208
+ "grad_norm": 0.37109375,
209
+ "learning_rate": 4.12214747707527e-05,
210
+ "loss": 0.0293,
211
+ "step": 14
212
+ },
213
+ {
214
+ "epoch": 7.0,
215
+ "eval_loss": 0.2076297104358673,
216
+ "eval_runtime": 7.1951,
217
+ "eval_samples_per_second": 0.139,
218
+ "eval_steps_per_second": 0.139,
219
+ "step": 14
220
+ },
221
+ {
222
+ "epoch": 7.5,
223
+ "grad_norm": 0.162109375,
224
+ "learning_rate": 2.9289321881345254e-05,
225
+ "loss": 0.0406,
226
+ "step": 15
227
+ },
228
+ {
229
+ "epoch": 7.5,
230
+ "eval_loss": 0.21104469895362854,
231
+ "eval_runtime": 7.1938,
232
+ "eval_samples_per_second": 0.139,
233
+ "eval_steps_per_second": 0.139,
234
+ "step": 15
235
+ },
236
+ {
237
+ "epoch": 8.0,
238
+ "grad_norm": 0.150390625,
239
+ "learning_rate": 1.9098300562505266e-05,
240
+ "loss": 0.0192,
241
+ "step": 16
242
+ },
243
+ {
244
+ "epoch": 8.0,
245
+ "eval_loss": 0.21401870250701904,
246
+ "eval_runtime": 7.2017,
247
+ "eval_samples_per_second": 0.139,
248
+ "eval_steps_per_second": 0.139,
249
+ "step": 16
250
+ },
251
+ {
252
+ "epoch": 8.5,
253
+ "grad_norm": 0.140625,
254
+ "learning_rate": 1.0899347581163221e-05,
255
+ "loss": 0.034,
256
+ "step": 17
257
+ },
258
+ {
259
+ "epoch": 8.5,
260
+ "eval_loss": 0.21480436623096466,
261
+ "eval_runtime": 7.1945,
262
+ "eval_samples_per_second": 0.139,
263
+ "eval_steps_per_second": 0.139,
264
+ "step": 17
265
+ },
266
+ {
267
+ "epoch": 9.0,
268
+ "grad_norm": 0.1318359375,
269
+ "learning_rate": 4.8943483704846475e-06,
270
+ "loss": 0.0153,
271
+ "step": 18
272
+ },
273
+ {
274
+ "epoch": 9.0,
275
+ "eval_loss": 0.21578560769557953,
276
+ "eval_runtime": 7.2039,
277
+ "eval_samples_per_second": 0.139,
278
+ "eval_steps_per_second": 0.139,
279
+ "step": 18
280
+ }
281
+ ],
282
+ "logging_steps": 1,
283
+ "max_steps": 20,
284
+ "num_input_tokens_seen": 0,
285
+ "num_train_epochs": 10,
286
+ "save_steps": 2,
287
+ "stateful_callbacks": {
288
+ "TrainerControl": {
289
+ "args": {
290
+ "should_epoch_stop": false,
291
+ "should_evaluate": false,
292
+ "should_log": false,
293
+ "should_save": true,
294
+ "should_training_stop": false
295
+ },
296
+ "attributes": {}
297
+ }
298
+ },
299
+ "total_flos": 1.2736114288754688e+16,
300
+ "train_batch_size": 1,
301
+ "trial_name": null,
302
+ "trial_params": null
303
+ }
checkpoint-18/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07adafd16ce083b1e334fbdc9f6d619e148eda3db7571a3ce3f9391877f01363
3
+ size 6072
checkpoint-20/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.3
3
+ library_name: peft
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.11.1
checkpoint-20/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.3",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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": 16,
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
+ "down_proj",
24
+ "q_proj",
25
+ "o_proj",
26
+ "up_proj",
27
+ "k_proj",
28
+ "v_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-20/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f801a8e14488b2fb8330fcca470bc444c6c0b8554be764394388106feab96766
3
+ size 167832688
checkpoint-20/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0539b9ccf15443d6ed401a5139ae03bddde1da6fdc3af1eac1412784994d55c
3
+ size 168624724
checkpoint-20/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1acc796244e531cf6c179b3cd43ac20dda81cd14e0835699a2aed5c06282aa2f
3
+ size 14244
checkpoint-20/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e2ed9259304616a8ecebc61c5d000777b2978635f7a705b8d7081c480ce0bde
3
+ size 1064
checkpoint-20/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-20/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
checkpoint-20/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-20/trainer_state.json ADDED
@@ -0,0 +1,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 10.0,
5
+ "eval_steps": 1,
6
+ "global_step": 20,
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.5,
13
+ "grad_norm": 0.201171875,
14
+ "learning_rate": 0.00019876883405951377,
15
+ "loss": 0.2155,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.5,
20
+ "eval_loss": 0.23589570820331573,
21
+ "eval_runtime": 6.9655,
22
+ "eval_samples_per_second": 0.144,
23
+ "eval_steps_per_second": 0.144,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 1.0,
28
+ "grad_norm": 0.177734375,
29
+ "learning_rate": 0.00019510565162951537,
30
+ "loss": 0.2104,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 1.0,
35
+ "eval_loss": 0.2149593085050583,
36
+ "eval_runtime": 7.0061,
37
+ "eval_samples_per_second": 0.143,
38
+ "eval_steps_per_second": 0.143,
39
+ "step": 2
40
+ },
41
+ {
42
+ "epoch": 1.5,
43
+ "grad_norm": 0.12060546875,
44
+ "learning_rate": 0.0001891006524188368,
45
+ "loss": 0.1625,
46
+ "step": 3
47
+ },
48
+ {
49
+ "epoch": 1.5,
50
+ "eval_loss": 0.19781844317913055,
51
+ "eval_runtime": 7.0431,
52
+ "eval_samples_per_second": 0.142,
53
+ "eval_steps_per_second": 0.142,
54
+ "step": 3
55
+ },
56
+ {
57
+ "epoch": 2.0,
58
+ "grad_norm": 0.13671875,
59
+ "learning_rate": 0.00018090169943749476,
60
+ "loss": 0.1496,
61
+ "step": 4
62
+ },
63
+ {
64
+ "epoch": 2.0,
65
+ "eval_loss": 0.18500646948814392,
66
+ "eval_runtime": 7.0667,
67
+ "eval_samples_per_second": 0.142,
68
+ "eval_steps_per_second": 0.142,
69
+ "step": 4
70
+ },
71
+ {
72
+ "epoch": 2.5,
73
+ "grad_norm": 0.09716796875,
74
+ "learning_rate": 0.00017071067811865476,
75
+ "loss": 0.1264,
76
+ "step": 5
77
+ },
78
+ {
79
+ "epoch": 2.5,
80
+ "eval_loss": 0.17856794595718384,
81
+ "eval_runtime": 7.1001,
82
+ "eval_samples_per_second": 0.141,
83
+ "eval_steps_per_second": 0.141,
84
+ "step": 5
85
+ },
86
+ {
87
+ "epoch": 3.0,
88
+ "grad_norm": 0.1669921875,
89
+ "learning_rate": 0.00015877852522924732,
90
+ "loss": 0.11,
91
+ "step": 6
92
+ },
93
+ {
94
+ "epoch": 3.0,
95
+ "eval_loss": 0.1812315732240677,
96
+ "eval_runtime": 7.1196,
97
+ "eval_samples_per_second": 0.14,
98
+ "eval_steps_per_second": 0.14,
99
+ "step": 6
100
+ },
101
+ {
102
+ "epoch": 3.5,
103
+ "grad_norm": 0.19140625,
104
+ "learning_rate": 0.00014539904997395468,
105
+ "loss": 0.091,
106
+ "step": 7
107
+ },
108
+ {
109
+ "epoch": 3.5,
110
+ "eval_loss": 0.18298085033893585,
111
+ "eval_runtime": 7.1414,
112
+ "eval_samples_per_second": 0.14,
113
+ "eval_steps_per_second": 0.14,
114
+ "step": 7
115
+ },
116
+ {
117
+ "epoch": 4.0,
118
+ "grad_norm": 0.12353515625,
119
+ "learning_rate": 0.00013090169943749476,
120
+ "loss": 0.1007,
121
+ "step": 8
122
+ },
123
+ {
124
+ "epoch": 4.0,
125
+ "eval_loss": 0.1835242211818695,
126
+ "eval_runtime": 7.1478,
127
+ "eval_samples_per_second": 0.14,
128
+ "eval_steps_per_second": 0.14,
129
+ "step": 8
130
+ },
131
+ {
132
+ "epoch": 4.5,
133
+ "grad_norm": 0.181640625,
134
+ "learning_rate": 0.0001156434465040231,
135
+ "loss": 0.0623,
136
+ "step": 9
137
+ },
138
+ {
139
+ "epoch": 4.5,
140
+ "eval_loss": 0.18798375129699707,
141
+ "eval_runtime": 7.1753,
142
+ "eval_samples_per_second": 0.139,
143
+ "eval_steps_per_second": 0.139,
144
+ "step": 9
145
+ },
146
+ {
147
+ "epoch": 5.0,
148
+ "grad_norm": 0.1396484375,
149
+ "learning_rate": 0.0001,
150
+ "loss": 0.082,
151
+ "step": 10
152
+ },
153
+ {
154
+ "epoch": 5.0,
155
+ "eval_loss": 0.19188430905342102,
156
+ "eval_runtime": 7.1823,
157
+ "eval_samples_per_second": 0.139,
158
+ "eval_steps_per_second": 0.139,
159
+ "step": 10
160
+ },
161
+ {
162
+ "epoch": 5.5,
163
+ "grad_norm": 0.1953125,
164
+ "learning_rate": 8.435655349597689e-05,
165
+ "loss": 0.0405,
166
+ "step": 11
167
+ },
168
+ {
169
+ "epoch": 5.5,
170
+ "eval_loss": 0.19711872935295105,
171
+ "eval_runtime": 7.1989,
172
+ "eval_samples_per_second": 0.139,
173
+ "eval_steps_per_second": 0.139,
174
+ "step": 11
175
+ },
176
+ {
177
+ "epoch": 6.0,
178
+ "grad_norm": 0.16796875,
179
+ "learning_rate": 6.909830056250527e-05,
180
+ "loss": 0.0636,
181
+ "step": 12
182
+ },
183
+ {
184
+ "epoch": 6.0,
185
+ "eval_loss": 0.20024314522743225,
186
+ "eval_runtime": 7.1756,
187
+ "eval_samples_per_second": 0.139,
188
+ "eval_steps_per_second": 0.139,
189
+ "step": 12
190
+ },
191
+ {
192
+ "epoch": 6.5,
193
+ "grad_norm": 0.15234375,
194
+ "learning_rate": 5.4600950026045326e-05,
195
+ "loss": 0.054,
196
+ "step": 13
197
+ },
198
+ {
199
+ "epoch": 6.5,
200
+ "eval_loss": 0.20560228824615479,
201
+ "eval_runtime": 7.1855,
202
+ "eval_samples_per_second": 0.139,
203
+ "eval_steps_per_second": 0.139,
204
+ "step": 13
205
+ },
206
+ {
207
+ "epoch": 7.0,
208
+ "grad_norm": 0.37109375,
209
+ "learning_rate": 4.12214747707527e-05,
210
+ "loss": 0.0293,
211
+ "step": 14
212
+ },
213
+ {
214
+ "epoch": 7.0,
215
+ "eval_loss": 0.2076297104358673,
216
+ "eval_runtime": 7.1951,
217
+ "eval_samples_per_second": 0.139,
218
+ "eval_steps_per_second": 0.139,
219
+ "step": 14
220
+ },
221
+ {
222
+ "epoch": 7.5,
223
+ "grad_norm": 0.162109375,
224
+ "learning_rate": 2.9289321881345254e-05,
225
+ "loss": 0.0406,
226
+ "step": 15
227
+ },
228
+ {
229
+ "epoch": 7.5,
230
+ "eval_loss": 0.21104469895362854,
231
+ "eval_runtime": 7.1938,
232
+ "eval_samples_per_second": 0.139,
233
+ "eval_steps_per_second": 0.139,
234
+ "step": 15
235
+ },
236
+ {
237
+ "epoch": 8.0,
238
+ "grad_norm": 0.150390625,
239
+ "learning_rate": 1.9098300562505266e-05,
240
+ "loss": 0.0192,
241
+ "step": 16
242
+ },
243
+ {
244
+ "epoch": 8.0,
245
+ "eval_loss": 0.21401870250701904,
246
+ "eval_runtime": 7.2017,
247
+ "eval_samples_per_second": 0.139,
248
+ "eval_steps_per_second": 0.139,
249
+ "step": 16
250
+ },
251
+ {
252
+ "epoch": 8.5,
253
+ "grad_norm": 0.140625,
254
+ "learning_rate": 1.0899347581163221e-05,
255
+ "loss": 0.034,
256
+ "step": 17
257
+ },
258
+ {
259
+ "epoch": 8.5,
260
+ "eval_loss": 0.21480436623096466,
261
+ "eval_runtime": 7.1945,
262
+ "eval_samples_per_second": 0.139,
263
+ "eval_steps_per_second": 0.139,
264
+ "step": 17
265
+ },
266
+ {
267
+ "epoch": 9.0,
268
+ "grad_norm": 0.1318359375,
269
+ "learning_rate": 4.8943483704846475e-06,
270
+ "loss": 0.0153,
271
+ "step": 18
272
+ },
273
+ {
274
+ "epoch": 9.0,
275
+ "eval_loss": 0.21578560769557953,
276
+ "eval_runtime": 7.2039,
277
+ "eval_samples_per_second": 0.139,
278
+ "eval_steps_per_second": 0.139,
279
+ "step": 18
280
+ },
281
+ {
282
+ "epoch": 9.5,
283
+ "grad_norm": 0.12353515625,
284
+ "learning_rate": 1.231165940486234e-06,
285
+ "loss": 0.0314,
286
+ "step": 19
287
+ },
288
+ {
289
+ "epoch": 9.5,
290
+ "eval_loss": 0.2161264419555664,
291
+ "eval_runtime": 7.2003,
292
+ "eval_samples_per_second": 0.139,
293
+ "eval_steps_per_second": 0.139,
294
+ "step": 19
295
+ },
296
+ {
297
+ "epoch": 10.0,
298
+ "grad_norm": 0.12255859375,
299
+ "learning_rate": 0.0,
300
+ "loss": 0.0142,
301
+ "step": 20
302
+ },
303
+ {
304
+ "epoch": 10.0,
305
+ "eval_loss": 0.21610291302204132,
306
+ "eval_runtime": 7.2089,
307
+ "eval_samples_per_second": 0.139,
308
+ "eval_steps_per_second": 0.139,
309
+ "step": 20
310
+ }
311
+ ],
312
+ "logging_steps": 1,
313
+ "max_steps": 20,
314
+ "num_input_tokens_seen": 0,
315
+ "num_train_epochs": 10,
316
+ "save_steps": 2,
317
+ "stateful_callbacks": {
318
+ "TrainerControl": {
319
+ "args": {
320
+ "should_epoch_stop": false,
321
+ "should_evaluate": false,
322
+ "should_log": false,
323
+ "should_save": true,
324
+ "should_training_stop": true
325
+ },
326
+ "attributes": {}
327
+ }
328
+ },
329
+ "total_flos": 1.415123809861632e+16,
330
+ "train_batch_size": 1,
331
+ "trial_name": null,
332
+ "trial_params": null
333
+ }
checkpoint-20/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07adafd16ce083b1e334fbdc9f6d619e148eda3db7571a3ce3f9391877f01363
3
+ size 6072
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 14336,
13
+ "max_position_embeddings": 32768,
14
+ "model_type": "mistral",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
17
+ "num_key_value_heads": 8,
18
+ "quantization_config": {
19
+ "_load_in_4bit": true,
20
+ "_load_in_8bit": false,
21
+ "bnb_4bit_compute_dtype": "bfloat16",
22
+ "bnb_4bit_quant_storage": "bfloat16",
23
+ "bnb_4bit_quant_type": "nf4",
24
+ "bnb_4bit_use_double_quant": true,
25
+ "llm_int8_enable_fp32_cpu_offload": false,
26
+ "llm_int8_has_fp16_weight": false,
27
+ "llm_int8_skip_modules": null,
28
+ "llm_int8_threshold": 6.0,
29
+ "load_in_4bit": true,
30
+ "load_in_8bit": false,
31
+ "quant_method": "bitsandbytes"
32
+ },
33
+ "rms_norm_eps": 1e-05,
34
+ "rope_theta": 1000000.0,
35
+ "sliding_window": null,
36
+ "tie_word_embeddings": false,
37
+ "torch_dtype": "bfloat16",
38
+ "transformers_version": "4.42.3",
39
+ "use_cache": false,
40
+ "vocab_size": 32768
41
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404