VERSIL91 commited on
Commit
89f45b2
·
verified ·
1 Parent(s): f62f98a

End of training

Browse files
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/zephyr-sft
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: ba53034e-6d32-456a-8582-80f09fcde818
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<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)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: unsloth/zephyr-sft
23
+ bf16: true
24
+ chat_template: llama3
25
+ data_processes: 16
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - fa96d1d99a0c1392_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/fa96d1d99a0c1392_train_data.json
33
+ type:
34
+ field_instruction: article
35
+ field_output: lead
36
+ format: '{instruction}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: 5
45
+ eval_batch_size: 8
46
+ eval_max_new_tokens: 128
47
+ eval_steps: 25
48
+ eval_table_size: null
49
+ evals_per_epoch: null
50
+ flash_attention: true
51
+ fp16: false
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 4
55
+ gradient_checkpointing: true
56
+ group_by_length: true
57
+ hub_model_id: null
58
+ hub_repo: null
59
+ hub_strategy: checkpoint
60
+ hub_token: null
61
+ learning_rate: 0.0001
62
+ load_in_4bit: false
63
+ load_in_8bit: false
64
+ local_rank: null
65
+ logging_steps: 1
66
+ lora_alpha: 128
67
+ lora_dropout: 0.05
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 64
71
+ lora_target_linear: true
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 1.0
74
+ max_memory:
75
+ 0: 75GB
76
+ max_steps: 50
77
+ micro_batch_size: 8
78
+ mlflow_experiment_name: /tmp/fa96d1d99a0c1392_train_data.json
79
+ model_type: AutoModelForCausalLM
80
+ num_epochs: 1
81
+ optim_args:
82
+ adam_beta1: 0.9
83
+ adam_beta2: 0.95
84
+ adam_epsilon: 1e-5
85
+ optimizer: adamw_bnb_8bit
86
+ output_dir: miner_id_24
87
+ pad_to_sequence_len: true
88
+ resume_from_checkpoint: null
89
+ s2_attention: null
90
+ sample_packing: false
91
+ save_steps: 25
92
+ saves_per_epoch: null
93
+ sequence_len: 512
94
+ strict: false
95
+ tf32: true
96
+ tokenizer_type: AutoTokenizer
97
+ train_on_inputs: false
98
+ trust_remote_code: true
99
+ val_set_size: 0.05
100
+ wandb_entity: null
101
+ wandb_mode: online
102
+ wandb_name: f3b476d4-ee28-4fc3-bffb-3cb3d4410e01
103
+ wandb_project: Gradients-On-Demand
104
+ wandb_run: your_name
105
+ wandb_runid: f3b476d4-ee28-4fc3-bffb-3cb3d4410e01
106
+ warmup_steps: 5
107
+ weight_decay: 0.0
108
+ xformers_attention: null
109
+
110
+ ```
111
+
112
+ </details><br>
113
+
114
+ # ba53034e-6d32-456a-8582-80f09fcde818
115
+
116
+ This model is a fine-tuned version of [unsloth/zephyr-sft](https://huggingface.co/unsloth/zephyr-sft) on the None dataset.
117
+ It achieves the following results on the evaluation set:
118
+ - Loss: 0.6597
119
+
120
+ ## Model description
121
+
122
+ More information needed
123
+
124
+ ## Intended uses & limitations
125
+
126
+ More information needed
127
+
128
+ ## Training and evaluation data
129
+
130
+ More information needed
131
+
132
+ ## Training procedure
133
+
134
+ ### Training hyperparameters
135
+
136
+ The following hyperparameters were used during training:
137
+ - learning_rate: 0.0001
138
+ - train_batch_size: 8
139
+ - eval_batch_size: 8
140
+ - seed: 42
141
+ - gradient_accumulation_steps: 4
142
+ - total_train_batch_size: 32
143
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
144
+ - lr_scheduler_type: cosine
145
+ - lr_scheduler_warmup_steps: 5
146
+ - training_steps: 50
147
+
148
+ ### Training results
149
+
150
+ | Training Loss | Epoch | Step | Validation Loss |
151
+ |:-------------:|:------:|:----:|:---------------:|
152
+ | 2.6599 | 0.0004 | 1 | 1.2003 |
153
+ | 2.3261 | 0.0099 | 25 | 0.6671 |
154
+ | 3.5126 | 0.0198 | 50 | 0.6597 |
155
+
156
+
157
+ ### Framework versions
158
+
159
+ - PEFT 0.13.2
160
+ - Transformers 4.46.0
161
+ - Pytorch 2.5.0+cu124
162
+ - Datasets 3.0.1
163
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/zephyr-sft",
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": 128,
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": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "down_proj",
25
+ "gate_proj",
26
+ "q_proj",
27
+ "up_proj",
28
+ "v_proj",
29
+ "k_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:360ce1146cae4a58d53e1d2026f3dea8c956abb2388df4f17839ddf2365e22d4
3
+ size 671250634
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfb8ccccfc230d6a511d22df5a2b72e8dd412ed82a8c6a24d1688f2c3c1957bf
3
+ size 671149168
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "unsloth/zephyr-sft",
4
+ "architectures": [
5
+ "MistralForCausalLM"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 32768,
16
+ "model_type": "mistral",
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 32,
19
+ "num_key_value_heads": 8,
20
+ "pad_token_id": 0,
21
+ "rms_norm_eps": 1e-05,
22
+ "rope_theta": 10000.0,
23
+ "sliding_window": 4096,
24
+ "tie_word_embeddings": false,
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.46.0",
27
+ "unsloth_version": "2024.9",
28
+ "use_cache": false,
29
+ "vocab_size": 32000
30
+ }
last-checkpoint/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/zephyr-sft
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.13.2
last-checkpoint/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/zephyr-sft",
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": 128,
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": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "down_proj",
25
+ "gate_proj",
26
+ "q_proj",
27
+ "up_proj",
28
+ "v_proj",
29
+ "k_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
last-checkpoint/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfb8ccccfc230d6a511d22df5a2b72e8dd412ed82a8c6a24d1688f2c3c1957bf
3
+ size 671149168
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:771754dbb117e3d7e9a1c3319463225820330403b2a178afeff419356c334e3b
3
+ size 341314196
last-checkpoint/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c02f6fcbec44fad49149f2bd77ed83553ef9d96496188e4168cbdfe5ead7f43
3
+ size 14244
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1df0528620c07325b8faa7567e59b0c1e86a1f1ee6af1245a69c6c0463fe4e2
3
+ size 1064
last-checkpoint/special_tokens_map.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<s>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": {
22
+ "content": "<unk>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ },
28
+ "unk_token": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ }
35
+ }
last-checkpoint/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
last-checkpoint/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
last-checkpoint/tokenizer_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "<unk>",
33
+ "<s>",
34
+ "</s>"
35
+ ],
36
+ "bos_token": "<s>",
37
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
38
+ "clean_up_tokenization_spaces": false,
39
+ "eos_token": "</s>",
40
+ "legacy": true,
41
+ "model_max_length": 1000000000000000019884624838656,
42
+ "pad_token": "<unk>",
43
+ "padding_side": "left",
44
+ "sp_model_kwargs": {},
45
+ "spaces_between_special_tokens": false,
46
+ "tokenizer_class": "LlamaTokenizer",
47
+ "truncation_side": "left",
48
+ "unk_token": "<unk>",
49
+ "use_default_system_prompt": true
50
+ }
last-checkpoint/trainer_state.json ADDED
@@ -0,0 +1,416 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6597008109092712,
3
+ "best_model_checkpoint": "miner_id_24/checkpoint-50",
4
+ "epoch": 0.019807863721897592,
5
+ "eval_steps": 25,
6
+ "global_step": 50,
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.00039615727443795186,
13
+ "grad_norm": 15.38939380645752,
14
+ "learning_rate": 2e-05,
15
+ "loss": 2.6599,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.00039615727443795186,
20
+ "eval_loss": 1.200274109840393,
21
+ "eval_runtime": 154.9972,
22
+ "eval_samples_per_second": 27.433,
23
+ "eval_steps_per_second": 3.432,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 0.0007923145488759037,
28
+ "grad_norm": 16.734960556030273,
29
+ "learning_rate": 4e-05,
30
+ "loss": 3.396,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 0.0011884718233138556,
35
+ "grad_norm": 15.702166557312012,
36
+ "learning_rate": 6e-05,
37
+ "loss": 2.8498,
38
+ "step": 3
39
+ },
40
+ {
41
+ "epoch": 0.0015846290977518075,
42
+ "grad_norm": 13.420672416687012,
43
+ "learning_rate": 8e-05,
44
+ "loss": 2.7706,
45
+ "step": 4
46
+ },
47
+ {
48
+ "epoch": 0.0019807863721897595,
49
+ "grad_norm": 9.73044490814209,
50
+ "learning_rate": 0.0001,
51
+ "loss": 2.5057,
52
+ "step": 5
53
+ },
54
+ {
55
+ "epoch": 0.0023769436466277113,
56
+ "grad_norm": 11.664520263671875,
57
+ "learning_rate": 9.987820251299122e-05,
58
+ "loss": 2.7975,
59
+ "step": 6
60
+ },
61
+ {
62
+ "epoch": 0.002773100921065663,
63
+ "grad_norm": 8.877344131469727,
64
+ "learning_rate": 9.951340343707852e-05,
65
+ "loss": 2.5462,
66
+ "step": 7
67
+ },
68
+ {
69
+ "epoch": 0.003169258195503615,
70
+ "grad_norm": 9.045130729675293,
71
+ "learning_rate": 9.890738003669029e-05,
72
+ "loss": 2.6158,
73
+ "step": 8
74
+ },
75
+ {
76
+ "epoch": 0.0035654154699415667,
77
+ "grad_norm": 9.858509063720703,
78
+ "learning_rate": 9.806308479691595e-05,
79
+ "loss": 2.8669,
80
+ "step": 9
81
+ },
82
+ {
83
+ "epoch": 0.003961572744379519,
84
+ "grad_norm": 8.872286796569824,
85
+ "learning_rate": 9.698463103929542e-05,
86
+ "loss": 2.516,
87
+ "step": 10
88
+ },
89
+ {
90
+ "epoch": 0.004357730018817471,
91
+ "grad_norm": 9.686171531677246,
92
+ "learning_rate": 9.567727288213005e-05,
93
+ "loss": 2.5248,
94
+ "step": 11
95
+ },
96
+ {
97
+ "epoch": 0.004753887293255423,
98
+ "grad_norm": 10.663348197937012,
99
+ "learning_rate": 9.414737964294636e-05,
100
+ "loss": 3.0213,
101
+ "step": 12
102
+ },
103
+ {
104
+ "epoch": 0.005150044567693374,
105
+ "grad_norm": 9.221182823181152,
106
+ "learning_rate": 9.24024048078213e-05,
107
+ "loss": 2.4556,
108
+ "step": 13
109
+ },
110
+ {
111
+ "epoch": 0.005546201842131326,
112
+ "grad_norm": 9.011594772338867,
113
+ "learning_rate": 9.045084971874738e-05,
114
+ "loss": 2.2169,
115
+ "step": 14
116
+ },
117
+ {
118
+ "epoch": 0.005942359116569278,
119
+ "grad_norm": 9.134177207946777,
120
+ "learning_rate": 8.83022221559489e-05,
121
+ "loss": 2.6884,
122
+ "step": 15
123
+ },
124
+ {
125
+ "epoch": 0.00633851639100723,
126
+ "grad_norm": 8.743730545043945,
127
+ "learning_rate": 8.596699001693255e-05,
128
+ "loss": 2.4097,
129
+ "step": 16
130
+ },
131
+ {
132
+ "epoch": 0.006734673665445182,
133
+ "grad_norm": 9.52989673614502,
134
+ "learning_rate": 8.345653031794292e-05,
135
+ "loss": 2.7904,
136
+ "step": 17
137
+ },
138
+ {
139
+ "epoch": 0.0071308309398831335,
140
+ "grad_norm": 9.70661735534668,
141
+ "learning_rate": 8.07830737662829e-05,
142
+ "loss": 2.4424,
143
+ "step": 18
144
+ },
145
+ {
146
+ "epoch": 0.007526988214321085,
147
+ "grad_norm": 10.09250259399414,
148
+ "learning_rate": 7.795964517353735e-05,
149
+ "loss": 2.436,
150
+ "step": 19
151
+ },
152
+ {
153
+ "epoch": 0.007923145488759038,
154
+ "grad_norm": 8.261049270629883,
155
+ "learning_rate": 7.500000000000001e-05,
156
+ "loss": 2.318,
157
+ "step": 20
158
+ },
159
+ {
160
+ "epoch": 0.008319302763196989,
161
+ "grad_norm": 9.031270027160645,
162
+ "learning_rate": 7.191855733945387e-05,
163
+ "loss": 2.4178,
164
+ "step": 21
165
+ },
166
+ {
167
+ "epoch": 0.008715460037634942,
168
+ "grad_norm": 12.21824836730957,
169
+ "learning_rate": 6.873032967079561e-05,
170
+ "loss": 2.7133,
171
+ "step": 22
172
+ },
173
+ {
174
+ "epoch": 0.009111617312072893,
175
+ "grad_norm": 10.730268478393555,
176
+ "learning_rate": 6.545084971874738e-05,
177
+ "loss": 2.6344,
178
+ "step": 23
179
+ },
180
+ {
181
+ "epoch": 0.009507774586510845,
182
+ "grad_norm": 9.152085304260254,
183
+ "learning_rate": 6.209609477998338e-05,
184
+ "loss": 2.3463,
185
+ "step": 24
186
+ },
187
+ {
188
+ "epoch": 0.009903931860948796,
189
+ "grad_norm": 9.404061317443848,
190
+ "learning_rate": 5.868240888334653e-05,
191
+ "loss": 2.3261,
192
+ "step": 25
193
+ },
194
+ {
195
+ "epoch": 0.009903931860948796,
196
+ "eval_loss": 0.6671332120895386,
197
+ "eval_runtime": 156.6633,
198
+ "eval_samples_per_second": 27.141,
199
+ "eval_steps_per_second": 3.396,
200
+ "step": 25
201
+ },
202
+ {
203
+ "epoch": 0.010300089135386749,
204
+ "grad_norm": 12.529690742492676,
205
+ "learning_rate": 5.522642316338268e-05,
206
+ "loss": 2.8625,
207
+ "step": 26
208
+ },
209
+ {
210
+ "epoch": 0.0106962464098247,
211
+ "grad_norm": 10.027824401855469,
212
+ "learning_rate": 5.174497483512506e-05,
213
+ "loss": 2.5588,
214
+ "step": 27
215
+ },
216
+ {
217
+ "epoch": 0.011092403684262652,
218
+ "grad_norm": 10.082047462463379,
219
+ "learning_rate": 4.825502516487497e-05,
220
+ "loss": 2.4771,
221
+ "step": 28
222
+ },
223
+ {
224
+ "epoch": 0.011488560958700603,
225
+ "grad_norm": 11.15814208984375,
226
+ "learning_rate": 4.477357683661734e-05,
227
+ "loss": 2.4113,
228
+ "step": 29
229
+ },
230
+ {
231
+ "epoch": 0.011884718233138556,
232
+ "grad_norm": 10.759804725646973,
233
+ "learning_rate": 4.131759111665349e-05,
234
+ "loss": 2.8421,
235
+ "step": 30
236
+ },
237
+ {
238
+ "epoch": 0.012280875507576509,
239
+ "grad_norm": 10.599135398864746,
240
+ "learning_rate": 3.790390522001662e-05,
241
+ "loss": 2.6885,
242
+ "step": 31
243
+ },
244
+ {
245
+ "epoch": 0.01267703278201446,
246
+ "grad_norm": 11.816875457763672,
247
+ "learning_rate": 3.4549150281252636e-05,
248
+ "loss": 3.0024,
249
+ "step": 32
250
+ },
251
+ {
252
+ "epoch": 0.013073190056452412,
253
+ "grad_norm": 10.234508514404297,
254
+ "learning_rate": 3.12696703292044e-05,
255
+ "loss": 2.0345,
256
+ "step": 33
257
+ },
258
+ {
259
+ "epoch": 0.013469347330890363,
260
+ "grad_norm": 12.437875747680664,
261
+ "learning_rate": 2.8081442660546125e-05,
262
+ "loss": 2.7898,
263
+ "step": 34
264
+ },
265
+ {
266
+ "epoch": 0.013865504605328316,
267
+ "grad_norm": 10.455293655395508,
268
+ "learning_rate": 2.500000000000001e-05,
269
+ "loss": 2.2859,
270
+ "step": 35
271
+ },
272
+ {
273
+ "epoch": 0.014261661879766267,
274
+ "grad_norm": 10.511425971984863,
275
+ "learning_rate": 2.2040354826462668e-05,
276
+ "loss": 2.2994,
277
+ "step": 36
278
+ },
279
+ {
280
+ "epoch": 0.01465781915420422,
281
+ "grad_norm": 11.496809959411621,
282
+ "learning_rate": 1.9216926233717085e-05,
283
+ "loss": 2.7418,
284
+ "step": 37
285
+ },
286
+ {
287
+ "epoch": 0.01505397642864217,
288
+ "grad_norm": 13.628725051879883,
289
+ "learning_rate": 1.6543469682057106e-05,
290
+ "loss": 3.0457,
291
+ "step": 38
292
+ },
293
+ {
294
+ "epoch": 0.015450133703080123,
295
+ "grad_norm": 13.12936782836914,
296
+ "learning_rate": 1.4033009983067452e-05,
297
+ "loss": 2.5216,
298
+ "step": 39
299
+ },
300
+ {
301
+ "epoch": 0.015846290977518076,
302
+ "grad_norm": 10.766741752624512,
303
+ "learning_rate": 1.1697777844051105e-05,
304
+ "loss": 2.3881,
305
+ "step": 40
306
+ },
307
+ {
308
+ "epoch": 0.016242448251956025,
309
+ "grad_norm": 15.045173645019531,
310
+ "learning_rate": 9.549150281252633e-06,
311
+ "loss": 3.1368,
312
+ "step": 41
313
+ },
314
+ {
315
+ "epoch": 0.016638605526393978,
316
+ "grad_norm": 10.670278549194336,
317
+ "learning_rate": 7.597595192178702e-06,
318
+ "loss": 2.4484,
319
+ "step": 42
320
+ },
321
+ {
322
+ "epoch": 0.01703476280083193,
323
+ "grad_norm": 14.797165870666504,
324
+ "learning_rate": 5.852620357053651e-06,
325
+ "loss": 3.4172,
326
+ "step": 43
327
+ },
328
+ {
329
+ "epoch": 0.017430920075269883,
330
+ "grad_norm": 12.900824546813965,
331
+ "learning_rate": 4.322727117869951e-06,
332
+ "loss": 2.7403,
333
+ "step": 44
334
+ },
335
+ {
336
+ "epoch": 0.017827077349707832,
337
+ "grad_norm": 12.451089859008789,
338
+ "learning_rate": 3.0153689607045845e-06,
339
+ "loss": 3.1842,
340
+ "step": 45
341
+ },
342
+ {
343
+ "epoch": 0.018223234624145785,
344
+ "grad_norm": 14.523232460021973,
345
+ "learning_rate": 1.9369152030840556e-06,
346
+ "loss": 3.4595,
347
+ "step": 46
348
+ },
349
+ {
350
+ "epoch": 0.018619391898583738,
351
+ "grad_norm": 12.919535636901855,
352
+ "learning_rate": 1.0926199633097157e-06,
353
+ "loss": 3.0023,
354
+ "step": 47
355
+ },
356
+ {
357
+ "epoch": 0.01901554917302169,
358
+ "grad_norm": 13.515146255493164,
359
+ "learning_rate": 4.865965629214819e-07,
360
+ "loss": 2.8616,
361
+ "step": 48
362
+ },
363
+ {
364
+ "epoch": 0.019411706447459643,
365
+ "grad_norm": 13.035895347595215,
366
+ "learning_rate": 1.2179748700879012e-07,
367
+ "loss": 2.3172,
368
+ "step": 49
369
+ },
370
+ {
371
+ "epoch": 0.019807863721897592,
372
+ "grad_norm": 19.37661361694336,
373
+ "learning_rate": 0.0,
374
+ "loss": 3.5126,
375
+ "step": 50
376
+ },
377
+ {
378
+ "epoch": 0.019807863721897592,
379
+ "eval_loss": 0.6597008109092712,
380
+ "eval_runtime": 156.6523,
381
+ "eval_samples_per_second": 27.143,
382
+ "eval_steps_per_second": 3.396,
383
+ "step": 50
384
+ }
385
+ ],
386
+ "logging_steps": 1,
387
+ "max_steps": 50,
388
+ "num_input_tokens_seen": 0,
389
+ "num_train_epochs": 1,
390
+ "save_steps": 25,
391
+ "stateful_callbacks": {
392
+ "EarlyStoppingCallback": {
393
+ "args": {
394
+ "early_stopping_patience": 5,
395
+ "early_stopping_threshold": 0.0
396
+ },
397
+ "attributes": {
398
+ "early_stopping_patience_counter": 0
399
+ }
400
+ },
401
+ "TrainerControl": {
402
+ "args": {
403
+ "should_epoch_stop": false,
404
+ "should_evaluate": false,
405
+ "should_log": false,
406
+ "should_save": true,
407
+ "should_training_stop": true
408
+ },
409
+ "attributes": {}
410
+ }
411
+ },
412
+ "total_flos": 3.5953824975814656e+16,
413
+ "train_batch_size": 8,
414
+ "trial_name": null,
415
+ "trial_params": null
416
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51cdb209365988e5a86e5cc74573e4f2fb46ada332d8ddf9cb18285278fa5eec
3
+ size 6840
special_tokens_map.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<s>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": {
22
+ "content": "<unk>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ },
28
+ "unk_token": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ }
35
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "<unk>",
33
+ "<s>",
34
+ "</s>"
35
+ ],
36
+ "bos_token": "<s>",
37
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
38
+ "clean_up_tokenization_spaces": false,
39
+ "eos_token": "</s>",
40
+ "legacy": true,
41
+ "model_max_length": 1000000000000000019884624838656,
42
+ "pad_token": "<unk>",
43
+ "padding_side": "left",
44
+ "sp_model_kwargs": {},
45
+ "spaces_between_special_tokens": false,
46
+ "tokenizer_class": "LlamaTokenizer",
47
+ "truncation_side": "left",
48
+ "unk_token": "<unk>",
49
+ "use_default_system_prompt": true
50
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51cdb209365988e5a86e5cc74573e4f2fb46ada332d8ddf9cb18285278fa5eec
3
+ size 6840