VERSIL91 commited on
Commit
095af43
·
verified ·
1 Parent(s): 8fbba03

End of training

Browse files
README.md ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: facebook/opt-125m
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: fd18c646-50f9-43a7-bc2f-b5987f2b2f56
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: facebook/opt-125m
23
+ bf16: true
24
+ chat_template: llama3
25
+ datasets:
26
+ - data_files:
27
+ - 13cdc72de92bf83a_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/13cdc72de92bf83a_train_data.json
31
+ type:
32
+ field_instruction: problem
33
+ field_output: solution
34
+ format: '{instruction}'
35
+ no_input_format: '{instruction}'
36
+ system_format: '{system}'
37
+ system_prompt: ''
38
+ debug: null
39
+ deepspeed: null
40
+ early_stopping_patience: 2
41
+ eval_max_new_tokens: 128
42
+ eval_steps: 5
43
+ eval_table_size: null
44
+ flash_attention: false
45
+ fp16: false
46
+ fsdp: null
47
+ fsdp_config: null
48
+ gradient_accumulation_steps: 4
49
+ gradient_checkpointing: false
50
+ group_by_length: false
51
+ hub_model_id: null
52
+ hub_repo: null
53
+ hub_strategy: checkpoint
54
+ hub_token: null
55
+ learning_rate: 0.0002
56
+ load_in_4bit: false
57
+ load_in_8bit: true
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_steps: 25
68
+ micro_batch_size: 2
69
+ mlflow_experiment_name: /tmp/13cdc72de92bf83a_train_data.json
70
+ model_type: AutoModelForCausalLM
71
+ num_epochs: 1
72
+ optimizer: adamw_bnb_8bit
73
+ output_dir: miner_id_24
74
+ pad_to_sequence_len: true
75
+ resume_from_checkpoint: null
76
+ s2_attention: null
77
+ sample_packing: false
78
+ save_steps: 10
79
+ sequence_len: 512
80
+ strict: false
81
+ tf32: false
82
+ tokenizer_type: AutoTokenizer
83
+ train_on_inputs: false
84
+ trust_remote_code: true
85
+ val_set_size: 0.05
86
+ wandb_entity: null
87
+ wandb_mode: online
88
+ wandb_name: fe7a2471-cad2-4b25-b149-efff9f858e97
89
+ wandb_project: Gradients-On-Demand
90
+ wandb_run: your_name
91
+ wandb_runid: fe7a2471-cad2-4b25-b149-efff9f858e97
92
+ warmup_steps: 10
93
+ weight_decay: 0.0
94
+ xformers_attention: null
95
+
96
+ ```
97
+
98
+ </details><br>
99
+
100
+ # fd18c646-50f9-43a7-bc2f-b5987f2b2f56
101
+
102
+ This model is a fine-tuned version of [facebook/opt-125m](https://huggingface.co/facebook/opt-125m) on the None dataset.
103
+ It achieves the following results on the evaluation set:
104
+ - Loss: 1.9231
105
+
106
+ ## Model description
107
+
108
+ More information needed
109
+
110
+ ## Intended uses & limitations
111
+
112
+ More information needed
113
+
114
+ ## Training and evaluation data
115
+
116
+ More information needed
117
+
118
+ ## Training procedure
119
+
120
+ ### Training hyperparameters
121
+
122
+ The following hyperparameters were used during training:
123
+ - learning_rate: 0.0002
124
+ - train_batch_size: 2
125
+ - eval_batch_size: 2
126
+ - seed: 42
127
+ - gradient_accumulation_steps: 4
128
+ - total_train_batch_size: 8
129
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
130
+ - lr_scheduler_type: cosine
131
+ - lr_scheduler_warmup_steps: 10
132
+ - training_steps: 25
133
+
134
+ ### Training results
135
+
136
+ | Training Loss | Epoch | Step | Validation Loss |
137
+ |:-------------:|:------:|:----:|:---------------:|
138
+ | 8.3185 | 0.0009 | 1 | 2.0675 |
139
+ | 8.2323 | 0.0043 | 5 | 2.0522 |
140
+ | 8.0955 | 0.0086 | 10 | 2.0068 |
141
+ | 9.532 | 0.0129 | 15 | 1.9589 |
142
+ | 7.6952 | 0.0172 | 20 | 1.9288 |
143
+ | 8.0331 | 0.0215 | 25 | 1.9231 |
144
+
145
+
146
+ ### Framework versions
147
+
148
+ - PEFT 0.13.2
149
+ - Transformers 4.46.0
150
+ - Pytorch 2.5.0+cu124
151
+ - Datasets 3.0.1
152
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "facebook/opt-125m",
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
+ "fc2",
24
+ "v_proj",
25
+ "fc1",
26
+ "k_proj",
27
+ "out_proj",
28
+ "q_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_dora": false,
32
+ "use_rslora": false
33
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9f2da1dd08365fdf2943ee1d0bc4cf21db7ee74672a5ef3fb44f47639a66290
3
+ size 5360906
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bc26ab10f353db835982b86fa0af6bea177343c28f8cbee88da52240273276c
3
+ size 5327744
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "facebook/opt-125m",
4
+ "_remove_final_layer_norm": false,
5
+ "activation_dropout": 0.0,
6
+ "activation_function": "relu",
7
+ "architectures": [
8
+ "OPTForCausalLM"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bos_token_id": 2,
12
+ "do_layer_norm_before": true,
13
+ "dropout": 0.1,
14
+ "enable_bias": true,
15
+ "eos_token_id": 2,
16
+ "ffn_dim": 3072,
17
+ "hidden_size": 768,
18
+ "init_std": 0.02,
19
+ "layer_norm_elementwise_affine": true,
20
+ "layerdrop": 0.0,
21
+ "max_position_embeddings": 2048,
22
+ "model_type": "opt",
23
+ "num_attention_heads": 12,
24
+ "num_hidden_layers": 12,
25
+ "pad_token_id": 1,
26
+ "prefix": "</s>",
27
+ "quantization_config": {
28
+ "_load_in_4bit": false,
29
+ "_load_in_8bit": true,
30
+ "bnb_4bit_compute_dtype": "float32",
31
+ "bnb_4bit_quant_storage": "uint8",
32
+ "bnb_4bit_quant_type": "fp4",
33
+ "bnb_4bit_use_double_quant": false,
34
+ "llm_int8_enable_fp32_cpu_offload": false,
35
+ "llm_int8_has_fp16_weight": false,
36
+ "llm_int8_skip_modules": null,
37
+ "llm_int8_threshold": 6.0,
38
+ "load_in_4bit": false,
39
+ "load_in_8bit": true,
40
+ "quant_method": "bitsandbytes"
41
+ },
42
+ "torch_dtype": "float16",
43
+ "transformers_version": "4.46.0",
44
+ "use_cache": false,
45
+ "vocab_size": 50272,
46
+ "word_embed_proj_dim": 768
47
+ }
last-checkpoint/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: facebook/opt-125m
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,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "facebook/opt-125m",
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
+ "fc2",
24
+ "v_proj",
25
+ "fc1",
26
+ "k_proj",
27
+ "out_proj",
28
+ "q_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_dora": false,
32
+ "use_rslora": false
33
+ }
last-checkpoint/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bc26ab10f353db835982b86fa0af6bea177343c28f8cbee88da52240273276c
3
+ size 5327744
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:e5024460d99174b9c1a6e6a2b3808a93643a0856199c5c0aae81ac32a5c6d3e0
3
+ size 2857722
last-checkpoint/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48528364bd0a7d080ac65fa20a58eebe3d2caddfabdade0c815327aab9aaef45
3
+ size 14244
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4521b8db9cc205e54aa606d85e707c024abd2d8ad4a20bec4b2cff365dc59cdf
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": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "</s>",
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_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "1": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "2": {
14
+ "content": "</s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ }
21
+ },
22
+ "bos_token": "</s>",
23
+ "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 %}",
24
+ "clean_up_tokenization_spaces": false,
25
+ "eos_token": "</s>",
26
+ "errors": "replace",
27
+ "model_max_length": 1000000000000000019884624838656,
28
+ "pad_token": "<pad>",
29
+ "tokenizer_class": "GPT2Tokenizer",
30
+ "unk_token": "</s>"
31
+ }
last-checkpoint/trainer_state.json ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.923120141029358,
3
+ "best_model_checkpoint": "miner_id_24/checkpoint-25",
4
+ "epoch": 0.021482277121374866,
5
+ "eval_steps": 5,
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": 0.0008592910848549946,
13
+ "grad_norm": 3.3073325157165527,
14
+ "learning_rate": 2e-05,
15
+ "loss": 8.3185,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.0008592910848549946,
20
+ "eval_loss": 2.0675454139709473,
21
+ "eval_runtime": 20.2053,
22
+ "eval_samples_per_second": 24.251,
23
+ "eval_steps_per_second": 12.126,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 0.0017185821697099893,
28
+ "grad_norm": 3.7460267543792725,
29
+ "learning_rate": 4e-05,
30
+ "loss": 9.2787,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 0.0025778732545649837,
35
+ "grad_norm": 3.0592331886291504,
36
+ "learning_rate": 6e-05,
37
+ "loss": 8.1589,
38
+ "step": 3
39
+ },
40
+ {
41
+ "epoch": 0.0034371643394199786,
42
+ "grad_norm": 3.309882640838623,
43
+ "learning_rate": 8e-05,
44
+ "loss": 9.1155,
45
+ "step": 4
46
+ },
47
+ {
48
+ "epoch": 0.004296455424274973,
49
+ "grad_norm": 2.840452194213867,
50
+ "learning_rate": 0.0001,
51
+ "loss": 8.2323,
52
+ "step": 5
53
+ },
54
+ {
55
+ "epoch": 0.004296455424274973,
56
+ "eval_loss": 2.052173614501953,
57
+ "eval_runtime": 19.0719,
58
+ "eval_samples_per_second": 25.692,
59
+ "eval_steps_per_second": 12.846,
60
+ "step": 5
61
+ },
62
+ {
63
+ "epoch": 0.0051557465091299675,
64
+ "grad_norm": 2.7349984645843506,
65
+ "learning_rate": 0.00012,
66
+ "loss": 8.8164,
67
+ "step": 6
68
+ },
69
+ {
70
+ "epoch": 0.006015037593984963,
71
+ "grad_norm": 3.8210105895996094,
72
+ "learning_rate": 0.00014,
73
+ "loss": 9.0191,
74
+ "step": 7
75
+ },
76
+ {
77
+ "epoch": 0.006874328678839957,
78
+ "grad_norm": 3.515184164047241,
79
+ "learning_rate": 0.00016,
80
+ "loss": 8.2134,
81
+ "step": 8
82
+ },
83
+ {
84
+ "epoch": 0.007733619763694952,
85
+ "grad_norm": 2.7120907306671143,
86
+ "learning_rate": 0.00018,
87
+ "loss": 8.0587,
88
+ "step": 9
89
+ },
90
+ {
91
+ "epoch": 0.008592910848549946,
92
+ "grad_norm": 3.9589414596557617,
93
+ "learning_rate": 0.0002,
94
+ "loss": 8.0955,
95
+ "step": 10
96
+ },
97
+ {
98
+ "epoch": 0.008592910848549946,
99
+ "eval_loss": 2.0068485736846924,
100
+ "eval_runtime": 18.8486,
101
+ "eval_samples_per_second": 25.997,
102
+ "eval_steps_per_second": 12.998,
103
+ "step": 10
104
+ },
105
+ {
106
+ "epoch": 0.00945220193340494,
107
+ "grad_norm": 3.420163631439209,
108
+ "learning_rate": 0.00019781476007338058,
109
+ "loss": 8.4802,
110
+ "step": 11
111
+ },
112
+ {
113
+ "epoch": 0.010311493018259935,
114
+ "grad_norm": 3.446446657180786,
115
+ "learning_rate": 0.0001913545457642601,
116
+ "loss": 8.0042,
117
+ "step": 12
118
+ },
119
+ {
120
+ "epoch": 0.01117078410311493,
121
+ "grad_norm": 3.0574252605438232,
122
+ "learning_rate": 0.00018090169943749476,
123
+ "loss": 8.1575,
124
+ "step": 13
125
+ },
126
+ {
127
+ "epoch": 0.012030075187969926,
128
+ "grad_norm": 3.0679614543914795,
129
+ "learning_rate": 0.00016691306063588583,
130
+ "loss": 7.8128,
131
+ "step": 14
132
+ },
133
+ {
134
+ "epoch": 0.01288936627282492,
135
+ "grad_norm": 3.8208773136138916,
136
+ "learning_rate": 0.00015000000000000001,
137
+ "loss": 9.532,
138
+ "step": 15
139
+ },
140
+ {
141
+ "epoch": 0.01288936627282492,
142
+ "eval_loss": 1.958902359008789,
143
+ "eval_runtime": 19.3706,
144
+ "eval_samples_per_second": 25.296,
145
+ "eval_steps_per_second": 12.648,
146
+ "step": 15
147
+ },
148
+ {
149
+ "epoch": 0.013748657357679914,
150
+ "grad_norm": 3.206510543823242,
151
+ "learning_rate": 0.00013090169943749476,
152
+ "loss": 7.9036,
153
+ "step": 16
154
+ },
155
+ {
156
+ "epoch": 0.014607948442534909,
157
+ "grad_norm": 3.5856943130493164,
158
+ "learning_rate": 0.00011045284632676536,
159
+ "loss": 8.6164,
160
+ "step": 17
161
+ },
162
+ {
163
+ "epoch": 0.015467239527389903,
164
+ "grad_norm": 3.43984055519104,
165
+ "learning_rate": 8.954715367323468e-05,
166
+ "loss": 7.6898,
167
+ "step": 18
168
+ },
169
+ {
170
+ "epoch": 0.0163265306122449,
171
+ "grad_norm": 3.85607647895813,
172
+ "learning_rate": 6.909830056250527e-05,
173
+ "loss": 7.55,
174
+ "step": 19
175
+ },
176
+ {
177
+ "epoch": 0.017185821697099892,
178
+ "grad_norm": 3.1455907821655273,
179
+ "learning_rate": 5.000000000000002e-05,
180
+ "loss": 7.6952,
181
+ "step": 20
182
+ },
183
+ {
184
+ "epoch": 0.017185821697099892,
185
+ "eval_loss": 1.928753137588501,
186
+ "eval_runtime": 19.174,
187
+ "eval_samples_per_second": 25.555,
188
+ "eval_steps_per_second": 12.778,
189
+ "step": 20
190
+ },
191
+ {
192
+ "epoch": 0.01804511278195489,
193
+ "grad_norm": 3.3137094974517822,
194
+ "learning_rate": 3.308693936411421e-05,
195
+ "loss": 7.6498,
196
+ "step": 21
197
+ },
198
+ {
199
+ "epoch": 0.01890440386680988,
200
+ "grad_norm": 3.6163105964660645,
201
+ "learning_rate": 1.9098300562505266e-05,
202
+ "loss": 7.9769,
203
+ "step": 22
204
+ },
205
+ {
206
+ "epoch": 0.019763694951664877,
207
+ "grad_norm": 3.250875949859619,
208
+ "learning_rate": 8.645454235739903e-06,
209
+ "loss": 7.7797,
210
+ "step": 23
211
+ },
212
+ {
213
+ "epoch": 0.02062298603651987,
214
+ "grad_norm": 3.4587433338165283,
215
+ "learning_rate": 2.1852399266194314e-06,
216
+ "loss": 8.4249,
217
+ "step": 24
218
+ },
219
+ {
220
+ "epoch": 0.021482277121374866,
221
+ "grad_norm": 3.9059975147247314,
222
+ "learning_rate": 0.0,
223
+ "loss": 8.0331,
224
+ "step": 25
225
+ },
226
+ {
227
+ "epoch": 0.021482277121374866,
228
+ "eval_loss": 1.923120141029358,
229
+ "eval_runtime": 19.308,
230
+ "eval_samples_per_second": 25.378,
231
+ "eval_steps_per_second": 12.689,
232
+ "step": 25
233
+ }
234
+ ],
235
+ "logging_steps": 1,
236
+ "max_steps": 25,
237
+ "num_input_tokens_seen": 0,
238
+ "num_train_epochs": 1,
239
+ "save_steps": 10,
240
+ "stateful_callbacks": {
241
+ "EarlyStoppingCallback": {
242
+ "args": {
243
+ "early_stopping_patience": 2,
244
+ "early_stopping_threshold": 0.0
245
+ },
246
+ "attributes": {
247
+ "early_stopping_patience_counter": 0
248
+ }
249
+ },
250
+ "TrainerControl": {
251
+ "args": {
252
+ "should_epoch_stop": false,
253
+ "should_evaluate": false,
254
+ "should_log": false,
255
+ "should_save": true,
256
+ "should_training_stop": true
257
+ },
258
+ "attributes": {}
259
+ }
260
+ },
261
+ "total_flos": 85979522138112.0,
262
+ "train_batch_size": 2,
263
+ "trial_name": null,
264
+ "trial_params": null
265
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d378a371d0114188b3cc9dcb923fabc93b7f3b4cd074ab7bd5f6614f5835e78
3
+ size 6712
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": "</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": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "</s>",
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_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "1": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "2": {
14
+ "content": "</s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ }
21
+ },
22
+ "bos_token": "</s>",
23
+ "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 %}",
24
+ "clean_up_tokenization_spaces": false,
25
+ "eos_token": "</s>",
26
+ "errors": "replace",
27
+ "model_max_length": 1000000000000000019884624838656,
28
+ "pad_token": "<pad>",
29
+ "tokenizer_class": "GPT2Tokenizer",
30
+ "unk_token": "</s>"
31
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d378a371d0114188b3cc9dcb923fabc93b7f3b4cd074ab7bd5f6614f5835e78
3
+ size 6712
vocab.json ADDED
The diff for this file is too large to render. See raw diff