TracyTank commited on
Commit
5870c05
1 Parent(s): 9d6c325

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/Yarn-Llama-2-13b-64k
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 62720bd2-5fc2-42cf-9d63-232986b215d6
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.1`
19
+ ```yaml
20
+ adapter: lora
21
+ base_model: NousResearch/Yarn-Llama-2-13b-64k
22
+ bf16: auto
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - a65657e24ab10169_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/a65657e24ab10169_train_data.json
31
+ type:
32
+ field_input: text
33
+ field_instruction: title
34
+ field_output: category
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ device: cuda
42
+ early_stopping_patience: null
43
+ eval_max_new_tokens: 128
44
+ eval_table_size: null
45
+ evals_per_epoch: 4
46
+ flash_attention: false
47
+ fp16: null
48
+ gradient_accumulation_steps: 4
49
+ gradient_checkpointing: false
50
+ group_by_length: false
51
+ hub_model_id: sn56b2/62720bd2-5fc2-42cf-9d63-232986b215d6
52
+ hub_repo: null
53
+ hub_strategy: checkpoint
54
+ hub_token: null
55
+ learning_rate: 0.0001
56
+ load_in_4bit: false
57
+ load_in_8bit: false
58
+ local_rank: null
59
+ logging_steps: 1
60
+ lora_alpha: 16
61
+ lora_dropout: 0.05
62
+ lora_fan_in_fan_out: null
63
+ lora_model_dir: null
64
+ lora_r: 8
65
+ lora_target_linear: true
66
+ lr_scheduler: cosine
67
+ max_memory:
68
+ 0: 75GiB
69
+ max_steps: 25
70
+ micro_batch_size: 2
71
+ mlflow_experiment_name: /tmp/a65657e24ab10169_train_data.json
72
+ model_type: AutoModelForCausalLM
73
+ num_epochs: 3
74
+ optimizer: adamw_torch
75
+ output_dir: miner_id_24
76
+ pad_to_sequence_len: true
77
+ resume_from_checkpoint: null
78
+ s2_attention: null
79
+ sample_packing: false
80
+ save_steps: 5
81
+ sequence_len: 1024
82
+ strict: false
83
+ tf32: false
84
+ tokenizer_type: AutoTokenizer
85
+ train_on_inputs: false
86
+ trust_remote_code: true
87
+ val_set_size: 0.05
88
+ wandb_entity: sn56-miner
89
+ wandb_mode: disabled
90
+ wandb_name: 62720bd2-5fc2-42cf-9d63-232986b215d6
91
+ wandb_project: god
92
+ wandb_run: 62720bd2-5fc2-42cf-9d63-232986b215d6
93
+ wandb_runid: 62720bd2-5fc2-42cf-9d63-232986b215d6
94
+ warmup_steps: 5
95
+ weight_decay: 0.1
96
+ xformers_attention: true
97
+
98
+ ```
99
+
100
+ </details><br>
101
+
102
+ # 62720bd2-5fc2-42cf-9d63-232986b215d6
103
+
104
+ This model is a fine-tuned version of [NousResearch/Yarn-Llama-2-13b-64k](https://huggingface.co/NousResearch/Yarn-Llama-2-13b-64k) on the None dataset.
105
+ It achieves the following results on the evaluation set:
106
+ - Loss: 3.5460
107
+
108
+ ## Model description
109
+
110
+ More information needed
111
+
112
+ ## Intended uses & limitations
113
+
114
+ More information needed
115
+
116
+ ## Training and evaluation data
117
+
118
+ More information needed
119
+
120
+ ## Training procedure
121
+
122
+ ### Training hyperparameters
123
+
124
+ The following hyperparameters were used during training:
125
+ - learning_rate: 0.0001
126
+ - train_batch_size: 2
127
+ - eval_batch_size: 2
128
+ - seed: 42
129
+ - gradient_accumulation_steps: 4
130
+ - total_train_batch_size: 8
131
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
132
+ - lr_scheduler_type: cosine
133
+ - lr_scheduler_warmup_steps: 5
134
+ - training_steps: 25
135
+
136
+ ### Training results
137
+
138
+ | Training Loss | Epoch | Step | Validation Loss |
139
+ |:-------------:|:------:|:----:|:---------------:|
140
+ | 29.9648 | 0.0001 | 1 | 8.5247 |
141
+ | 29.0882 | 0.0002 | 3 | 8.5071 |
142
+ | 26.2052 | 0.0003 | 6 | 8.2005 |
143
+ | 29.4909 | 0.0005 | 9 | 6.9785 |
144
+ | 21.833 | 0.0006 | 12 | 5.5870 |
145
+ | 13.4687 | 0.0008 | 15 | 4.6250 |
146
+ | 19.2738 | 0.0009 | 18 | 3.9614 |
147
+ | 17.1181 | 0.0011 | 21 | 3.6350 |
148
+ | 9.9624 | 0.0012 | 24 | 3.5460 |
149
+
150
+
151
+ ### Framework versions
152
+
153
+ - PEFT 0.13.2
154
+ - Transformers 4.46.0
155
+ - Pytorch 2.5.0+cu124
156
+ - Datasets 3.0.1
157
+ - 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": "NousResearch/Yarn-Llama-2-13b-64k",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "k_proj",
24
+ "o_proj",
25
+ "down_proj",
26
+ "q_proj",
27
+ "up_proj",
28
+ "gate_proj",
29
+ "v_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:56360e8fbd4a130220197a69174e6513c595fb6d00c09b7248917fa999a2ab8f
3
+ size 125375434
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:891fbe8c868313d618adf2062499c8186267b83564c6e743aa94960c5dc5ae00
3
+ size 125248064
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "NousResearch/Yarn-Llama-2-13b-64k",
4
+ "architectures": [
5
+ "LlamaForCausalLM"
6
+ ],
7
+ "auto_map": {
8
+ "AutoConfig": "NousResearch/Yarn-Llama-2-13b-64k--configuration_llama.LlamaConfig",
9
+ "AutoModelForCausalLM": "NousResearch/Yarn-Llama-2-13b-64k--modeling_llama_together_yarn.LlamaForCausalLM"
10
+ },
11
+ "bos_token_id": 1,
12
+ "eos_token_id": 2,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 5120,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 13824,
17
+ "max_position_embeddings": 65536,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 40,
20
+ "num_hidden_layers": 40,
21
+ "num_key_value_heads": 40,
22
+ "pad_token_id": 0,
23
+ "pretraining_tp": 1,
24
+ "rms_norm_eps": 1e-05,
25
+ "rope_scaling": {
26
+ "factor": 16.0,
27
+ "finetuned": true,
28
+ "original_max_position_embeddings": 4096,
29
+ "type": "yarn"
30
+ },
31
+ "tie_word_embeddings": false,
32
+ "torch_dtype": "bfloat16",
33
+ "transformers_version": "4.46.0",
34
+ "use_cache": false,
35
+ "use_flash_attention": false,
36
+ "vocab_size": 32000
37
+ }
last-checkpoint/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: NousResearch/Yarn-Llama-2-13b-64k
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": "NousResearch/Yarn-Llama-2-13b-64k",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "k_proj",
24
+ "o_proj",
25
+ "down_proj",
26
+ "q_proj",
27
+ "up_proj",
28
+ "gate_proj",
29
+ "v_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:891fbe8c868313d618adf2062499c8186267b83564c6e743aa94960c5dc5ae00
3
+ size 125248064
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0180944b694840c99825a4fd955e822af10b07ad66eb33b67ba066a130786126
3
+ size 250819170
last-checkpoint/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d3595217bebe3e5386f8b29e238d4a215ea8ad544e4be916ff8986e8f2877be
3
+ size 14244
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4677d15317405bcdd600dfdae9d04715d81517a0dbc7789a073149e371184d8c
3
+ size 1064
last-checkpoint/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
last-checkpoint/tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "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 %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "legacy": false,
36
+ "model_max_length": 1000000000000000019884624838656,
37
+ "pad_token": "<unk>",
38
+ "sp_model_kwargs": {},
39
+ "spaces_between_special_tokens": false,
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }
last-checkpoint/trainer_state.json ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.0012675556456928458,
5
+ "eval_steps": 3,
6
+ "global_step": 25,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 5.070222582771384e-05,
13
+ "grad_norm": 16.734760284423828,
14
+ "learning_rate": 2e-05,
15
+ "loss": 29.9648,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 5.070222582771384e-05,
20
+ "eval_loss": 8.524748802185059,
21
+ "eval_runtime": 1510.4845,
22
+ "eval_samples_per_second": 5.498,
23
+ "eval_steps_per_second": 2.749,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 0.00010140445165542768,
28
+ "grad_norm": 14.790090560913086,
29
+ "learning_rate": 4e-05,
30
+ "loss": 33.7103,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 0.0001521066774831415,
35
+ "grad_norm": 14.030793190002441,
36
+ "learning_rate": 6e-05,
37
+ "loss": 29.0882,
38
+ "step": 3
39
+ },
40
+ {
41
+ "epoch": 0.0001521066774831415,
42
+ "eval_loss": 8.50710391998291,
43
+ "eval_runtime": 1519.8925,
44
+ "eval_samples_per_second": 5.464,
45
+ "eval_steps_per_second": 2.732,
46
+ "step": 3
47
+ },
48
+ {
49
+ "epoch": 0.00020280890331085536,
50
+ "grad_norm": 12.610204696655273,
51
+ "learning_rate": 8e-05,
52
+ "loss": 28.2266,
53
+ "step": 4
54
+ },
55
+ {
56
+ "epoch": 0.0002535111291385692,
57
+ "grad_norm": 16.985925674438477,
58
+ "learning_rate": 0.0001,
59
+ "loss": 35.9331,
60
+ "step": 5
61
+ },
62
+ {
63
+ "epoch": 0.000304213354966283,
64
+ "grad_norm": 12.154075622558594,
65
+ "learning_rate": 9.938441702975689e-05,
66
+ "loss": 26.2052,
67
+ "step": 6
68
+ },
69
+ {
70
+ "epoch": 0.000304213354966283,
71
+ "eval_loss": 8.200469017028809,
72
+ "eval_runtime": 1521.6515,
73
+ "eval_samples_per_second": 5.458,
74
+ "eval_steps_per_second": 2.729,
75
+ "step": 6
76
+ },
77
+ {
78
+ "epoch": 0.00035491558079399685,
79
+ "grad_norm": 25.15923500061035,
80
+ "learning_rate": 9.755282581475769e-05,
81
+ "loss": 41.4569,
82
+ "step": 7
83
+ },
84
+ {
85
+ "epoch": 0.0004056178066217107,
86
+ "grad_norm": 21.290430068969727,
87
+ "learning_rate": 9.45503262094184e-05,
88
+ "loss": 26.694,
89
+ "step": 8
90
+ },
91
+ {
92
+ "epoch": 0.0004563200324494245,
93
+ "grad_norm": 23.049171447753906,
94
+ "learning_rate": 9.045084971874738e-05,
95
+ "loss": 29.4909,
96
+ "step": 9
97
+ },
98
+ {
99
+ "epoch": 0.0004563200324494245,
100
+ "eval_loss": 6.978517055511475,
101
+ "eval_runtime": 1521.0316,
102
+ "eval_samples_per_second": 5.46,
103
+ "eval_steps_per_second": 2.73,
104
+ "step": 9
105
+ },
106
+ {
107
+ "epoch": 0.0005070222582771384,
108
+ "grad_norm": 26.38067054748535,
109
+ "learning_rate": 8.535533905932738e-05,
110
+ "loss": 34.6105,
111
+ "step": 10
112
+ },
113
+ {
114
+ "epoch": 0.0005577244841048522,
115
+ "grad_norm": 24.686254501342773,
116
+ "learning_rate": 7.938926261462366e-05,
117
+ "loss": 23.0639,
118
+ "step": 11
119
+ },
120
+ {
121
+ "epoch": 0.000608426709932566,
122
+ "grad_norm": 22.281373977661133,
123
+ "learning_rate": 7.269952498697734e-05,
124
+ "loss": 21.833,
125
+ "step": 12
126
+ },
127
+ {
128
+ "epoch": 0.000608426709932566,
129
+ "eval_loss": 5.586967945098877,
130
+ "eval_runtime": 1519.8132,
131
+ "eval_samples_per_second": 5.464,
132
+ "eval_steps_per_second": 2.733,
133
+ "step": 12
134
+ },
135
+ {
136
+ "epoch": 0.0006591289357602798,
137
+ "grad_norm": 164.1787567138672,
138
+ "learning_rate": 6.545084971874738e-05,
139
+ "loss": 20.3158,
140
+ "step": 13
141
+ },
142
+ {
143
+ "epoch": 0.0007098311615879937,
144
+ "grad_norm": 23.327159881591797,
145
+ "learning_rate": 5.782172325201155e-05,
146
+ "loss": 21.234,
147
+ "step": 14
148
+ },
149
+ {
150
+ "epoch": 0.0007605333874157076,
151
+ "grad_norm": 17.704011917114258,
152
+ "learning_rate": 5e-05,
153
+ "loss": 13.4687,
154
+ "step": 15
155
+ },
156
+ {
157
+ "epoch": 0.0007605333874157076,
158
+ "eval_loss": 4.6250200271606445,
159
+ "eval_runtime": 1519.2183,
160
+ "eval_samples_per_second": 5.467,
161
+ "eval_steps_per_second": 2.734,
162
+ "step": 15
163
+ },
164
+ {
165
+ "epoch": 0.0008112356132434214,
166
+ "grad_norm": 21.224292755126953,
167
+ "learning_rate": 4.2178276747988446e-05,
168
+ "loss": 16.2957,
169
+ "step": 16
170
+ },
171
+ {
172
+ "epoch": 0.0008619378390711352,
173
+ "grad_norm": 27.829790115356445,
174
+ "learning_rate": 3.4549150281252636e-05,
175
+ "loss": 23.9581,
176
+ "step": 17
177
+ },
178
+ {
179
+ "epoch": 0.000912640064898849,
180
+ "grad_norm": 27.01038360595703,
181
+ "learning_rate": 2.7300475013022663e-05,
182
+ "loss": 19.2738,
183
+ "step": 18
184
+ },
185
+ {
186
+ "epoch": 0.000912640064898849,
187
+ "eval_loss": 3.9614384174346924,
188
+ "eval_runtime": 1519.4201,
189
+ "eval_samples_per_second": 5.466,
190
+ "eval_steps_per_second": 2.733,
191
+ "step": 18
192
+ },
193
+ {
194
+ "epoch": 0.0009633422907265629,
195
+ "grad_norm": 31.614938735961914,
196
+ "learning_rate": 2.061073738537635e-05,
197
+ "loss": 16.2201,
198
+ "step": 19
199
+ },
200
+ {
201
+ "epoch": 0.0010140445165542768,
202
+ "grad_norm": 30.133304595947266,
203
+ "learning_rate": 1.4644660940672627e-05,
204
+ "loss": 13.2166,
205
+ "step": 20
206
+ },
207
+ {
208
+ "epoch": 0.0010647467423819906,
209
+ "grad_norm": 30.905317306518555,
210
+ "learning_rate": 9.549150281252633e-06,
211
+ "loss": 17.1181,
212
+ "step": 21
213
+ },
214
+ {
215
+ "epoch": 0.0010647467423819906,
216
+ "eval_loss": 3.6349897384643555,
217
+ "eval_runtime": 1521.227,
218
+ "eval_samples_per_second": 5.459,
219
+ "eval_steps_per_second": 2.73,
220
+ "step": 21
221
+ },
222
+ {
223
+ "epoch": 0.0011154489682097045,
224
+ "grad_norm": 30.500104904174805,
225
+ "learning_rate": 5.449673790581611e-06,
226
+ "loss": 11.5841,
227
+ "step": 22
228
+ },
229
+ {
230
+ "epoch": 0.0011661511940374183,
231
+ "grad_norm": 33.284156799316406,
232
+ "learning_rate": 2.4471741852423237e-06,
233
+ "loss": 17.699,
234
+ "step": 23
235
+ },
236
+ {
237
+ "epoch": 0.001216853419865132,
238
+ "grad_norm": 22.113712310791016,
239
+ "learning_rate": 6.15582970243117e-07,
240
+ "loss": 9.9624,
241
+ "step": 24
242
+ },
243
+ {
244
+ "epoch": 0.001216853419865132,
245
+ "eval_loss": 3.54598331451416,
246
+ "eval_runtime": 1519.2854,
247
+ "eval_samples_per_second": 5.466,
248
+ "eval_steps_per_second": 2.734,
249
+ "step": 24
250
+ },
251
+ {
252
+ "epoch": 0.0012675556456928458,
253
+ "grad_norm": 35.23492431640625,
254
+ "learning_rate": 0.0,
255
+ "loss": 14.2806,
256
+ "step": 25
257
+ }
258
+ ],
259
+ "logging_steps": 1,
260
+ "max_steps": 25,
261
+ "num_input_tokens_seen": 0,
262
+ "num_train_epochs": 1,
263
+ "save_steps": 5,
264
+ "stateful_callbacks": {
265
+ "TrainerControl": {
266
+ "args": {
267
+ "should_epoch_stop": false,
268
+ "should_evaluate": false,
269
+ "should_log": false,
270
+ "should_save": true,
271
+ "should_training_stop": true
272
+ },
273
+ "attributes": {}
274
+ }
275
+ },
276
+ "total_flos": 2.390484150386688e+16,
277
+ "train_batch_size": 2,
278
+ "trial_name": null,
279
+ "trial_params": null
280
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8b307449656cfb6c65f3c87d376f66cb8c24810ebdc076bd45eecf9aa7ba214
3
+ size 6712
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "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 %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "legacy": false,
36
+ "model_max_length": 1000000000000000019884624838656,
37
+ "pad_token": "<unk>",
38
+ "sp_model_kwargs": {},
39
+ "spaces_between_special_tokens": false,
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8b307449656cfb6c65f3c87d376f66cb8c24810ebdc076bd45eecf9aa7ba214
3
+ size 6712