farmery commited on
Commit
062fa84
·
verified ·
1 Parent(s): bca6bdb

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: HuggingFaceM4/tiny-random-LlamaForCausalLM
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 4aaa096e-6137-4be8-bec2-b203dccb0315
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: HuggingFaceM4/tiny-random-LlamaForCausalLM
22
+ bf16: auto
23
+ chat_template: llama3
24
+ data_processes: 16
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - f73991f5cd91c359_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/f73991f5cd91c359_train_data.json
32
+ type:
33
+ field_instruction: source_article
34
+ field_output: logical_fallacies
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ device_map: auto
42
+ do_eval: true
43
+ early_stopping_patience: 1
44
+ eval_batch_size: 8
45
+ eval_max_new_tokens: 128
46
+ eval_steps: 25
47
+ eval_table_size: null
48
+ evals_per_epoch: null
49
+ flash_attention: true
50
+ fp16: null
51
+ fsdp: null
52
+ fsdp_config: null
53
+ gradient_accumulation_steps: 4
54
+ gradient_checkpointing: true
55
+ group_by_length: true
56
+ hub_model_id: sn5601/4aaa096e-6137-4be8-bec2-b203dccb0315
57
+ hub_repo: null
58
+ hub_strategy: checkpoint
59
+ hub_token: null
60
+ learning_rate: 0.0003
61
+ load_in_4bit: false
62
+ load_in_8bit: false
63
+ local_rank: null
64
+ logging_steps: 1
65
+ lora_alpha: 32
66
+ lora_dropout: 0.05
67
+ lora_fan_in_fan_out: null
68
+ lora_model_dir: null
69
+ lora_r: 16
70
+ lora_target_linear: true
71
+ lr_scheduler: cosine
72
+ max_grad_norm: 1.0
73
+ max_memory:
74
+ 0: 70GB
75
+ max_steps: 200
76
+ micro_batch_size: 8
77
+ mlflow_experiment_name: /tmp/f73991f5cd91c359_train_data.json
78
+ model_type: AutoModelForCausalLM
79
+ num_epochs: 2
80
+ optim_args:
81
+ adam_beta1: 0.9
82
+ adam_beta2: 0.95
83
+ adam_epsilon: 1e-5
84
+ optimizer: adamw_torch
85
+ output_dir: miner_id_24
86
+ pad_to_sequence_len: true
87
+ resume_from_checkpoint: null
88
+ s2_attention: null
89
+ sample_packing: false
90
+ save_steps: 50
91
+ saves_per_epoch: null
92
+ sequence_len: 1028
93
+ strict: false
94
+ tf32: false
95
+ tokenizer_type: AutoTokenizer
96
+ train_on_inputs: false
97
+ trust_remote_code: true
98
+ val_set_size: 50
99
+ wandb_entity: sn56-miner
100
+ wandb_mode: disabled
101
+ wandb_name: 4aaa096e-6137-4be8-bec2-b203dccb0315
102
+ wandb_project: god
103
+ wandb_run: 1ffj
104
+ wandb_runid: 4aaa096e-6137-4be8-bec2-b203dccb0315
105
+ warmup_steps: 10
106
+ weight_decay: 0.0
107
+ xformers_attention: null
108
+
109
+ ```
110
+
111
+ </details><br>
112
+
113
+ # 4aaa096e-6137-4be8-bec2-b203dccb0315
114
+
115
+ This model is a fine-tuned version of [HuggingFaceM4/tiny-random-LlamaForCausalLM](https://huggingface.co/HuggingFaceM4/tiny-random-LlamaForCausalLM) on the None dataset.
116
+ It achieves the following results on the evaluation set:
117
+ - Loss: 10.3421
118
+
119
+ ## Model description
120
+
121
+ More information needed
122
+
123
+ ## Intended uses & limitations
124
+
125
+ More information needed
126
+
127
+ ## Training and evaluation data
128
+
129
+ More information needed
130
+
131
+ ## Training procedure
132
+
133
+ ### Training hyperparameters
134
+
135
+ The following hyperparameters were used during training:
136
+ - learning_rate: 0.0003
137
+ - train_batch_size: 8
138
+ - eval_batch_size: 8
139
+ - seed: 42
140
+ - distributed_type: multi-GPU
141
+ - num_devices: 4
142
+ - gradient_accumulation_steps: 4
143
+ - total_train_batch_size: 128
144
+ - total_eval_batch_size: 32
145
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
146
+ - lr_scheduler_type: cosine
147
+ - lr_scheduler_warmup_steps: 10
148
+ - training_steps: 55
149
+
150
+ ### Training results
151
+
152
+ | Training Loss | Epoch | Step | Validation Loss |
153
+ |:-------------:|:------:|:----:|:---------------:|
154
+ | 10.3832 | 0.0364 | 1 | 10.3782 |
155
+ | 10.3575 | 0.9091 | 25 | 10.3589 |
156
+ | 10.2515 | 1.8182 | 50 | 10.3421 |
157
+
158
+
159
+ ### Framework versions
160
+
161
+ - PEFT 0.13.2
162
+ - Transformers 4.46.0
163
+ - Pytorch 2.5.0+cu124
164
+ - Datasets 3.0.1
165
+ - 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": "HuggingFaceM4/tiny-random-LlamaForCausalLM",
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": 32,
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": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "up_proj",
25
+ "down_proj",
26
+ "q_proj",
27
+ "v_proj",
28
+ "k_proj",
29
+ "gate_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:be4f380541773c323d50b0123abe13a44b04af3e0c033b89438093de313fce7b
3
+ size 57218
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:720094059549fcf949f590d63d51c3664a9b27559b01b45d98a2a451b713e7c7
3
+ size 50624
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "HuggingFaceM4/tiny-random-LlamaForCausalLM",
4
+ "architectures": [
5
+ "LlamaForCausalLM"
6
+ ],
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 0,
10
+ "eos_token_id": 2,
11
+ "head_dim": 4,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 16,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 64,
16
+ "max_position_embeddings": 2048,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 4,
20
+ "num_hidden_layers": 2,
21
+ "num_key_value_heads": 4,
22
+ "pad_token_id": -1,
23
+ "pretraining_tp": 1,
24
+ "rms_norm_eps": 1e-06,
25
+ "rope_scaling": null,
26
+ "rope_theta": 10000.0,
27
+ "tie_word_embeddings": false,
28
+ "torch_dtype": "float16",
29
+ "transformers_version": "4.46.0",
30
+ "use_cache": false,
31
+ "vocab_size": 32000
32
+ }
last-checkpoint/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: HuggingFaceM4/tiny-random-LlamaForCausalLM
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": "HuggingFaceM4/tiny-random-LlamaForCausalLM",
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": 32,
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": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "up_proj",
25
+ "down_proj",
26
+ "q_proj",
27
+ "v_proj",
28
+ "k_proj",
29
+ "gate_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:08387f8600697465ba9a491255fc6ac96d723384a7765957397f847eb21cc26f
3
+ size 50624
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a90035845e92a04b624f9d8e89ea0ea156c9d13d2f83650c5d38069a9c23869
3
+ size 118090
last-checkpoint/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cccbbe8b3a7f210f134f20451255943ad2a2fc7b83f11c3f61d2fc33985bfd4
3
+ size 15024
last-checkpoint/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebe0439324d17dc7b562b80e24e173a3a219afc7889095d3d6b290fa9cb1697e
3
+ size 15024
last-checkpoint/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f614c7b6eb2d3ec336cedccb565b4ee318fd85a0dee96e5aba91bc0f0e70173
3
+ size 15024
last-checkpoint/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bbee8346ba18531760fa9aaff3a4f6c1f08d06972b4eec1b3624257a2bd8738
3
+ size 15024
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f590ad1ae5c8e7b4f203a10a7ab525a3ee9074e4623aa7b9c3bf0ec215582052
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": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
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": 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.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,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "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": true,
36
+ "model_max_length": 2048,
37
+ "pad_token": "<unk>",
38
+ "tokenizer_class": "LlamaTokenizer",
39
+ "unk_token": "<unk>",
40
+ "use_default_system_prompt": true
41
+ }
last-checkpoint/trainer_state.json ADDED
@@ -0,0 +1,451 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 10.342057228088379,
3
+ "best_model_checkpoint": "miner_id_24/checkpoint-50",
4
+ "epoch": 2.0,
5
+ "eval_steps": 25,
6
+ "global_step": 55,
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.03636363636363636,
13
+ "grad_norm": 0.053593236953020096,
14
+ "learning_rate": 2.9999999999999997e-05,
15
+ "loss": 10.3832,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.03636363636363636,
20
+ "eval_loss": 10.378164291381836,
21
+ "eval_runtime": 0.0279,
22
+ "eval_samples_per_second": 1791.519,
23
+ "eval_steps_per_second": 71.661,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 0.07272727272727272,
28
+ "grad_norm": 0.0719698965549469,
29
+ "learning_rate": 5.9999999999999995e-05,
30
+ "loss": 10.3838,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 0.10909090909090909,
35
+ "grad_norm": 0.06865470856428146,
36
+ "learning_rate": 8.999999999999999e-05,
37
+ "loss": 10.387,
38
+ "step": 3
39
+ },
40
+ {
41
+ "epoch": 0.14545454545454545,
42
+ "grad_norm": 0.06494639068841934,
43
+ "learning_rate": 0.00011999999999999999,
44
+ "loss": 10.3776,
45
+ "step": 4
46
+ },
47
+ {
48
+ "epoch": 0.18181818181818182,
49
+ "grad_norm": 0.07901167124509811,
50
+ "learning_rate": 0.00015,
51
+ "loss": 10.3681,
52
+ "step": 5
53
+ },
54
+ {
55
+ "epoch": 0.21818181818181817,
56
+ "grad_norm": 0.08017783612012863,
57
+ "learning_rate": 0.00017999999999999998,
58
+ "loss": 10.3657,
59
+ "step": 6
60
+ },
61
+ {
62
+ "epoch": 0.2545454545454545,
63
+ "grad_norm": 0.09101555496454239,
64
+ "learning_rate": 0.00020999999999999998,
65
+ "loss": 10.3732,
66
+ "step": 7
67
+ },
68
+ {
69
+ "epoch": 0.2909090909090909,
70
+ "grad_norm": 0.0688958540558815,
71
+ "learning_rate": 0.00023999999999999998,
72
+ "loss": 10.3835,
73
+ "step": 8
74
+ },
75
+ {
76
+ "epoch": 0.32727272727272727,
77
+ "grad_norm": 0.06125740706920624,
78
+ "learning_rate": 0.00027,
79
+ "loss": 10.3758,
80
+ "step": 9
81
+ },
82
+ {
83
+ "epoch": 0.36363636363636365,
84
+ "grad_norm": 0.06640874594449997,
85
+ "learning_rate": 0.0003,
86
+ "loss": 10.3775,
87
+ "step": 10
88
+ },
89
+ {
90
+ "epoch": 0.4,
91
+ "grad_norm": 0.0719643160700798,
92
+ "learning_rate": 0.0002996346075389736,
93
+ "loss": 10.3663,
94
+ "step": 11
95
+ },
96
+ {
97
+ "epoch": 0.43636363636363634,
98
+ "grad_norm": 0.07772038131952286,
99
+ "learning_rate": 0.0002985402103112355,
100
+ "loss": 10.3645,
101
+ "step": 12
102
+ },
103
+ {
104
+ "epoch": 0.4727272727272727,
105
+ "grad_norm": 0.0938938781619072,
106
+ "learning_rate": 0.0002967221401100708,
107
+ "loss": 10.367,
108
+ "step": 13
109
+ },
110
+ {
111
+ "epoch": 0.509090909090909,
112
+ "grad_norm": 0.08113312721252441,
113
+ "learning_rate": 0.0002941892543907478,
114
+ "loss": 10.3683,
115
+ "step": 14
116
+ },
117
+ {
118
+ "epoch": 0.5454545454545454,
119
+ "grad_norm": 0.06998950242996216,
120
+ "learning_rate": 0.0002909538931178862,
121
+ "loss": 10.3734,
122
+ "step": 15
123
+ },
124
+ {
125
+ "epoch": 0.5818181818181818,
126
+ "grad_norm": 0.08119933307170868,
127
+ "learning_rate": 0.0002870318186463901,
128
+ "loss": 10.3699,
129
+ "step": 16
130
+ },
131
+ {
132
+ "epoch": 0.6181818181818182,
133
+ "grad_norm": 0.08904324471950531,
134
+ "learning_rate": 0.000282442138928839,
135
+ "loss": 10.3694,
136
+ "step": 17
137
+ },
138
+ {
139
+ "epoch": 0.6545454545454545,
140
+ "grad_norm": 0.10189718008041382,
141
+ "learning_rate": 0.00027720721442346387,
142
+ "loss": 10.364,
143
+ "step": 18
144
+ },
145
+ {
146
+ "epoch": 0.6909090909090909,
147
+ "grad_norm": 0.11545747518539429,
148
+ "learning_rate": 0.0002713525491562421,
149
+ "loss": 10.3577,
150
+ "step": 19
151
+ },
152
+ {
153
+ "epoch": 0.7272727272727273,
154
+ "grad_norm": 0.13165277242660522,
155
+ "learning_rate": 0.00026490666646784665,
156
+ "loss": 10.3543,
157
+ "step": 20
158
+ },
159
+ {
160
+ "epoch": 0.7636363636363637,
161
+ "grad_norm": 0.08963130414485931,
162
+ "learning_rate": 0.00025790097005079764,
163
+ "loss": 10.365,
164
+ "step": 21
165
+ },
166
+ {
167
+ "epoch": 0.8,
168
+ "grad_norm": 0.09903620183467865,
169
+ "learning_rate": 0.0002503695909538287,
170
+ "loss": 10.3707,
171
+ "step": 22
172
+ },
173
+ {
174
+ "epoch": 0.8363636363636363,
175
+ "grad_norm": 0.11109227687120438,
176
+ "learning_rate": 0.0002423492212988487,
177
+ "loss": 10.3652,
178
+ "step": 23
179
+ },
180
+ {
181
+ "epoch": 0.8727272727272727,
182
+ "grad_norm": 0.1090570017695427,
183
+ "learning_rate": 0.00023387893552061199,
184
+ "loss": 10.3653,
185
+ "step": 24
186
+ },
187
+ {
188
+ "epoch": 0.9090909090909091,
189
+ "grad_norm": 0.13384577631950378,
190
+ "learning_rate": 0.000225,
191
+ "loss": 10.3575,
192
+ "step": 25
193
+ },
194
+ {
195
+ "epoch": 0.9090909090909091,
196
+ "eval_loss": 10.358928680419922,
197
+ "eval_runtime": 0.0255,
198
+ "eval_samples_per_second": 1959.552,
199
+ "eval_steps_per_second": 78.382,
200
+ "step": 25
201
+ },
202
+ {
203
+ "epoch": 0.9454545454545454,
204
+ "grad_norm": 0.15895330905914307,
205
+ "learning_rate": 0.0002157556720183616,
206
+ "loss": 10.3534,
207
+ "step": 26
208
+ },
209
+ {
210
+ "epoch": 0.9818181818181818,
211
+ "grad_norm": 0.20174622535705566,
212
+ "learning_rate": 0.0002061909890123868,
213
+ "loss": 10.3444,
214
+ "step": 27
215
+ },
216
+ {
217
+ "epoch": 1.018181818181818,
218
+ "grad_norm": 0.16725529730319977,
219
+ "learning_rate": 0.0001963525491562421,
220
+ "loss": 15.2738,
221
+ "step": 28
222
+ },
223
+ {
224
+ "epoch": 1.0545454545454545,
225
+ "grad_norm": 0.14053358137607574,
226
+ "learning_rate": 0.00018628828433995013,
227
+ "loss": 10.7264,
228
+ "step": 29
229
+ },
230
+ {
231
+ "epoch": 1.0909090909090908,
232
+ "grad_norm": 0.1419118493795395,
233
+ "learning_rate": 0.00017604722665003956,
234
+ "loss": 10.3282,
235
+ "step": 30
236
+ },
237
+ {
238
+ "epoch": 1.1272727272727272,
239
+ "grad_norm": 0.1286211758852005,
240
+ "learning_rate": 0.000165679269490148,
241
+ "loss": 10.4223,
242
+ "step": 31
243
+ },
244
+ {
245
+ "epoch": 1.1636363636363636,
246
+ "grad_norm": 0.1603860706090927,
247
+ "learning_rate": 0.00015523492450537517,
248
+ "loss": 10.01,
249
+ "step": 32
250
+ },
251
+ {
252
+ "epoch": 1.2,
253
+ "grad_norm": 0.1688288301229477,
254
+ "learning_rate": 0.0001447650754946249,
255
+ "loss": 10.4474,
256
+ "step": 33
257
+ },
258
+ {
259
+ "epoch": 1.2363636363636363,
260
+ "grad_norm": 0.19430461525917053,
261
+ "learning_rate": 0.000134320730509852,
262
+ "loss": 10.3057,
263
+ "step": 34
264
+ },
265
+ {
266
+ "epoch": 1.2727272727272727,
267
+ "grad_norm": 0.13318559527397156,
268
+ "learning_rate": 0.00012395277334996044,
269
+ "loss": 10.1536,
270
+ "step": 35
271
+ },
272
+ {
273
+ "epoch": 1.309090909090909,
274
+ "grad_norm": 0.1425338089466095,
275
+ "learning_rate": 0.00011371171566004985,
276
+ "loss": 10.5162,
277
+ "step": 36
278
+ },
279
+ {
280
+ "epoch": 1.3454545454545455,
281
+ "grad_norm": 0.16739521920681,
282
+ "learning_rate": 0.0001036474508437579,
283
+ "loss": 10.507,
284
+ "step": 37
285
+ },
286
+ {
287
+ "epoch": 1.3818181818181818,
288
+ "grad_norm": 0.1579529196023941,
289
+ "learning_rate": 9.380901098761319e-05,
290
+ "loss": 10.5032,
291
+ "step": 38
292
+ },
293
+ {
294
+ "epoch": 1.4181818181818182,
295
+ "grad_norm": 0.1803933084011078,
296
+ "learning_rate": 8.424432798163836e-05,
297
+ "loss": 10.1584,
298
+ "step": 39
299
+ },
300
+ {
301
+ "epoch": 1.4545454545454546,
302
+ "grad_norm": 0.16928422451019287,
303
+ "learning_rate": 7.500000000000002e-05,
304
+ "loss": 10.4381,
305
+ "step": 40
306
+ },
307
+ {
308
+ "epoch": 1.490909090909091,
309
+ "grad_norm": 0.21556209027767181,
310
+ "learning_rate": 6.612106447938799e-05,
311
+ "loss": 9.8712,
312
+ "step": 41
313
+ },
314
+ {
315
+ "epoch": 1.5272727272727273,
316
+ "grad_norm": 0.15240442752838135,
317
+ "learning_rate": 5.765077870115125e-05,
318
+ "loss": 10.8775,
319
+ "step": 42
320
+ },
321
+ {
322
+ "epoch": 1.5636363636363635,
323
+ "grad_norm": 0.16723187267780304,
324
+ "learning_rate": 4.963040904617131e-05,
325
+ "loss": 10.2402,
326
+ "step": 43
327
+ },
328
+ {
329
+ "epoch": 1.6,
330
+ "grad_norm": 0.14805755019187927,
331
+ "learning_rate": 4.209902994920235e-05,
332
+ "loss": 10.3794,
333
+ "step": 44
334
+ },
335
+ {
336
+ "epoch": 1.6363636363636362,
337
+ "grad_norm": 0.15014056861400604,
338
+ "learning_rate": 3.509333353215331e-05,
339
+ "loss": 10.2888,
340
+ "step": 45
341
+ },
342
+ {
343
+ "epoch": 1.6727272727272728,
344
+ "grad_norm": 0.18044382333755493,
345
+ "learning_rate": 2.8647450843757897e-05,
346
+ "loss": 10.233,
347
+ "step": 46
348
+ },
349
+ {
350
+ "epoch": 1.709090909090909,
351
+ "grad_norm": 0.19778087735176086,
352
+ "learning_rate": 2.2792785576536105e-05,
353
+ "loss": 10.4606,
354
+ "step": 47
355
+ },
356
+ {
357
+ "epoch": 1.7454545454545456,
358
+ "grad_norm": 0.17388062179088593,
359
+ "learning_rate": 1.755786107116095e-05,
360
+ "loss": 9.9209,
361
+ "step": 48
362
+ },
363
+ {
364
+ "epoch": 1.7818181818181817,
365
+ "grad_norm": 0.17143942415714264,
366
+ "learning_rate": 1.2968181353609852e-05,
367
+ "loss": 10.6057,
368
+ "step": 49
369
+ },
370
+ {
371
+ "epoch": 1.8181818181818183,
372
+ "grad_norm": 0.17745201289653778,
373
+ "learning_rate": 9.046106882113751e-06,
374
+ "loss": 10.2515,
375
+ "step": 50
376
+ },
377
+ {
378
+ "epoch": 1.8181818181818183,
379
+ "eval_loss": 10.342057228088379,
380
+ "eval_runtime": 0.0256,
381
+ "eval_samples_per_second": 1953.256,
382
+ "eval_steps_per_second": 78.13,
383
+ "step": 50
384
+ },
385
+ {
386
+ "epoch": 1.8545454545454545,
387
+ "grad_norm": 0.16553938388824463,
388
+ "learning_rate": 5.810745609252165e-06,
389
+ "loss": 10.6196,
390
+ "step": 51
391
+ },
392
+ {
393
+ "epoch": 1.8909090909090909,
394
+ "grad_norm": 0.179793581366539,
395
+ "learning_rate": 3.2778598899291465e-06,
396
+ "loss": 10.0928,
397
+ "step": 52
398
+ },
399
+ {
400
+ "epoch": 1.9272727272727272,
401
+ "grad_norm": 0.17320050299167633,
402
+ "learning_rate": 1.4597896887644456e-06,
403
+ "loss": 10.5475,
404
+ "step": 53
405
+ },
406
+ {
407
+ "epoch": 1.9636363636363636,
408
+ "grad_norm": 0.2175627201795578,
409
+ "learning_rate": 3.653924610263703e-07,
410
+ "loss": 10.4599,
411
+ "step": 54
412
+ },
413
+ {
414
+ "epoch": 2.0,
415
+ "grad_norm": 0.26624709367752075,
416
+ "learning_rate": 0.0,
417
+ "loss": 15.3055,
418
+ "step": 55
419
+ }
420
+ ],
421
+ "logging_steps": 1,
422
+ "max_steps": 55,
423
+ "num_input_tokens_seen": 0,
424
+ "num_train_epochs": 3,
425
+ "save_steps": 50,
426
+ "stateful_callbacks": {
427
+ "EarlyStoppingCallback": {
428
+ "args": {
429
+ "early_stopping_patience": 1,
430
+ "early_stopping_threshold": 0.0
431
+ },
432
+ "attributes": {
433
+ "early_stopping_patience_counter": 0
434
+ }
435
+ },
436
+ "TrainerControl": {
437
+ "args": {
438
+ "should_epoch_stop": false,
439
+ "should_evaluate": false,
440
+ "should_log": false,
441
+ "should_save": true,
442
+ "should_training_stop": true
443
+ },
444
+ "attributes": {}
445
+ }
446
+ },
447
+ "total_flos": 24451393781760.0,
448
+ "train_batch_size": 8,
449
+ "trial_name": null,
450
+ "trial_params": null
451
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d4b104e07637dc08c7b48deaa0635de70547826b08e60db5c2b0c75ca2886d3
3
+ size 6840
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
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": 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.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,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "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": true,
36
+ "model_max_length": 2048,
37
+ "pad_token": "<unk>",
38
+ "tokenizer_class": "LlamaTokenizer",
39
+ "unk_token": "<unk>",
40
+ "use_default_system_prompt": true
41
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d4b104e07637dc08c7b48deaa0635de70547826b08e60db5c2b0c75ca2886d3
3
+ size 6840