chenhugging commited on
Commit
063c372
1 Parent(s): 9f269f7

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: peft
4
+ tags:
5
+ - llama-factory
6
+ - lora
7
+ - generated_from_trainer
8
+ base_model: mistralai/Mistral-7B-v0.1
9
+ model-index:
10
+ - name: mistral-7b-medwiki-v1
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # mistral-7b-medwiki-v1
18
+
19
+ This model is a fine-tuned version of [/workspace/model](https://huggingface.co//workspace/model) on the medical_meadow_wikidoc dataset.
20
+
21
+ ### Training hyperparameters
22
+
23
+ The following hyperparameters were used during training:
24
+ - learning_rate: 0.0005
25
+ - train_batch_size: 4
26
+ - eval_batch_size: 8
27
+ - seed: 42
28
+ - gradient_accumulation_steps: 4
29
+ - total_train_batch_size: 16
30
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
31
+ - lr_scheduler_type: cosine
32
+ - num_epochs: 1.0
33
+
34
+ ### Framework versions
35
+
36
+ - PEFT 0.8.2
37
+ - Transformers 4.37.2
38
+ - Pytorch 2.1.1+cu121
39
+ - Datasets 2.16.1
40
+ - Tokenizers 0.15.1
adapter_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 16,
13
+ "lora_dropout": 0.25,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 8,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "q_proj"
24
+ ],
25
+ "task_type": "CAUSAL_LM",
26
+ "use_rslora": false
27
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fdd1a1f26a7294fdd26fcd970b09e345ea5c68ad89c444f8074e6e3d74a131f
3
+ size 13648432
all_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 1.5403484671543806,
4
+ "train_runtime": 1808.2639,
5
+ "train_samples_per_second": 2.765,
6
+ "train_steps_per_second": 0.173
7
+ }
checkpoint-300/README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: /workspace/model
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
+
201
+
202
+ ### Framework versions
203
+
204
+ - PEFT 0.8.2
checkpoint-300/adapter_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "/workspace/model",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 16,
13
+ "lora_dropout": 0.25,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 8,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "q_proj"
24
+ ],
25
+ "task_type": "CAUSAL_LM",
26
+ "use_rslora": false
27
+ }
checkpoint-300/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:207450cd4a8587d36cfaa981932d7876200884bdd09f5313ee42f7ca2d3fd668
3
+ size 13648432
checkpoint-300/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2bbd5fc0c8e7fc3357fc5096d0bd70c7e0f1d9020a44cc359fee95b8e31cc14
3
+ size 27370618
checkpoint-300/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35159074b627a9b5c1f34de17af5db17aabcc37f3ef86b5dad66d2b6c9e97208
3
+ size 14244
checkpoint-300/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81f9efb7d63e8b867db120f8a2c01181a967402ff8810304596216c08ade62da
3
+ size 1064
checkpoint-300/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-300/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-300/tokenizer_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [],
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": true,
35
+ "model_max_length": 1000000000000000019884624838656,
36
+ "pad_token": "</s>",
37
+ "padding_side": "right",
38
+ "sp_model_kwargs": {},
39
+ "spaces_between_special_tokens": false,
40
+ "split_special_tokens": false,
41
+ "tokenizer_class": "LlamaTokenizer",
42
+ "unk_token": "<unk>",
43
+ "use_default_system_prompt": false
44
+ }
checkpoint-300/trainer_state.json ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.96,
5
+ "eval_steps": 500,
6
+ "global_step": 300,
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.03,
13
+ "learning_rate": 0.0004987337087656614,
14
+ "loss": 1.7079,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.06,
19
+ "learning_rate": 0.0004949476630105669,
20
+ "loss": 1.5881,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.1,
25
+ "learning_rate": 0.0004886802166271364,
26
+ "loss": 1.537,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.13,
31
+ "learning_rate": 0.0004799948609147061,
32
+ "loss": 1.6139,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.16,
37
+ "learning_rate": 0.000468979581391722,
38
+ "loss": 1.5905,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.19,
43
+ "learning_rate": 0.0004557459664734141,
44
+ "loss": 1.5532,
45
+ "step": 60
46
+ },
47
+ {
48
+ "epoch": 0.22,
49
+ "learning_rate": 0.0004404280770443398,
50
+ "loss": 1.5624,
51
+ "step": 70
52
+ },
53
+ {
54
+ "epoch": 0.26,
55
+ "learning_rate": 0.00042318108837739987,
56
+ "loss": 1.566,
57
+ "step": 80
58
+ },
59
+ {
60
+ "epoch": 0.29,
61
+ "learning_rate": 0.0004041797181571358,
62
+ "loss": 1.6084,
63
+ "step": 90
64
+ },
65
+ {
66
+ "epoch": 0.32,
67
+ "learning_rate": 0.00038361645653195025,
68
+ "loss": 1.5778,
69
+ "step": 100
70
+ },
71
+ {
72
+ "epoch": 0.35,
73
+ "learning_rate": 0.0003616996161254065,
74
+ "loss": 1.5952,
75
+ "step": 110
76
+ },
77
+ {
78
+ "epoch": 0.38,
79
+ "learning_rate": 0.0003386512217606339,
80
+ "loss": 1.526,
81
+ "step": 120
82
+ },
83
+ {
84
+ "epoch": 0.42,
85
+ "learning_rate": 0.00031470476127563017,
86
+ "loss": 1.5188,
87
+ "step": 130
88
+ },
89
+ {
90
+ "epoch": 0.45,
91
+ "learning_rate": 0.0002901028202144401,
92
+ "loss": 1.5547,
93
+ "step": 140
94
+ },
95
+ {
96
+ "epoch": 0.48,
97
+ "learning_rate": 0.00026509462435557154,
98
+ "loss": 1.4073,
99
+ "step": 150
100
+ },
101
+ {
102
+ "epoch": 0.51,
103
+ "learning_rate": 0.0002399335149726463,
104
+ "loss": 1.543,
105
+ "step": 160
106
+ },
107
+ {
108
+ "epoch": 0.54,
109
+ "learning_rate": 0.0002148743824037269,
110
+ "loss": 1.4798,
111
+ "step": 170
112
+ },
113
+ {
114
+ "epoch": 0.58,
115
+ "learning_rate": 0.00019017108392811063,
116
+ "loss": 1.479,
117
+ "step": 180
118
+ },
119
+ {
120
+ "epoch": 0.61,
121
+ "learning_rate": 0.00016607387210834887,
122
+ "loss": 1.5438,
123
+ "step": 190
124
+ },
125
+ {
126
+ "epoch": 0.64,
127
+ "learning_rate": 0.00014282685964923643,
128
+ "loss": 1.5179,
129
+ "step": 200
130
+ },
131
+ {
132
+ "epoch": 0.67,
133
+ "learning_rate": 0.00012066554645558578,
134
+ "loss": 1.4537,
135
+ "step": 210
136
+ },
137
+ {
138
+ "epoch": 0.7,
139
+ "learning_rate": 9.981443394050524e-05,
140
+ "loss": 1.5523,
141
+ "step": 220
142
+ },
143
+ {
144
+ "epoch": 0.74,
145
+ "learning_rate": 8.048475075202727e-05,
146
+ "loss": 1.5372,
147
+ "step": 230
148
+ },
149
+ {
150
+ "epoch": 0.77,
151
+ "learning_rate": 6.28723129572247e-05,
152
+ "loss": 1.5376,
153
+ "step": 240
154
+ },
155
+ {
156
+ "epoch": 0.8,
157
+ "learning_rate": 4.715554036085673e-05,
158
+ "loss": 1.5009,
159
+ "step": 250
160
+ },
161
+ {
162
+ "epoch": 0.83,
163
+ "learning_rate": 3.3493649053890325e-05,
164
+ "loss": 1.5572,
165
+ "step": 260
166
+ },
167
+ {
168
+ "epoch": 0.86,
169
+ "learning_rate": 2.2025038501977485e-05,
170
+ "loss": 1.5053,
171
+ "step": 270
172
+ },
173
+ {
174
+ "epoch": 0.9,
175
+ "learning_rate": 1.286588951321363e-05,
176
+ "loss": 1.5444,
177
+ "step": 280
178
+ },
179
+ {
180
+ "epoch": 0.93,
181
+ "learning_rate": 6.108987288226536e-06,
182
+ "loss": 1.5053,
183
+ "step": 290
184
+ },
185
+ {
186
+ "epoch": 0.96,
187
+ "learning_rate": 1.822781475486507e-06,
188
+ "loss": 1.4731,
189
+ "step": 300
190
+ }
191
+ ],
192
+ "logging_steps": 10,
193
+ "max_steps": 312,
194
+ "num_input_tokens_seen": 0,
195
+ "num_train_epochs": 1,
196
+ "save_steps": 100,
197
+ "total_flos": 1.0028445508042752e+17,
198
+ "train_batch_size": 4,
199
+ "trial_name": null,
200
+ "trial_params": null
201
+ }
checkpoint-300/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:601bb395054a08c7476ebf0a0eba1275bdf371fef7931c27b6a44d109cbca497
3
+ size 4920
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [],
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": true,
35
+ "model_max_length": 1000000000000000019884624838656,
36
+ "pad_token": "</s>",
37
+ "padding_side": "right",
38
+ "sp_model_kwargs": {},
39
+ "spaces_between_special_tokens": false,
40
+ "split_special_tokens": false,
41
+ "tokenizer_class": "LlamaTokenizer",
42
+ "unk_token": "<unk>",
43
+ "use_default_system_prompt": false
44
+ }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 1.5403484671543806,
4
+ "train_runtime": 1808.2639,
5
+ "train_samples_per_second": 2.765,
6
+ "train_steps_per_second": 0.173
7
+ }
trainer_log.jsonl ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"current_steps": 10, "total_steps": 312, "loss": 1.7079, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0004987337087656614, "epoch": 0.03, "percentage": 3.21, "elapsed_time": "0:01:01", "remaining_time": "0:30:51"}
2
+ {"current_steps": 20, "total_steps": 312, "loss": 1.5881, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0004949476630105669, "epoch": 0.06, "percentage": 6.41, "elapsed_time": "0:01:54", "remaining_time": "0:27:57"}
3
+ {"current_steps": 30, "total_steps": 312, "loss": 1.537, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0004886802166271364, "epoch": 0.1, "percentage": 9.62, "elapsed_time": "0:02:56", "remaining_time": "0:27:42"}
4
+ {"current_steps": 40, "total_steps": 312, "loss": 1.6139, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0004799948609147061, "epoch": 0.13, "percentage": 12.82, "elapsed_time": "0:03:48", "remaining_time": "0:25:53"}
5
+ {"current_steps": 50, "total_steps": 312, "loss": 1.5905, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.000468979581391722, "epoch": 0.16, "percentage": 16.03, "elapsed_time": "0:04:38", "remaining_time": "0:24:21"}
6
+ {"current_steps": 60, "total_steps": 312, "loss": 1.5532, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0004557459664734141, "epoch": 0.19, "percentage": 19.23, "elapsed_time": "0:05:38", "remaining_time": "0:23:41"}
7
+ {"current_steps": 70, "total_steps": 312, "loss": 1.5624, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0004404280770443398, "epoch": 0.22, "percentage": 22.44, "elapsed_time": "0:06:28", "remaining_time": "0:22:21"}
8
+ {"current_steps": 80, "total_steps": 312, "loss": 1.566, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00042318108837739987, "epoch": 0.26, "percentage": 25.64, "elapsed_time": "0:07:26", "remaining_time": "0:21:34"}
9
+ {"current_steps": 90, "total_steps": 312, "loss": 1.6084, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0004041797181571358, "epoch": 0.29, "percentage": 28.85, "elapsed_time": "0:08:21", "remaining_time": "0:20:35"}
10
+ {"current_steps": 100, "total_steps": 312, "loss": 1.5778, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00038361645653195025, "epoch": 0.32, "percentage": 32.05, "elapsed_time": "0:09:29", "remaining_time": "0:20:08"}
11
+ {"current_steps": 110, "total_steps": 312, "loss": 1.5952, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0003616996161254065, "epoch": 0.35, "percentage": 35.26, "elapsed_time": "0:10:35", "remaining_time": "0:19:27"}
12
+ {"current_steps": 120, "total_steps": 312, "loss": 1.526, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0003386512217606339, "epoch": 0.38, "percentage": 38.46, "elapsed_time": "0:11:46", "remaining_time": "0:18:50"}
13
+ {"current_steps": 130, "total_steps": 312, "loss": 1.5188, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00031470476127563017, "epoch": 0.42, "percentage": 41.67, "elapsed_time": "0:12:45", "remaining_time": "0:17:51"}
14
+ {"current_steps": 140, "total_steps": 312, "loss": 1.5547, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0002901028202144401, "epoch": 0.45, "percentage": 44.87, "elapsed_time": "0:13:48", "remaining_time": "0:16:57"}
15
+ {"current_steps": 150, "total_steps": 312, "loss": 1.4073, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00026509462435557154, "epoch": 0.48, "percentage": 48.08, "elapsed_time": "0:14:41", "remaining_time": "0:15:52"}
16
+ {"current_steps": 160, "total_steps": 312, "loss": 1.543, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0002399335149726463, "epoch": 0.51, "percentage": 51.28, "elapsed_time": "0:15:32", "remaining_time": "0:14:45"}
17
+ {"current_steps": 170, "total_steps": 312, "loss": 1.4798, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0002148743824037269, "epoch": 0.54, "percentage": 54.49, "elapsed_time": "0:16:34", "remaining_time": "0:13:50"}
18
+ {"current_steps": 180, "total_steps": 312, "loss": 1.479, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00019017108392811063, "epoch": 0.58, "percentage": 57.69, "elapsed_time": "0:17:29", "remaining_time": "0:12:49"}
19
+ {"current_steps": 190, "total_steps": 312, "loss": 1.5438, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00016607387210834887, "epoch": 0.61, "percentage": 60.9, "elapsed_time": "0:18:31", "remaining_time": "0:11:53"}
20
+ {"current_steps": 200, "total_steps": 312, "loss": 1.5179, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00014282685964923643, "epoch": 0.64, "percentage": 64.1, "elapsed_time": "0:19:30", "remaining_time": "0:10:55"}
21
+ {"current_steps": 210, "total_steps": 312, "loss": 1.4537, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00012066554645558578, "epoch": 0.67, "percentage": 67.31, "elapsed_time": "0:20:35", "remaining_time": "0:09:59"}
22
+ {"current_steps": 220, "total_steps": 312, "loss": 1.5523, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 9.981443394050524e-05, "epoch": 0.7, "percentage": 70.51, "elapsed_time": "0:21:29", "remaining_time": "0:08:59"}
23
+ {"current_steps": 230, "total_steps": 312, "loss": 1.5372, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 8.048475075202727e-05, "epoch": 0.74, "percentage": 73.72, "elapsed_time": "0:22:23", "remaining_time": "0:07:58"}
24
+ {"current_steps": 240, "total_steps": 312, "loss": 1.5376, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 6.28723129572247e-05, "epoch": 0.77, "percentage": 76.92, "elapsed_time": "0:23:16", "remaining_time": "0:06:59"}
25
+ {"current_steps": 250, "total_steps": 312, "loss": 1.5009, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.715554036085673e-05, "epoch": 0.8, "percentage": 80.13, "elapsed_time": "0:24:15", "remaining_time": "0:06:01"}
26
+ {"current_steps": 260, "total_steps": 312, "loss": 1.5572, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 3.3493649053890325e-05, "epoch": 0.83, "percentage": 83.33, "elapsed_time": "0:25:07", "remaining_time": "0:05:01"}
27
+ {"current_steps": 270, "total_steps": 312, "loss": 1.5053, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 2.2025038501977485e-05, "epoch": 0.86, "percentage": 86.54, "elapsed_time": "0:26:01", "remaining_time": "0:04:02"}
28
+ {"current_steps": 280, "total_steps": 312, "loss": 1.5444, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 1.286588951321363e-05, "epoch": 0.9, "percentage": 89.74, "elapsed_time": "0:27:01", "remaining_time": "0:03:05"}
29
+ {"current_steps": 290, "total_steps": 312, "loss": 1.5053, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 6.108987288226536e-06, "epoch": 0.93, "percentage": 92.95, "elapsed_time": "0:27:53", "remaining_time": "0:02:06"}
30
+ {"current_steps": 300, "total_steps": 312, "loss": 1.4731, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 1.822781475486507e-06, "epoch": 0.96, "percentage": 96.15, "elapsed_time": "0:28:55", "remaining_time": "0:01:09"}
31
+ {"current_steps": 310, "total_steps": 312, "loss": 1.5291, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 5.069275378746796e-08, "epoch": 0.99, "percentage": 99.36, "elapsed_time": "0:29:56", "remaining_time": "0:00:11"}
32
+ {"current_steps": 312, "total_steps": 312, "loss": null, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": null, "epoch": 1.0, "percentage": 100.0, "elapsed_time": "0:30:08", "remaining_time": "0:00:00"}
trainer_state.json ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9984,
5
+ "eval_steps": 500,
6
+ "global_step": 312,
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.03,
13
+ "learning_rate": 0.0004987337087656614,
14
+ "loss": 1.7079,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.06,
19
+ "learning_rate": 0.0004949476630105669,
20
+ "loss": 1.5881,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.1,
25
+ "learning_rate": 0.0004886802166271364,
26
+ "loss": 1.537,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.13,
31
+ "learning_rate": 0.0004799948609147061,
32
+ "loss": 1.6139,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.16,
37
+ "learning_rate": 0.000468979581391722,
38
+ "loss": 1.5905,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.19,
43
+ "learning_rate": 0.0004557459664734141,
44
+ "loss": 1.5532,
45
+ "step": 60
46
+ },
47
+ {
48
+ "epoch": 0.22,
49
+ "learning_rate": 0.0004404280770443398,
50
+ "loss": 1.5624,
51
+ "step": 70
52
+ },
53
+ {
54
+ "epoch": 0.26,
55
+ "learning_rate": 0.00042318108837739987,
56
+ "loss": 1.566,
57
+ "step": 80
58
+ },
59
+ {
60
+ "epoch": 0.29,
61
+ "learning_rate": 0.0004041797181571358,
62
+ "loss": 1.6084,
63
+ "step": 90
64
+ },
65
+ {
66
+ "epoch": 0.32,
67
+ "learning_rate": 0.00038361645653195025,
68
+ "loss": 1.5778,
69
+ "step": 100
70
+ },
71
+ {
72
+ "epoch": 0.35,
73
+ "learning_rate": 0.0003616996161254065,
74
+ "loss": 1.5952,
75
+ "step": 110
76
+ },
77
+ {
78
+ "epoch": 0.38,
79
+ "learning_rate": 0.0003386512217606339,
80
+ "loss": 1.526,
81
+ "step": 120
82
+ },
83
+ {
84
+ "epoch": 0.42,
85
+ "learning_rate": 0.00031470476127563017,
86
+ "loss": 1.5188,
87
+ "step": 130
88
+ },
89
+ {
90
+ "epoch": 0.45,
91
+ "learning_rate": 0.0002901028202144401,
92
+ "loss": 1.5547,
93
+ "step": 140
94
+ },
95
+ {
96
+ "epoch": 0.48,
97
+ "learning_rate": 0.00026509462435557154,
98
+ "loss": 1.4073,
99
+ "step": 150
100
+ },
101
+ {
102
+ "epoch": 0.51,
103
+ "learning_rate": 0.0002399335149726463,
104
+ "loss": 1.543,
105
+ "step": 160
106
+ },
107
+ {
108
+ "epoch": 0.54,
109
+ "learning_rate": 0.0002148743824037269,
110
+ "loss": 1.4798,
111
+ "step": 170
112
+ },
113
+ {
114
+ "epoch": 0.58,
115
+ "learning_rate": 0.00019017108392811063,
116
+ "loss": 1.479,
117
+ "step": 180
118
+ },
119
+ {
120
+ "epoch": 0.61,
121
+ "learning_rate": 0.00016607387210834887,
122
+ "loss": 1.5438,
123
+ "step": 190
124
+ },
125
+ {
126
+ "epoch": 0.64,
127
+ "learning_rate": 0.00014282685964923643,
128
+ "loss": 1.5179,
129
+ "step": 200
130
+ },
131
+ {
132
+ "epoch": 0.67,
133
+ "learning_rate": 0.00012066554645558578,
134
+ "loss": 1.4537,
135
+ "step": 210
136
+ },
137
+ {
138
+ "epoch": 0.7,
139
+ "learning_rate": 9.981443394050524e-05,
140
+ "loss": 1.5523,
141
+ "step": 220
142
+ },
143
+ {
144
+ "epoch": 0.74,
145
+ "learning_rate": 8.048475075202727e-05,
146
+ "loss": 1.5372,
147
+ "step": 230
148
+ },
149
+ {
150
+ "epoch": 0.77,
151
+ "learning_rate": 6.28723129572247e-05,
152
+ "loss": 1.5376,
153
+ "step": 240
154
+ },
155
+ {
156
+ "epoch": 0.8,
157
+ "learning_rate": 4.715554036085673e-05,
158
+ "loss": 1.5009,
159
+ "step": 250
160
+ },
161
+ {
162
+ "epoch": 0.83,
163
+ "learning_rate": 3.3493649053890325e-05,
164
+ "loss": 1.5572,
165
+ "step": 260
166
+ },
167
+ {
168
+ "epoch": 0.86,
169
+ "learning_rate": 2.2025038501977485e-05,
170
+ "loss": 1.5053,
171
+ "step": 270
172
+ },
173
+ {
174
+ "epoch": 0.9,
175
+ "learning_rate": 1.286588951321363e-05,
176
+ "loss": 1.5444,
177
+ "step": 280
178
+ },
179
+ {
180
+ "epoch": 0.93,
181
+ "learning_rate": 6.108987288226536e-06,
182
+ "loss": 1.5053,
183
+ "step": 290
184
+ },
185
+ {
186
+ "epoch": 0.96,
187
+ "learning_rate": 1.822781475486507e-06,
188
+ "loss": 1.4731,
189
+ "step": 300
190
+ },
191
+ {
192
+ "epoch": 0.99,
193
+ "learning_rate": 5.069275378746796e-08,
194
+ "loss": 1.5291,
195
+ "step": 310
196
+ },
197
+ {
198
+ "epoch": 1.0,
199
+ "step": 312,
200
+ "total_flos": 1.0452011423603098e+17,
201
+ "train_loss": 1.5403484671543806,
202
+ "train_runtime": 1808.2639,
203
+ "train_samples_per_second": 2.765,
204
+ "train_steps_per_second": 0.173
205
+ }
206
+ ],
207
+ "logging_steps": 10,
208
+ "max_steps": 312,
209
+ "num_input_tokens_seen": 0,
210
+ "num_train_epochs": 1,
211
+ "save_steps": 100,
212
+ "total_flos": 1.0452011423603098e+17,
213
+ "train_batch_size": 4,
214
+ "trial_name": null,
215
+ "trial_params": null
216
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:601bb395054a08c7476ebf0a0eba1275bdf371fef7931c27b6a44d109cbca497
3
+ size 4920