Harish-as-harry commited on
Commit
412ed43
·
verified ·
1 Parent(s): 4a9f4ff

Upload full LoRA folder

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 +58 -0
  2. adapter_config.json +34 -0
  3. adapter_model.safetensors +3 -0
  4. all_results.json +8 -0
  5. checkpoint-100/README.md +202 -0
  6. checkpoint-100/adapter_config.json +34 -0
  7. checkpoint-100/adapter_model.safetensors +3 -0
  8. checkpoint-100/optimizer.pt +3 -0
  9. checkpoint-100/rng_state.pth +3 -0
  10. checkpoint-100/scheduler.pt +3 -0
  11. checkpoint-100/special_tokens_map.json +24 -0
  12. checkpoint-100/tokenizer.json +0 -0
  13. checkpoint-100/tokenizer.model +3 -0
  14. checkpoint-100/tokenizer_config.json +47 -0
  15. checkpoint-100/trainer_state.json +173 -0
  16. checkpoint-100/training_args.bin +3 -0
  17. checkpoint-200/README.md +202 -0
  18. checkpoint-200/adapter_config.json +34 -0
  19. checkpoint-200/adapter_model.safetensors +3 -0
  20. checkpoint-200/optimizer.pt +3 -0
  21. checkpoint-200/rng_state.pth +3 -0
  22. checkpoint-200/scheduler.pt +3 -0
  23. checkpoint-200/special_tokens_map.json +24 -0
  24. checkpoint-200/tokenizer.json +0 -0
  25. checkpoint-200/tokenizer.model +3 -0
  26. checkpoint-200/tokenizer_config.json +47 -0
  27. checkpoint-200/trainer_state.json +313 -0
  28. checkpoint-200/training_args.bin +3 -0
  29. checkpoint-300/README.md +202 -0
  30. checkpoint-300/adapter_config.json +34 -0
  31. checkpoint-300/adapter_model.safetensors +3 -0
  32. checkpoint-300/optimizer.pt +3 -0
  33. checkpoint-300/rng_state.pth +3 -0
  34. checkpoint-300/scheduler.pt +3 -0
  35. checkpoint-300/special_tokens_map.json +24 -0
  36. checkpoint-300/tokenizer.json +0 -0
  37. checkpoint-300/tokenizer.model +3 -0
  38. checkpoint-300/tokenizer_config.json +47 -0
  39. checkpoint-300/trainer_state.json +453 -0
  40. checkpoint-300/training_args.bin +3 -0
  41. checkpoint-306/README.md +202 -0
  42. checkpoint-306/adapter_config.json +34 -0
  43. checkpoint-306/adapter_model.safetensors +3 -0
  44. checkpoint-306/optimizer.pt +3 -0
  45. checkpoint-306/rng_state.pth +3 -0
  46. checkpoint-306/scheduler.pt +3 -0
  47. checkpoint-306/special_tokens_map.json +24 -0
  48. checkpoint-306/tokenizer.json +0 -0
  49. checkpoint-306/tokenizer.model +3 -0
  50. checkpoint-306/tokenizer_config.json +47 -0
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: mistralai/Mistral-7B-Instruct-v0.1
5
+ tags:
6
+ - llama-factory
7
+ - lora
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: Coinbase-OPL
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # Coinbase-OPL
18
+
19
+ This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1) on the 4b364113-ef86-4b80-a3ad-92d16b9f7e96_1_alpaca dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0002
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 16
44
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: cosine
46
+ - num_epochs: 3.0
47
+
48
+ ### Training results
49
+
50
+
51
+
52
+ ### Framework versions
53
+
54
+ - PEFT 0.12.0
55
+ - Transformers 4.49.0
56
+ - Pytorch 2.7.0+cu126
57
+ - Datasets 3.2.0
58
+ - Tokenizers 0.21.0
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.1",
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": 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": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "k_proj",
25
+ "v_proj",
26
+ "q_proj",
27
+ "down_proj",
28
+ "up_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09e4940cc0764390fc204e396a413a2eec0ed6ea0ed42555a6706d20908c3cca
3
+ size 83945296
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.976800976800977,
3
+ "total_flos": 5.308124759536435e+16,
4
+ "train_loss": 0.7306966563455419,
5
+ "train_runtime": 718.532,
6
+ "train_samples_per_second": 6.839,
7
+ "train_steps_per_second": 0.426
8
+ }
checkpoint-100/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.1
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.12.0
checkpoint-100/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.1",
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": 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": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "k_proj",
25
+ "v_proj",
26
+ "q_proj",
27
+ "down_proj",
28
+ "up_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8113e39f8a5f912a4c9ebbb765a8280872aa5ad22f9d9f49e3870ef7b1f970fb
3
+ size 83945296
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9b05fa0482de82de338ac2e66976248f05fd96b7d307eb779c789b4eb53ee5e
3
+ size 168149539
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:088e29874359b6656eb28988e6eebfb01dd9a28fc407f7b2bec87ec7e6676017
3
+ size 14645
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e4d8025fef9985eb3417df8e760c524604c04e9f2e3354d7312244e7b27c664
3
+ size 1465
checkpoint-100/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-100/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-100/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "additional_special_tokens": [],
32
+ "bos_token": "<s>",
33
+ "chat_template": "{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n{%- else %}\n {%- set loop_messages = messages %}\n{%- endif %}\n\n{{- bos_token }}\n{%- for message in loop_messages %}\n {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}\n {{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}\n {%- endif %}\n {%- if message['role'] == 'user' %}\n {%- if loop.first and system_message is defined %}\n {{- ' [INST] ' + system_message + '\\n\\n' + message['content'] + ' [/INST]' }}\n {%- else %}\n {{- ' [INST] ' + message['content'] + ' [/INST]' }}\n {%- endif %}\n {%- elif message['role'] == 'assistant' %}\n {{- ' ' + message['content'] + eos_token}}\n {%- else %}\n {{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}\n {%- endif %}\n{%- endfor %}\n",
34
+ "clean_up_tokenization_spaces": false,
35
+ "eos_token": "</s>",
36
+ "extra_special_tokens": {},
37
+ "legacy": false,
38
+ "model_max_length": 2048,
39
+ "pad_token": "</s>",
40
+ "padding_side": "right",
41
+ "sp_model_kwargs": {},
42
+ "spaces_between_special_tokens": false,
43
+ "split_special_tokens": false,
44
+ "tokenizer_class": "LlamaTokenizer",
45
+ "unk_token": "<unk>",
46
+ "use_default_system_prompt": false
47
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9768009768009768,
5
+ "eval_steps": 500,
6
+ "global_step": 100,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.04884004884004884,
13
+ "grad_norm": 0.8704025745391846,
14
+ "learning_rate": 0.00019986827399037812,
15
+ "loss": 1.278,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.09768009768009768,
20
+ "grad_norm": 0.8027306199073792,
21
+ "learning_rate": 0.00019947344299634464,
22
+ "loss": 1.3067,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.14652014652014653,
27
+ "grad_norm": 0.9125049114227295,
28
+ "learning_rate": 0.00019881654720812594,
29
+ "loss": 1.1604,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.19536019536019536,
34
+ "grad_norm": 0.8446016311645508,
35
+ "learning_rate": 0.00019789931723094046,
36
+ "loss": 1.1119,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.2442002442002442,
41
+ "grad_norm": 0.8679695129394531,
42
+ "learning_rate": 0.00019672416952568416,
43
+ "loss": 1.08,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.29304029304029305,
48
+ "grad_norm": 0.9639546275138855,
49
+ "learning_rate": 0.00019529420004271567,
50
+ "loss": 1.1442,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.3418803418803419,
55
+ "grad_norm": 0.8240556716918945,
56
+ "learning_rate": 0.00019361317606551238,
57
+ "loss": 1.0986,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.3907203907203907,
62
+ "grad_norm": 0.6859893202781677,
63
+ "learning_rate": 0.00019168552628568631,
64
+ "loss": 1.091,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.43956043956043955,
69
+ "grad_norm": 0.6568402647972107,
70
+ "learning_rate": 0.00018951632913550626,
71
+ "loss": 1.0377,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.4884004884004884,
76
+ "grad_norm": 0.8978002667427063,
77
+ "learning_rate": 0.00018711129940866575,
78
+ "loss": 1.0334,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.5372405372405372,
83
+ "grad_norm": 1.0903880596160889,
84
+ "learning_rate": 0.00018447677320454367,
85
+ "loss": 1.1055,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.5860805860805861,
90
+ "grad_norm": 0.7571815848350525,
91
+ "learning_rate": 0.0001816196912356222,
92
+ "loss": 1.0424,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.6349206349206349,
97
+ "grad_norm": 0.9039235711097717,
98
+ "learning_rate": 0.00017854758054203988,
99
+ "loss": 1.0732,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.6837606837606838,
104
+ "grad_norm": 0.8517094254493713,
105
+ "learning_rate": 0.00017526853466145244,
106
+ "loss": 1.0926,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.7326007326007326,
111
+ "grad_norm": 0.9040933847427368,
112
+ "learning_rate": 0.0001717911923064442,
113
+ "loss": 1.0293,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.7814407814407814,
118
+ "grad_norm": 1.0867003202438354,
119
+ "learning_rate": 0.0001681247146056654,
120
+ "loss": 1.0589,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.8302808302808303,
125
+ "grad_norm": 0.7861086130142212,
126
+ "learning_rate": 0.00016427876096865394,
127
+ "loss": 0.9705,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.8791208791208791,
132
+ "grad_norm": 0.8542861938476562,
133
+ "learning_rate": 0.00016026346363792567,
134
+ "loss": 0.9613,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.927960927960928,
139
+ "grad_norm": 0.87472003698349,
140
+ "learning_rate": 0.000156089400995377,
141
+ "loss": 0.9526,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.9768009768009768,
146
+ "grad_norm": 0.9949895143508911,
147
+ "learning_rate": 0.00015176756969332425,
148
+ "loss": 1.0577,
149
+ "step": 100
150
+ }
151
+ ],
152
+ "logging_steps": 5,
153
+ "max_steps": 306,
154
+ "num_input_tokens_seen": 0,
155
+ "num_train_epochs": 3,
156
+ "save_steps": 100,
157
+ "stateful_callbacks": {
158
+ "TrainerControl": {
159
+ "args": {
160
+ "should_epoch_stop": false,
161
+ "should_evaluate": false,
162
+ "should_log": false,
163
+ "should_save": true,
164
+ "should_training_stop": false
165
+ },
166
+ "attributes": {}
167
+ }
168
+ },
169
+ "total_flos": 1.7424687000846336e+16,
170
+ "train_batch_size": 2,
171
+ "trial_name": null,
172
+ "trial_params": null
173
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e63693bd3ae1a0f74593d4cc5df575a3acb4eedd364f3f73d8e8a4cb963639
3
+ size 6097
checkpoint-200/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.1
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.12.0
checkpoint-200/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.1",
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": 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": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "k_proj",
25
+ "v_proj",
26
+ "q_proj",
27
+ "down_proj",
28
+ "up_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-200/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cae4de0e1e5add5f6a51ccdcf2001e3f970cfef7e2c0d8f2106fb3c95ee8b9d
3
+ size 83945296
checkpoint-200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28806bcdea4a2677816fbac0c3779a00d0c1dda681ea71275769d43af24913e5
3
+ size 168149539
checkpoint-200/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55a77e1963a58a6629aaaff2975bd489765883d500726518b7bdc5912a38b2a3
3
+ size 14645
checkpoint-200/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7e906b551ada98a58d5c9d7b428ffdc1877eb0e9a491d00ed8917840bee8453
3
+ size 1465
checkpoint-200/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-200/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-200/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-200/tokenizer_config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "additional_special_tokens": [],
32
+ "bos_token": "<s>",
33
+ "chat_template": "{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n{%- else %}\n {%- set loop_messages = messages %}\n{%- endif %}\n\n{{- bos_token }}\n{%- for message in loop_messages %}\n {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}\n {{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}\n {%- endif %}\n {%- if message['role'] == 'user' %}\n {%- if loop.first and system_message is defined %}\n {{- ' [INST] ' + system_message + '\\n\\n' + message['content'] + ' [/INST]' }}\n {%- else %}\n {{- ' [INST] ' + message['content'] + ' [/INST]' }}\n {%- endif %}\n {%- elif message['role'] == 'assistant' %}\n {{- ' ' + message['content'] + eos_token}}\n {%- else %}\n {{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}\n {%- endif %}\n{%- endfor %}\n",
34
+ "clean_up_tokenization_spaces": false,
35
+ "eos_token": "</s>",
36
+ "extra_special_tokens": {},
37
+ "legacy": false,
38
+ "model_max_length": 2048,
39
+ "pad_token": "</s>",
40
+ "padding_side": "right",
41
+ "sp_model_kwargs": {},
42
+ "spaces_between_special_tokens": false,
43
+ "split_special_tokens": false,
44
+ "tokenizer_class": "LlamaTokenizer",
45
+ "unk_token": "<unk>",
46
+ "use_default_system_prompt": false
47
+ }
checkpoint-200/trainer_state.json ADDED
@@ -0,0 +1,313 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.9474969474969475,
5
+ "eval_steps": 500,
6
+ "global_step": 200,
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.04884004884004884,
13
+ "grad_norm": 0.8704025745391846,
14
+ "learning_rate": 0.00019986827399037812,
15
+ "loss": 1.278,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.09768009768009768,
20
+ "grad_norm": 0.8027306199073792,
21
+ "learning_rate": 0.00019947344299634464,
22
+ "loss": 1.3067,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.14652014652014653,
27
+ "grad_norm": 0.9125049114227295,
28
+ "learning_rate": 0.00019881654720812594,
29
+ "loss": 1.1604,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.19536019536019536,
34
+ "grad_norm": 0.8446016311645508,
35
+ "learning_rate": 0.00019789931723094046,
36
+ "loss": 1.1119,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.2442002442002442,
41
+ "grad_norm": 0.8679695129394531,
42
+ "learning_rate": 0.00019672416952568416,
43
+ "loss": 1.08,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.29304029304029305,
48
+ "grad_norm": 0.9639546275138855,
49
+ "learning_rate": 0.00019529420004271567,
50
+ "loss": 1.1442,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.3418803418803419,
55
+ "grad_norm": 0.8240556716918945,
56
+ "learning_rate": 0.00019361317606551238,
57
+ "loss": 1.0986,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.3907203907203907,
62
+ "grad_norm": 0.6859893202781677,
63
+ "learning_rate": 0.00019168552628568631,
64
+ "loss": 1.091,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.43956043956043955,
69
+ "grad_norm": 0.6568402647972107,
70
+ "learning_rate": 0.00018951632913550626,
71
+ "loss": 1.0377,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.4884004884004884,
76
+ "grad_norm": 0.8978002667427063,
77
+ "learning_rate": 0.00018711129940866575,
78
+ "loss": 1.0334,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.5372405372405372,
83
+ "grad_norm": 1.0903880596160889,
84
+ "learning_rate": 0.00018447677320454367,
85
+ "loss": 1.1055,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.5860805860805861,
90
+ "grad_norm": 0.7571815848350525,
91
+ "learning_rate": 0.0001816196912356222,
92
+ "loss": 1.0424,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.6349206349206349,
97
+ "grad_norm": 0.9039235711097717,
98
+ "learning_rate": 0.00017854758054203988,
99
+ "loss": 1.0732,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.6837606837606838,
104
+ "grad_norm": 0.8517094254493713,
105
+ "learning_rate": 0.00017526853466145244,
106
+ "loss": 1.0926,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.7326007326007326,
111
+ "grad_norm": 0.9040933847427368,
112
+ "learning_rate": 0.0001717911923064442,
113
+ "loss": 1.0293,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.7814407814407814,
118
+ "grad_norm": 1.0867003202438354,
119
+ "learning_rate": 0.0001681247146056654,
120
+ "loss": 1.0589,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.8302808302808303,
125
+ "grad_norm": 0.7861086130142212,
126
+ "learning_rate": 0.00016427876096865394,
127
+ "loss": 0.9705,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.8791208791208791,
132
+ "grad_norm": 0.8542861938476562,
133
+ "learning_rate": 0.00016026346363792567,
134
+ "loss": 0.9613,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.927960927960928,
139
+ "grad_norm": 0.87472003698349,
140
+ "learning_rate": 0.000156089400995377,
141
+ "loss": 0.9526,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.9768009768009768,
146
+ "grad_norm": 0.9949895143508911,
147
+ "learning_rate": 0.00015176756969332425,
148
+ "loss": 1.0577,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 1.0195360195360195,
153
+ "grad_norm": 1.0473015308380127,
154
+ "learning_rate": 0.00014730935568360102,
155
+ "loss": 0.9477,
156
+ "step": 105
157
+ },
158
+ {
159
+ "epoch": 1.0683760683760684,
160
+ "grad_norm": 1.318867802619934,
161
+ "learning_rate": 0.0001427265042210381,
162
+ "loss": 0.7841,
163
+ "step": 110
164
+ },
165
+ {
166
+ "epoch": 1.1172161172161172,
167
+ "grad_norm": 1.3813416957855225,
168
+ "learning_rate": 0.0001380310889203526,
169
+ "loss": 0.7016,
170
+ "step": 115
171
+ },
172
+ {
173
+ "epoch": 1.1660561660561661,
174
+ "grad_norm": 1.2204864025115967,
175
+ "learning_rate": 0.00013323547994796597,
176
+ "loss": 0.7277,
177
+ "step": 120
178
+ },
179
+ {
180
+ "epoch": 1.214896214896215,
181
+ "grad_norm": 0.9304312467575073,
182
+ "learning_rate": 0.0001283523114325511,
183
+ "loss": 0.6668,
184
+ "step": 125
185
+ },
186
+ {
187
+ "epoch": 1.2637362637362637,
188
+ "grad_norm": 1.382764458656311,
189
+ "learning_rate": 0.0001233944481801649,
190
+ "loss": 0.6627,
191
+ "step": 130
192
+ },
193
+ {
194
+ "epoch": 1.3125763125763126,
195
+ "grad_norm": 1.4755507707595825,
196
+ "learning_rate": 0.00011837495178165706,
197
+ "loss": 0.7239,
198
+ "step": 135
199
+ },
200
+ {
201
+ "epoch": 1.3614163614163615,
202
+ "grad_norm": 1.235129475593567,
203
+ "learning_rate": 0.00011330704620164538,
204
+ "loss": 0.7067,
205
+ "step": 140
206
+ },
207
+ {
208
+ "epoch": 1.4102564102564101,
209
+ "grad_norm": 1.1385552883148193,
210
+ "learning_rate": 0.00010820408293971378,
211
+ "loss": 0.6466,
212
+ "step": 145
213
+ },
214
+ {
215
+ "epoch": 1.459096459096459,
216
+ "grad_norm": 1.374949336051941,
217
+ "learning_rate": 0.00010307950585561706,
218
+ "loss": 0.7069,
219
+ "step": 150
220
+ },
221
+ {
222
+ "epoch": 1.507936507936508,
223
+ "grad_norm": 1.3680429458618164,
224
+ "learning_rate": 9.794681575116097e-05,
225
+ "loss": 0.6908,
226
+ "step": 155
227
+ },
228
+ {
229
+ "epoch": 1.5567765567765568,
230
+ "grad_norm": 1.5387816429138184,
231
+ "learning_rate": 9.281953480206725e-05,
232
+ "loss": 0.7049,
233
+ "step": 160
234
+ },
235
+ {
236
+ "epoch": 1.6056166056166057,
237
+ "grad_norm": 1.3777350187301636,
238
+ "learning_rate": 8.77111709335286e-05,
239
+ "loss": 0.6259,
240
+ "step": 165
241
+ },
242
+ {
243
+ "epoch": 1.6544566544566544,
244
+ "grad_norm": 1.4641001224517822,
245
+ "learning_rate": 8.263518223330697e-05,
246
+ "loss": 0.7536,
247
+ "step": 170
248
+ },
249
+ {
250
+ "epoch": 1.7032967032967035,
251
+ "grad_norm": 1.334525465965271,
252
+ "learning_rate": 7.760494149612971e-05,
253
+ "loss": 0.6977,
254
+ "step": 175
255
+ },
256
+ {
257
+ "epoch": 1.7521367521367521,
258
+ "grad_norm": 1.5057116746902466,
259
+ "learning_rate": 7.263370099279172e-05,
260
+ "loss": 0.6645,
261
+ "step": 180
262
+ },
263
+ {
264
+ "epoch": 1.800976800976801,
265
+ "grad_norm": 1.517478585243225,
266
+ "learning_rate": 6.773455755678054e-05,
267
+ "loss": 0.6264,
268
+ "step": 185
269
+ },
270
+ {
271
+ "epoch": 1.84981684981685,
272
+ "grad_norm": 1.4641480445861816,
273
+ "learning_rate": 6.292041808040393e-05,
274
+ "loss": 0.7086,
275
+ "step": 190
276
+ },
277
+ {
278
+ "epoch": 1.8986568986568986,
279
+ "grad_norm": 0.9789106845855713,
280
+ "learning_rate": 5.82039655113217e-05,
281
+ "loss": 0.6297,
282
+ "step": 195
283
+ },
284
+ {
285
+ "epoch": 1.9474969474969475,
286
+ "grad_norm": 1.607702374458313,
287
+ "learning_rate": 5.359762543906368e-05,
288
+ "loss": 0.6865,
289
+ "step": 200
290
+ }
291
+ ],
292
+ "logging_steps": 5,
293
+ "max_steps": 306,
294
+ "num_input_tokens_seen": 0,
295
+ "num_train_epochs": 3,
296
+ "save_steps": 100,
297
+ "stateful_callbacks": {
298
+ "TrainerControl": {
299
+ "args": {
300
+ "should_epoch_stop": false,
301
+ "should_evaluate": false,
302
+ "should_log": false,
303
+ "should_save": true,
304
+ "should_training_stop": false
305
+ },
306
+ "attributes": {}
307
+ }
308
+ },
309
+ "total_flos": 3.49507002236928e+16,
310
+ "train_batch_size": 2,
311
+ "trial_name": null,
312
+ "trial_params": null
313
+ }
checkpoint-200/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e63693bd3ae1a0f74593d4cc5df575a3acb4eedd364f3f73d8e8a4cb963639
3
+ size 6097
checkpoint-300/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.1
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.12.0
checkpoint-300/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.1",
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": 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": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "k_proj",
25
+ "v_proj",
26
+ "q_proj",
27
+ "down_proj",
28
+ "up_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-300/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fca5ad947de4b4dbf65fb13243d79c4c685d2c3277ba846d8e0b26ce4005217e
3
+ size 83945296
checkpoint-300/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68171851bf10086491f3131cc950b4f43620b72d2f405f1a9caffa191f85851f
3
+ size 168149539
checkpoint-300/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2786681f55dd191cb922d368c5f0d6241fb42424cf9ac763263698fa88e568dc
3
+ size 14645
checkpoint-300/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d80ddbe31d7620fbcdd0277d217d9ce321cb6a32d9e9f4e78b4a83af0bc1bbb8
3
+ size 1465
checkpoint-300/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-300/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-300/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-300/tokenizer_config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "additional_special_tokens": [],
32
+ "bos_token": "<s>",
33
+ "chat_template": "{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n{%- else %}\n {%- set loop_messages = messages %}\n{%- endif %}\n\n{{- bos_token }}\n{%- for message in loop_messages %}\n {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}\n {{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}\n {%- endif %}\n {%- if message['role'] == 'user' %}\n {%- if loop.first and system_message is defined %}\n {{- ' [INST] ' + system_message + '\\n\\n' + message['content'] + ' [/INST]' }}\n {%- else %}\n {{- ' [INST] ' + message['content'] + ' [/INST]' }}\n {%- endif %}\n {%- elif message['role'] == 'assistant' %}\n {{- ' ' + message['content'] + eos_token}}\n {%- else %}\n {{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}\n {%- endif %}\n{%- endfor %}\n",
34
+ "clean_up_tokenization_spaces": false,
35
+ "eos_token": "</s>",
36
+ "extra_special_tokens": {},
37
+ "legacy": false,
38
+ "model_max_length": 2048,
39
+ "pad_token": "</s>",
40
+ "padding_side": "right",
41
+ "sp_model_kwargs": {},
42
+ "spaces_between_special_tokens": false,
43
+ "split_special_tokens": false,
44
+ "tokenizer_class": "LlamaTokenizer",
45
+ "unk_token": "<unk>",
46
+ "use_default_system_prompt": false
47
+ }
checkpoint-300/trainer_state.json ADDED
@@ -0,0 +1,453 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.918192918192918,
5
+ "eval_steps": 500,
6
+ "global_step": 300,
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.04884004884004884,
13
+ "grad_norm": 0.8704025745391846,
14
+ "learning_rate": 0.00019986827399037812,
15
+ "loss": 1.278,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.09768009768009768,
20
+ "grad_norm": 0.8027306199073792,
21
+ "learning_rate": 0.00019947344299634464,
22
+ "loss": 1.3067,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.14652014652014653,
27
+ "grad_norm": 0.9125049114227295,
28
+ "learning_rate": 0.00019881654720812594,
29
+ "loss": 1.1604,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.19536019536019536,
34
+ "grad_norm": 0.8446016311645508,
35
+ "learning_rate": 0.00019789931723094046,
36
+ "loss": 1.1119,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.2442002442002442,
41
+ "grad_norm": 0.8679695129394531,
42
+ "learning_rate": 0.00019672416952568416,
43
+ "loss": 1.08,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.29304029304029305,
48
+ "grad_norm": 0.9639546275138855,
49
+ "learning_rate": 0.00019529420004271567,
50
+ "loss": 1.1442,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.3418803418803419,
55
+ "grad_norm": 0.8240556716918945,
56
+ "learning_rate": 0.00019361317606551238,
57
+ "loss": 1.0986,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.3907203907203907,
62
+ "grad_norm": 0.6859893202781677,
63
+ "learning_rate": 0.00019168552628568631,
64
+ "loss": 1.091,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.43956043956043955,
69
+ "grad_norm": 0.6568402647972107,
70
+ "learning_rate": 0.00018951632913550626,
71
+ "loss": 1.0377,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.4884004884004884,
76
+ "grad_norm": 0.8978002667427063,
77
+ "learning_rate": 0.00018711129940866575,
78
+ "loss": 1.0334,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.5372405372405372,
83
+ "grad_norm": 1.0903880596160889,
84
+ "learning_rate": 0.00018447677320454367,
85
+ "loss": 1.1055,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.5860805860805861,
90
+ "grad_norm": 0.7571815848350525,
91
+ "learning_rate": 0.0001816196912356222,
92
+ "loss": 1.0424,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.6349206349206349,
97
+ "grad_norm": 0.9039235711097717,
98
+ "learning_rate": 0.00017854758054203988,
99
+ "loss": 1.0732,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.6837606837606838,
104
+ "grad_norm": 0.8517094254493713,
105
+ "learning_rate": 0.00017526853466145244,
106
+ "loss": 1.0926,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.7326007326007326,
111
+ "grad_norm": 0.9040933847427368,
112
+ "learning_rate": 0.0001717911923064442,
113
+ "loss": 1.0293,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.7814407814407814,
118
+ "grad_norm": 1.0867003202438354,
119
+ "learning_rate": 0.0001681247146056654,
120
+ "loss": 1.0589,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.8302808302808303,
125
+ "grad_norm": 0.7861086130142212,
126
+ "learning_rate": 0.00016427876096865394,
127
+ "loss": 0.9705,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.8791208791208791,
132
+ "grad_norm": 0.8542861938476562,
133
+ "learning_rate": 0.00016026346363792567,
134
+ "loss": 0.9613,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.927960927960928,
139
+ "grad_norm": 0.87472003698349,
140
+ "learning_rate": 0.000156089400995377,
141
+ "loss": 0.9526,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.9768009768009768,
146
+ "grad_norm": 0.9949895143508911,
147
+ "learning_rate": 0.00015176756969332425,
148
+ "loss": 1.0577,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 1.0195360195360195,
153
+ "grad_norm": 1.0473015308380127,
154
+ "learning_rate": 0.00014730935568360102,
155
+ "loss": 0.9477,
156
+ "step": 105
157
+ },
158
+ {
159
+ "epoch": 1.0683760683760684,
160
+ "grad_norm": 1.318867802619934,
161
+ "learning_rate": 0.0001427265042210381,
162
+ "loss": 0.7841,
163
+ "step": 110
164
+ },
165
+ {
166
+ "epoch": 1.1172161172161172,
167
+ "grad_norm": 1.3813416957855225,
168
+ "learning_rate": 0.0001380310889203526,
169
+ "loss": 0.7016,
170
+ "step": 115
171
+ },
172
+ {
173
+ "epoch": 1.1660561660561661,
174
+ "grad_norm": 1.2204864025115967,
175
+ "learning_rate": 0.00013323547994796597,
176
+ "loss": 0.7277,
177
+ "step": 120
178
+ },
179
+ {
180
+ "epoch": 1.214896214896215,
181
+ "grad_norm": 0.9304312467575073,
182
+ "learning_rate": 0.0001283523114325511,
183
+ "loss": 0.6668,
184
+ "step": 125
185
+ },
186
+ {
187
+ "epoch": 1.2637362637362637,
188
+ "grad_norm": 1.382764458656311,
189
+ "learning_rate": 0.0001233944481801649,
190
+ "loss": 0.6627,
191
+ "step": 130
192
+ },
193
+ {
194
+ "epoch": 1.3125763125763126,
195
+ "grad_norm": 1.4755507707595825,
196
+ "learning_rate": 0.00011837495178165706,
197
+ "loss": 0.7239,
198
+ "step": 135
199
+ },
200
+ {
201
+ "epoch": 1.3614163614163615,
202
+ "grad_norm": 1.235129475593567,
203
+ "learning_rate": 0.00011330704620164538,
204
+ "loss": 0.7067,
205
+ "step": 140
206
+ },
207
+ {
208
+ "epoch": 1.4102564102564101,
209
+ "grad_norm": 1.1385552883148193,
210
+ "learning_rate": 0.00010820408293971378,
211
+ "loss": 0.6466,
212
+ "step": 145
213
+ },
214
+ {
215
+ "epoch": 1.459096459096459,
216
+ "grad_norm": 1.374949336051941,
217
+ "learning_rate": 0.00010307950585561706,
218
+ "loss": 0.7069,
219
+ "step": 150
220
+ },
221
+ {
222
+ "epoch": 1.507936507936508,
223
+ "grad_norm": 1.3680429458618164,
224
+ "learning_rate": 9.794681575116097e-05,
225
+ "loss": 0.6908,
226
+ "step": 155
227
+ },
228
+ {
229
+ "epoch": 1.5567765567765568,
230
+ "grad_norm": 1.5387816429138184,
231
+ "learning_rate": 9.281953480206725e-05,
232
+ "loss": 0.7049,
233
+ "step": 160
234
+ },
235
+ {
236
+ "epoch": 1.6056166056166057,
237
+ "grad_norm": 1.3777350187301636,
238
+ "learning_rate": 8.77111709335286e-05,
239
+ "loss": 0.6259,
240
+ "step": 165
241
+ },
242
+ {
243
+ "epoch": 1.6544566544566544,
244
+ "grad_norm": 1.4641001224517822,
245
+ "learning_rate": 8.263518223330697e-05,
246
+ "loss": 0.7536,
247
+ "step": 170
248
+ },
249
+ {
250
+ "epoch": 1.7032967032967035,
251
+ "grad_norm": 1.334525465965271,
252
+ "learning_rate": 7.760494149612971e-05,
253
+ "loss": 0.6977,
254
+ "step": 175
255
+ },
256
+ {
257
+ "epoch": 1.7521367521367521,
258
+ "grad_norm": 1.5057116746902466,
259
+ "learning_rate": 7.263370099279172e-05,
260
+ "loss": 0.6645,
261
+ "step": 180
262
+ },
263
+ {
264
+ "epoch": 1.800976800976801,
265
+ "grad_norm": 1.517478585243225,
266
+ "learning_rate": 6.773455755678054e-05,
267
+ "loss": 0.6264,
268
+ "step": 185
269
+ },
270
+ {
271
+ "epoch": 1.84981684981685,
272
+ "grad_norm": 1.4641480445861816,
273
+ "learning_rate": 6.292041808040393e-05,
274
+ "loss": 0.7086,
275
+ "step": 190
276
+ },
277
+ {
278
+ "epoch": 1.8986568986568986,
279
+ "grad_norm": 0.9789106845855713,
280
+ "learning_rate": 5.82039655113217e-05,
281
+ "loss": 0.6297,
282
+ "step": 195
283
+ },
284
+ {
285
+ "epoch": 1.9474969474969475,
286
+ "grad_norm": 1.607702374458313,
287
+ "learning_rate": 5.359762543906368e-05,
288
+ "loss": 0.6865,
289
+ "step": 200
290
+ },
291
+ {
292
+ "epoch": 1.9963369963369964,
293
+ "grad_norm": 1.4452511072158813,
294
+ "learning_rate": 4.911353335956352e-05,
295
+ "loss": 0.6567,
296
+ "step": 205
297
+ },
298
+ {
299
+ "epoch": 2.039072039072039,
300
+ "grad_norm": 1.3248692750930786,
301
+ "learning_rate": 4.476350270394942e-05,
302
+ "loss": 0.4983,
303
+ "step": 210
304
+ },
305
+ {
306
+ "epoch": 2.087912087912088,
307
+ "grad_norm": 1.4795316457748413,
308
+ "learning_rate": 4.055899371582133e-05,
309
+ "loss": 0.4564,
310
+ "step": 215
311
+ },
312
+ {
313
+ "epoch": 2.1367521367521367,
314
+ "grad_norm": 1.5238746404647827,
315
+ "learning_rate": 3.651108325900773e-05,
316
+ "loss": 0.397,
317
+ "step": 220
318
+ },
319
+ {
320
+ "epoch": 2.185592185592186,
321
+ "grad_norm": 1.5181987285614014,
322
+ "learning_rate": 3.263043563534428e-05,
323
+ "loss": 0.4685,
324
+ "step": 225
325
+ },
326
+ {
327
+ "epoch": 2.2344322344322345,
328
+ "grad_norm": 1.6732962131500244,
329
+ "learning_rate": 2.8927274489355293e-05,
330
+ "loss": 0.4235,
331
+ "step": 230
332
+ },
333
+ {
334
+ "epoch": 2.283272283272283,
335
+ "grad_norm": 1.4956883192062378,
336
+ "learning_rate": 2.541135587385568e-05,
337
+ "loss": 0.4308,
338
+ "step": 235
339
+ },
340
+ {
341
+ "epoch": 2.3321123321123323,
342
+ "grad_norm": 1.635918378829956,
343
+ "learning_rate": 2.2091942547432955e-05,
344
+ "loss": 0.3784,
345
+ "step": 240
346
+ },
347
+ {
348
+ "epoch": 2.380952380952381,
349
+ "grad_norm": 1.434029221534729,
350
+ "learning_rate": 1.8977779571522646e-05,
351
+ "loss": 0.4247,
352
+ "step": 245
353
+ },
354
+ {
355
+ "epoch": 2.42979242979243,
356
+ "grad_norm": 1.5720264911651611,
357
+ "learning_rate": 1.607707127136734e-05,
358
+ "loss": 0.4322,
359
+ "step": 250
360
+ },
361
+ {
362
+ "epoch": 2.4786324786324787,
363
+ "grad_norm": 1.7204139232635498,
364
+ "learning_rate": 1.339745962155613e-05,
365
+ "loss": 0.4205,
366
+ "step": 255
367
+ },
368
+ {
369
+ "epoch": 2.5274725274725274,
370
+ "grad_norm": 1.86961030960083,
371
+ "learning_rate": 1.0946004113088381e-05,
372
+ "loss": 0.3895,
373
+ "step": 260
374
+ },
375
+ {
376
+ "epoch": 2.576312576312576,
377
+ "grad_norm": 1.8931158781051636,
378
+ "learning_rate": 8.729163155001974e-06,
379
+ "loss": 0.4028,
380
+ "step": 265
381
+ },
382
+ {
383
+ "epoch": 2.625152625152625,
384
+ "grad_norm": 1.743199110031128,
385
+ "learning_rate": 6.75277705956443e-06,
386
+ "loss": 0.4123,
387
+ "step": 270
388
+ },
389
+ {
390
+ "epoch": 2.6739926739926743,
391
+ "grad_norm": 1.3287917375564575,
392
+ "learning_rate": 5.0220526558522274e-06,
393
+ "loss": 0.3504,
394
+ "step": 275
395
+ },
396
+ {
397
+ "epoch": 2.722832722832723,
398
+ "grad_norm": 1.753952980041504,
399
+ "learning_rate": 3.541549572254488e-06,
400
+ "loss": 0.3485,
401
+ "step": 280
402
+ },
403
+ {
404
+ "epoch": 2.7716727716727716,
405
+ "grad_norm": 1.628715991973877,
406
+ "learning_rate": 2.315168224039932e-06,
407
+ "loss": 0.4011,
408
+ "step": 285
409
+ },
410
+ {
411
+ "epoch": 2.8205128205128203,
412
+ "grad_norm": 1.4908260107040405,
413
+ "learning_rate": 1.3461395376340502e-06,
414
+ "loss": 0.3763,
415
+ "step": 290
416
+ },
417
+ {
418
+ "epoch": 2.8693528693528694,
419
+ "grad_norm": 1.6381616592407227,
420
+ "learning_rate": 6.370164386782285e-07,
421
+ "loss": 0.4417,
422
+ "step": 295
423
+ },
424
+ {
425
+ "epoch": 2.918192918192918,
426
+ "grad_norm": 1.4152339696884155,
427
+ "learning_rate": 1.8966712629558957e-07,
428
+ "loss": 0.383,
429
+ "step": 300
430
+ }
431
+ ],
432
+ "logging_steps": 5,
433
+ "max_steps": 306,
434
+ "num_input_tokens_seen": 0,
435
+ "num_train_epochs": 3,
436
+ "save_steps": 100,
437
+ "stateful_callbacks": {
438
+ "TrainerControl": {
439
+ "args": {
440
+ "should_epoch_stop": false,
441
+ "should_evaluate": false,
442
+ "should_log": false,
443
+ "should_save": true,
444
+ "should_training_stop": false
445
+ },
446
+ "attributes": {}
447
+ }
448
+ },
449
+ "total_flos": 5.207688565161984e+16,
450
+ "train_batch_size": 2,
451
+ "trial_name": null,
452
+ "trial_params": null
453
+ }
checkpoint-300/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e63693bd3ae1a0f74593d4cc5df575a3acb4eedd364f3f73d8e8a4cb963639
3
+ size 6097
checkpoint-306/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.1
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.12.0
checkpoint-306/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.1",
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": 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": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "k_proj",
25
+ "v_proj",
26
+ "q_proj",
27
+ "down_proj",
28
+ "up_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-306/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09e4940cc0764390fc204e396a413a2eec0ed6ea0ed42555a6706d20908c3cca
3
+ size 83945296
checkpoint-306/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34671e86c647fb48e18d4cef8ee857d85c2fad8734dd9fcb3148f97df3d93b1c
3
+ size 168149539
checkpoint-306/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a55286c548d717fcfcd0683d1b54c4155a50842c139a3ed1395505e6fb0f281
3
+ size 14645
checkpoint-306/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d85e072a49a81cc60861b59c641546e25817800c2c3e4a62a571fd164b98409f
3
+ size 1465
checkpoint-306/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-306/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-306/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-306/tokenizer_config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "additional_special_tokens": [],
32
+ "bos_token": "<s>",
33
+ "chat_template": "{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n{%- else %}\n {%- set loop_messages = messages %}\n{%- endif %}\n\n{{- bos_token }}\n{%- for message in loop_messages %}\n {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}\n {{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}\n {%- endif %}\n {%- if message['role'] == 'user' %}\n {%- if loop.first and system_message is defined %}\n {{- ' [INST] ' + system_message + '\\n\\n' + message['content'] + ' [/INST]' }}\n {%- else %}\n {{- ' [INST] ' + message['content'] + ' [/INST]' }}\n {%- endif %}\n {%- elif message['role'] == 'assistant' %}\n {{- ' ' + message['content'] + eos_token}}\n {%- else %}\n {{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}\n {%- endif %}\n{%- endfor %}\n",
34
+ "clean_up_tokenization_spaces": false,
35
+ "eos_token": "</s>",
36
+ "extra_special_tokens": {},
37
+ "legacy": false,
38
+ "model_max_length": 2048,
39
+ "pad_token": "</s>",
40
+ "padding_side": "right",
41
+ "sp_model_kwargs": {},
42
+ "spaces_between_special_tokens": false,
43
+ "split_special_tokens": false,
44
+ "tokenizer_class": "LlamaTokenizer",
45
+ "unk_token": "<unk>",
46
+ "use_default_system_prompt": false
47
+ }