VERSIL91 commited on
Commit
c75aead
·
verified ·
1 Parent(s): 8b1c554

End of training

Browse files
README.md ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: samoline/abcd8351-bb0a-4b86-9251-81ff047d7475
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: a407c9d1-9dba-449c-937f-934464814b5f
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
+ accelerate_config:
21
+ dynamo_backend: inductor
22
+ mixed_precision: bf16
23
+ num_machines: 1
24
+ num_processes: auto
25
+ use_cpu: false
26
+ adapter: lora
27
+ base_model: samoline/abcd8351-bb0a-4b86-9251-81ff047d7475
28
+ bf16: auto
29
+ chat_template: llama3
30
+ dataset_prepared_path: null
31
+ datasets:
32
+ - data_files:
33
+ - train_c4393383-ef1d-4e9c-b95c-18b4f735570d.json
34
+ ds_type: json
35
+ format: custom
36
+ path: /workspace/input_data/train_c4393383-ef1d-4e9c-b95c-18b4f735570d.json
37
+ type:
38
+ field_input: input
39
+ field_instruction: instruction
40
+ field_output: output
41
+ format: '{instruction} {input}'
42
+ no_input_format: '{instruction}'
43
+ system_format: '{system}'
44
+ system_prompt: ''
45
+ debug: null
46
+ deepspeed: null
47
+ device_map: auto
48
+ early_stopping_patience: null
49
+ eval_max_new_tokens: 128
50
+ eval_table_size: null
51
+ evals_per_epoch: 4
52
+ flash_attention: false
53
+ fp16: null
54
+ fsdp: null
55
+ fsdp_config: null
56
+ gradient_accumulation_steps: 16
57
+ gradient_checkpointing: true
58
+ group_by_length: false
59
+ hub_model_id: null
60
+ hub_repo: null
61
+ hub_strategy: checkpoint
62
+ hub_token: null
63
+ learning_rate: 0.0001
64
+ local_rank: null
65
+ logging_steps: 1
66
+ lora_alpha: 16
67
+ lora_dropout: 0.05
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 8
71
+ lora_target_linear: true
72
+ lora_target_modules:
73
+ - q_proj
74
+ - v_proj
75
+ lr_scheduler: cosine
76
+ max_memory:
77
+ 0: 70GiB
78
+ max_steps: 50
79
+ micro_batch_size: 2
80
+ mlflow_experiment_name: /tmp/train_c4393383-ef1d-4e9c-b95c-18b4f735570d.json
81
+ model_type: AutoModelForCausalLM
82
+ num_epochs: 1
83
+ optimizer: adamw_bnb_8bit
84
+ output_dir: miner_id_24
85
+ pad_to_sequence_len: true
86
+ quantization_config:
87
+ llm_int8_enable_fp32_cpu_offload: true
88
+ load_in_8bit: true
89
+ resume_from_checkpoint: null
90
+ s2_attention: null
91
+ sample_packing: false
92
+ saves_per_epoch: 4
93
+ sequence_len: 512
94
+ special_tokens:
95
+ pad_token: <|endoftext|>
96
+ strict: false
97
+ tf32: false
98
+ tokenizer_type: AutoTokenizer
99
+ torch_compile: true
100
+ train_on_inputs: false
101
+ trust_remote_code: true
102
+ val_set_size: 0.05
103
+ wandb_entity: null
104
+ wandb_mode: online
105
+ wandb_name: a407c9d1-9dba-449c-937f-934464814b5f
106
+ wandb_project: Gradients-On-Demand
107
+ wandb_run: your_name
108
+ wandb_runid: a407c9d1-9dba-449c-937f-934464814b5f
109
+ warmup_steps: 10
110
+ weight_decay: 0.0
111
+ xformers_attention: null
112
+
113
+ ```
114
+
115
+ </details><br>
116
+
117
+ # a407c9d1-9dba-449c-937f-934464814b5f
118
+
119
+ This model is a fine-tuned version of [samoline/abcd8351-bb0a-4b86-9251-81ff047d7475](https://huggingface.co/samoline/abcd8351-bb0a-4b86-9251-81ff047d7475) on the None dataset.
120
+ It achieves the following results on the evaluation set:
121
+ - Loss: 1.2246
122
+
123
+ ## Model description
124
+
125
+ More information needed
126
+
127
+ ## Intended uses & limitations
128
+
129
+ More information needed
130
+
131
+ ## Training and evaluation data
132
+
133
+ More information needed
134
+
135
+ ## Training procedure
136
+
137
+ ### Training hyperparameters
138
+
139
+ The following hyperparameters were used during training:
140
+ - learning_rate: 0.0001
141
+ - train_batch_size: 2
142
+ - eval_batch_size: 2
143
+ - seed: 42
144
+ - gradient_accumulation_steps: 16
145
+ - total_train_batch_size: 32
146
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
147
+ - lr_scheduler_type: cosine
148
+ - lr_scheduler_warmup_steps: 10
149
+ - training_steps: 50
150
+
151
+ ### Training results
152
+
153
+ | Training Loss | Epoch | Step | Validation Loss |
154
+ |:-------------:|:------:|:----:|:---------------:|
155
+ | 1.4242 | 0.0008 | 1 | 1.6579 |
156
+ | 1.4496 | 0.0106 | 13 | 1.3727 |
157
+ | 1.3879 | 0.0212 | 26 | 1.2557 |
158
+ | 1.3243 | 0.0317 | 39 | 1.2246 |
159
+
160
+
161
+ ### Framework versions
162
+
163
+ - PEFT 0.13.2
164
+ - Transformers 4.46.0
165
+ - Pytorch 2.5.0+cu124
166
+ - Datasets 3.0.1
167
+ - 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": "samoline/abcd8351-bb0a-4b86-9251-81ff047d7475",
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
+ "gate_proj",
24
+ "up_proj",
25
+ "k_proj",
26
+ "q_proj",
27
+ "o_proj",
28
+ "down_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:65de2cd0a8a6c52298cc6949e39dccfaf6b0f196fa512571fc605129e18f49f4
3
+ size 51521322
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:181e7fe0d0449f96b2db5af587197bd7a41a98a8f4502537fe55dd836cfbd98e
3
+ size 51431872
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endofprompt|>": 100276,
3
+ "<|im_end|>": 100265,
4
+ "<|im_start|>": 100264
5
+ }
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "samoline/abcd8351-bb0a-4b86-9251-81ff047d7475",
4
+ "architectures": [
5
+ "LlamaForCausalLM"
6
+ ],
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 100257,
10
+ "eos_token_id": 100257,
11
+ "head_dim": 128,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 3072,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 9216,
16
+ "max_position_embeddings": 131072,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 24,
20
+ "num_hidden_layers": 28,
21
+ "num_key_value_heads": 8,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-05,
24
+ "rope_scaling": {
25
+ "factor": 32.0,
26
+ "high_freq_factor": 4.0,
27
+ "low_freq_factor": 1.0,
28
+ "original_max_position_embeddings": 8192,
29
+ "rope_type": "llama3"
30
+ },
31
+ "rope_theta": 500000.0,
32
+ "tie_word_embeddings": true,
33
+ "torch_dtype": "float16",
34
+ "transformers_version": "4.46.0",
35
+ "use_cache": false,
36
+ "vocab_size": 100263
37
+ }
last-checkpoint/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: samoline/abcd8351-bb0a-4b86-9251-81ff047d7475
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": "samoline/abcd8351-bb0a-4b86-9251-81ff047d7475",
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
+ "gate_proj",
24
+ "up_proj",
25
+ "k_proj",
26
+ "q_proj",
27
+ "o_proj",
28
+ "down_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:181e7fe0d0449f96b2db5af587197bd7a41a98a8f4502537fe55dd836cfbd98e
3
+ size 51431872
last-checkpoint/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endofprompt|>": 100276,
3
+ "<|im_end|>": 100265,
4
+ "<|im_start|>": 100264
5
+ }
last-checkpoint/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df2e5cfb41cd22d600c53e66e1f89517c7768e6826fb8dd37eade8c93bb0ea99
3
+ size 26550260
last-checkpoint/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2edc13c60910e9acd555e90579b2ee1807926bb393c7c79b1e24163c3f5bfc9f
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,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
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_config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "100257": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "100258": {
13
+ "content": "<|fim_prefix|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "100259": {
21
+ "content": "<|fim_middle|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "100260": {
29
+ "content": "<|fim_suffix|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "100264": {
37
+ "content": "<|im_start|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "100265": {
45
+ "content": "<|im_end|>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "100276": {
53
+ "content": "<|endofprompt|>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ }
60
+ },
61
+ "bos_token": "<|endoftext|>",
62
+ "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 %}",
63
+ "clean_up_tokenization_spaces": false,
64
+ "eos_token": "<|endoftext|>",
65
+ "extra_special_tokens": {},
66
+ "model_max_length": 8192,
67
+ "pad_token": "<|endoftext|>",
68
+ "tokenizer_class": "GPT2Tokenizer",
69
+ "unk_token": "<|endoftext|>"
70
+ }
last-checkpoint/trainer_state.json ADDED
@@ -0,0 +1,415 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.04067314047485891,
5
+ "eval_steps": 13,
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.0008134628094971783,
13
+ "grad_norm": 0.9108312726020813,
14
+ "learning_rate": 1e-05,
15
+ "loss": 1.4242,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.0008134628094971783,
20
+ "eval_loss": 1.6578611135482788,
21
+ "eval_runtime": 195.6942,
22
+ "eval_samples_per_second": 10.583,
23
+ "eval_steps_per_second": 5.294,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 0.0016269256189943566,
28
+ "grad_norm": 0.8185848593711853,
29
+ "learning_rate": 2e-05,
30
+ "loss": 1.4684,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 0.0024403884284915347,
35
+ "grad_norm": 0.8753907680511475,
36
+ "learning_rate": 3e-05,
37
+ "loss": 1.4355,
38
+ "step": 3
39
+ },
40
+ {
41
+ "epoch": 0.0032538512379887133,
42
+ "grad_norm": 0.8084831237792969,
43
+ "learning_rate": 4e-05,
44
+ "loss": 1.4623,
45
+ "step": 4
46
+ },
47
+ {
48
+ "epoch": 0.004067314047485892,
49
+ "grad_norm": 0.776229202747345,
50
+ "learning_rate": 5e-05,
51
+ "loss": 1.4744,
52
+ "step": 5
53
+ },
54
+ {
55
+ "epoch": 0.0048807768569830694,
56
+ "grad_norm": 0.7320299744606018,
57
+ "learning_rate": 6e-05,
58
+ "loss": 1.5194,
59
+ "step": 6
60
+ },
61
+ {
62
+ "epoch": 0.005694239666480248,
63
+ "grad_norm": 0.8332337141036987,
64
+ "learning_rate": 7e-05,
65
+ "loss": 1.4006,
66
+ "step": 7
67
+ },
68
+ {
69
+ "epoch": 0.0065077024759774265,
70
+ "grad_norm": 0.9180299639701843,
71
+ "learning_rate": 8e-05,
72
+ "loss": 1.4191,
73
+ "step": 8
74
+ },
75
+ {
76
+ "epoch": 0.007321165285474605,
77
+ "grad_norm": 0.8599632382392883,
78
+ "learning_rate": 9e-05,
79
+ "loss": 1.3284,
80
+ "step": 9
81
+ },
82
+ {
83
+ "epoch": 0.008134628094971784,
84
+ "grad_norm": 1.0169434547424316,
85
+ "learning_rate": 0.0001,
86
+ "loss": 1.3026,
87
+ "step": 10
88
+ },
89
+ {
90
+ "epoch": 0.008948090904468962,
91
+ "grad_norm": 1.1758923530578613,
92
+ "learning_rate": 9.98458666866564e-05,
93
+ "loss": 1.3743,
94
+ "step": 11
95
+ },
96
+ {
97
+ "epoch": 0.009761553713966139,
98
+ "grad_norm": 1.301285982131958,
99
+ "learning_rate": 9.938441702975689e-05,
100
+ "loss": 1.3781,
101
+ "step": 12
102
+ },
103
+ {
104
+ "epoch": 0.010575016523463317,
105
+ "grad_norm": 1.1804258823394775,
106
+ "learning_rate": 9.861849601988383e-05,
107
+ "loss": 1.4496,
108
+ "step": 13
109
+ },
110
+ {
111
+ "epoch": 0.010575016523463317,
112
+ "eval_loss": 1.3726698160171509,
113
+ "eval_runtime": 36.4237,
114
+ "eval_samples_per_second": 56.859,
115
+ "eval_steps_per_second": 28.443,
116
+ "step": 13
117
+ },
118
+ {
119
+ "epoch": 0.011388479332960496,
120
+ "grad_norm": 1.139792799949646,
121
+ "learning_rate": 9.755282581475769e-05,
122
+ "loss": 1.2662,
123
+ "step": 14
124
+ },
125
+ {
126
+ "epoch": 0.012201942142457674,
127
+ "grad_norm": 1.2657827138900757,
128
+ "learning_rate": 9.619397662556435e-05,
129
+ "loss": 1.2368,
130
+ "step": 15
131
+ },
132
+ {
133
+ "epoch": 0.013015404951954853,
134
+ "grad_norm": 0.998916745185852,
135
+ "learning_rate": 9.45503262094184e-05,
136
+ "loss": 1.1436,
137
+ "step": 16
138
+ },
139
+ {
140
+ "epoch": 0.013828867761452032,
141
+ "grad_norm": 1.0009139776229858,
142
+ "learning_rate": 9.263200821770461e-05,
143
+ "loss": 1.239,
144
+ "step": 17
145
+ },
146
+ {
147
+ "epoch": 0.01464233057094921,
148
+ "grad_norm": 1.1696265935897827,
149
+ "learning_rate": 9.045084971874738e-05,
150
+ "loss": 1.2521,
151
+ "step": 18
152
+ },
153
+ {
154
+ "epoch": 0.015455793380446387,
155
+ "grad_norm": 0.9146084189414978,
156
+ "learning_rate": 8.802029828000156e-05,
157
+ "loss": 1.1897,
158
+ "step": 19
159
+ },
160
+ {
161
+ "epoch": 0.016269256189943567,
162
+ "grad_norm": 0.9100729823112488,
163
+ "learning_rate": 8.535533905932738e-05,
164
+ "loss": 1.084,
165
+ "step": 20
166
+ },
167
+ {
168
+ "epoch": 0.017082718999440746,
169
+ "grad_norm": 0.8398633599281311,
170
+ "learning_rate": 8.247240241650918e-05,
171
+ "loss": 1.2046,
172
+ "step": 21
173
+ },
174
+ {
175
+ "epoch": 0.017896181808937924,
176
+ "grad_norm": 0.8264802694320679,
177
+ "learning_rate": 7.938926261462366e-05,
178
+ "loss": 1.2017,
179
+ "step": 22
180
+ },
181
+ {
182
+ "epoch": 0.0187096446184351,
183
+ "grad_norm": 0.8314357399940491,
184
+ "learning_rate": 7.612492823579745e-05,
185
+ "loss": 1.2994,
186
+ "step": 23
187
+ },
188
+ {
189
+ "epoch": 0.019523107427932278,
190
+ "grad_norm": 0.9849143028259277,
191
+ "learning_rate": 7.269952498697734e-05,
192
+ "loss": 1.363,
193
+ "step": 24
194
+ },
195
+ {
196
+ "epoch": 0.020336570237429456,
197
+ "grad_norm": 1.168421983718872,
198
+ "learning_rate": 6.91341716182545e-05,
199
+ "loss": 1.2528,
200
+ "step": 25
201
+ },
202
+ {
203
+ "epoch": 0.021150033046926635,
204
+ "grad_norm": 1.078614354133606,
205
+ "learning_rate": 6.545084971874738e-05,
206
+ "loss": 1.3879,
207
+ "step": 26
208
+ },
209
+ {
210
+ "epoch": 0.021150033046926635,
211
+ "eval_loss": 1.2557233572006226,
212
+ "eval_runtime": 36.435,
213
+ "eval_samples_per_second": 56.841,
214
+ "eval_steps_per_second": 28.434,
215
+ "step": 26
216
+ },
217
+ {
218
+ "epoch": 0.021963495856423813,
219
+ "grad_norm": 0.7654521465301514,
220
+ "learning_rate": 6.167226819279528e-05,
221
+ "loss": 1.1113,
222
+ "step": 27
223
+ },
224
+ {
225
+ "epoch": 0.022776958665920992,
226
+ "grad_norm": 0.7602103352546692,
227
+ "learning_rate": 5.782172325201155e-05,
228
+ "loss": 1.2211,
229
+ "step": 28
230
+ },
231
+ {
232
+ "epoch": 0.02359042147541817,
233
+ "grad_norm": 0.8696973323822021,
234
+ "learning_rate": 5.392295478639225e-05,
235
+ "loss": 1.1937,
236
+ "step": 29
237
+ },
238
+ {
239
+ "epoch": 0.02440388428491535,
240
+ "grad_norm": 0.6972202062606812,
241
+ "learning_rate": 5e-05,
242
+ "loss": 1.1481,
243
+ "step": 30
244
+ },
245
+ {
246
+ "epoch": 0.025217347094412527,
247
+ "grad_norm": 0.8415080308914185,
248
+ "learning_rate": 4.607704521360776e-05,
249
+ "loss": 1.3055,
250
+ "step": 31
251
+ },
252
+ {
253
+ "epoch": 0.026030809903909706,
254
+ "grad_norm": 0.6529223322868347,
255
+ "learning_rate": 4.2178276747988446e-05,
256
+ "loss": 1.2149,
257
+ "step": 32
258
+ },
259
+ {
260
+ "epoch": 0.026844272713406885,
261
+ "grad_norm": 0.8038480281829834,
262
+ "learning_rate": 3.832773180720475e-05,
263
+ "loss": 1.1512,
264
+ "step": 33
265
+ },
266
+ {
267
+ "epoch": 0.027657735522904063,
268
+ "grad_norm": 0.7951949238777161,
269
+ "learning_rate": 3.4549150281252636e-05,
270
+ "loss": 1.2931,
271
+ "step": 34
272
+ },
273
+ {
274
+ "epoch": 0.02847119833240124,
275
+ "grad_norm": 0.6698573231697083,
276
+ "learning_rate": 3.086582838174551e-05,
277
+ "loss": 1.1721,
278
+ "step": 35
279
+ },
280
+ {
281
+ "epoch": 0.02928466114189842,
282
+ "grad_norm": 0.7140055298805237,
283
+ "learning_rate": 2.7300475013022663e-05,
284
+ "loss": 1.1752,
285
+ "step": 36
286
+ },
287
+ {
288
+ "epoch": 0.0300981239513956,
289
+ "grad_norm": 0.6723005175590515,
290
+ "learning_rate": 2.3875071764202563e-05,
291
+ "loss": 1.2337,
292
+ "step": 37
293
+ },
294
+ {
295
+ "epoch": 0.030911586760892774,
296
+ "grad_norm": 0.6740083694458008,
297
+ "learning_rate": 2.061073738537635e-05,
298
+ "loss": 1.2048,
299
+ "step": 38
300
+ },
301
+ {
302
+ "epoch": 0.031725049570389956,
303
+ "grad_norm": 0.7262203097343445,
304
+ "learning_rate": 1.7527597583490822e-05,
305
+ "loss": 1.3243,
306
+ "step": 39
307
+ },
308
+ {
309
+ "epoch": 0.031725049570389956,
310
+ "eval_loss": 1.2246425151824951,
311
+ "eval_runtime": 36.4241,
312
+ "eval_samples_per_second": 56.858,
313
+ "eval_steps_per_second": 28.443,
314
+ "step": 39
315
+ },
316
+ {
317
+ "epoch": 0.032538512379887134,
318
+ "grad_norm": 0.7718028426170349,
319
+ "learning_rate": 1.4644660940672627e-05,
320
+ "loss": 1.2117,
321
+ "step": 40
322
+ },
323
+ {
324
+ "epoch": 0.03335197518938431,
325
+ "grad_norm": 0.7411465048789978,
326
+ "learning_rate": 1.1979701719998453e-05,
327
+ "loss": 1.1954,
328
+ "step": 41
329
+ },
330
+ {
331
+ "epoch": 0.03416543799888149,
332
+ "grad_norm": 0.7557942867279053,
333
+ "learning_rate": 9.549150281252633e-06,
334
+ "loss": 1.1628,
335
+ "step": 42
336
+ },
337
+ {
338
+ "epoch": 0.03497890080837867,
339
+ "grad_norm": 0.9376694560050964,
340
+ "learning_rate": 7.367991782295391e-06,
341
+ "loss": 1.2205,
342
+ "step": 43
343
+ },
344
+ {
345
+ "epoch": 0.03579236361787585,
346
+ "grad_norm": 0.7513824105262756,
347
+ "learning_rate": 5.449673790581611e-06,
348
+ "loss": 1.2009,
349
+ "step": 44
350
+ },
351
+ {
352
+ "epoch": 0.03660582642737303,
353
+ "grad_norm": 0.7382362484931946,
354
+ "learning_rate": 3.8060233744356633e-06,
355
+ "loss": 1.2458,
356
+ "step": 45
357
+ },
358
+ {
359
+ "epoch": 0.0374192892368702,
360
+ "grad_norm": 0.7333554625511169,
361
+ "learning_rate": 2.4471741852423237e-06,
362
+ "loss": 1.1459,
363
+ "step": 46
364
+ },
365
+ {
366
+ "epoch": 0.03823275204636738,
367
+ "grad_norm": 0.6778184175491333,
368
+ "learning_rate": 1.3815039801161721e-06,
369
+ "loss": 1.1253,
370
+ "step": 47
371
+ },
372
+ {
373
+ "epoch": 0.039046214855864556,
374
+ "grad_norm": 0.7480204105377197,
375
+ "learning_rate": 6.15582970243117e-07,
376
+ "loss": 1.2115,
377
+ "step": 48
378
+ },
379
+ {
380
+ "epoch": 0.039859677665361734,
381
+ "grad_norm": 0.7647523283958435,
382
+ "learning_rate": 1.5413331334360182e-07,
383
+ "loss": 1.2324,
384
+ "step": 49
385
+ },
386
+ {
387
+ "epoch": 0.04067314047485891,
388
+ "grad_norm": 0.8021819591522217,
389
+ "learning_rate": 0.0,
390
+ "loss": 1.2514,
391
+ "step": 50
392
+ }
393
+ ],
394
+ "logging_steps": 1,
395
+ "max_steps": 50,
396
+ "num_input_tokens_seen": 0,
397
+ "num_train_epochs": 1,
398
+ "save_steps": 13,
399
+ "stateful_callbacks": {
400
+ "TrainerControl": {
401
+ "args": {
402
+ "should_epoch_stop": false,
403
+ "should_evaluate": false,
404
+ "should_log": false,
405
+ "should_save": true,
406
+ "should_training_stop": true
407
+ },
408
+ "attributes": {}
409
+ }
410
+ },
411
+ "total_flos": 1.53307661205504e+16,
412
+ "train_batch_size": 2,
413
+ "trial_name": null,
414
+ "trial_params": null
415
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bfa4c9ef60788d923e8521efbb3e8c084e4f7dd882a7f2930bdaaf7a827143c
3
+ size 6776
last-checkpoint/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
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_config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "100257": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "100258": {
13
+ "content": "<|fim_prefix|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "100259": {
21
+ "content": "<|fim_middle|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "100260": {
29
+ "content": "<|fim_suffix|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "100264": {
37
+ "content": "<|im_start|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "100265": {
45
+ "content": "<|im_end|>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "100276": {
53
+ "content": "<|endofprompt|>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ }
60
+ },
61
+ "bos_token": "<|endoftext|>",
62
+ "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 %}",
63
+ "clean_up_tokenization_spaces": false,
64
+ "eos_token": "<|endoftext|>",
65
+ "extra_special_tokens": {},
66
+ "model_max_length": 8192,
67
+ "pad_token": "<|endoftext|>",
68
+ "tokenizer_class": "GPT2Tokenizer",
69
+ "unk_token": "<|endoftext|>"
70
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bfa4c9ef60788d923e8521efbb3e8c084e4f7dd882a7f2930bdaaf7a827143c
3
+ size 6776
vocab.json ADDED
The diff for this file is too large to render. See raw diff