juyongjiang
commited on
Commit
•
6b17ef3
1
Parent(s):
d220bff
upload model checkpoint
Browse files- .gitattributes +2 -0
- README.md +76 -3
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- all_results.json +14 -0
- checkpoint-100/README.md +204 -0
- checkpoint-100/adapter_config.json +29 -0
- checkpoint-100/adapter_model.safetensors +3 -0
- checkpoint-100/optimizer.pt +3 -0
- checkpoint-100/rng_state_0.pth +3 -0
- checkpoint-100/rng_state_1.pth +3 -0
- checkpoint-100/rng_state_2.pth +3 -0
- checkpoint-100/rng_state_3.pth +3 -0
- checkpoint-100/rng_state_4.pth +3 -0
- checkpoint-100/rng_state_5.pth +3 -0
- checkpoint-100/rng_state_6.pth +3 -0
- checkpoint-100/rng_state_7.pth +3 -0
- checkpoint-100/scheduler.pt +3 -0
- checkpoint-100/special_tokens_map.json +34 -0
- checkpoint-100/tokenizer.json +3 -0
- checkpoint-100/tokenizer_config.json +70 -0
- checkpoint-100/trainer_state.json +240 -0
- checkpoint-100/training_args.bin +3 -0
- config.json +44 -0
- eval_results.json +8 -0
- runs/Jun13_05-25-07_gpu1-1/events.out.tfevents.1718227559.gpu1-1.428390.0 +3 -0
- runs/Jun13_05-25-07_gpu1-1/events.out.tfevents.1718227805.gpu1-1.428390.1 +3 -0
- special_tokens_map.json +34 -0
- tokenizer.json +3 -0
- tokenizer_config.json +70 -0
- train_results.json +9 -0
- trainer_state.json +257 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
checkpoint-100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,76 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- alignment-handbook
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- llama-duo/synth_summarize_dataset_dedup
|
8 |
+
base_model: google/gemma-7b
|
9 |
+
model-index:
|
10 |
+
- name: gemma7b-summarize-claude3sonnet-4k
|
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 |
+
# gemma7b-summarize-claude3sonnet-4k
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on the llama-duo/synth_summarize_dataset_dedup dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 3.0527
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0002
|
41 |
+
- train_batch_size: 4
|
42 |
+
- eval_batch_size: 2
|
43 |
+
- seed: 42
|
44 |
+
- distributed_type: multi-GPU
|
45 |
+
- num_devices: 8
|
46 |
+
- gradient_accumulation_steps: 2
|
47 |
+
- total_train_batch_size: 64
|
48 |
+
- total_eval_batch_size: 16
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: cosine
|
51 |
+
- lr_scheduler_warmup_ratio: 0.1
|
52 |
+
- num_epochs: 10
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
58 |
+
| 21.1609 | 1.0 | 10 | 12.3637 |
|
59 |
+
| 14.2403 | 2.0 | 20 | 7.7626 |
|
60 |
+
| 12.4548 | 3.0 | 30 | 6.8741 |
|
61 |
+
| 8.6478 | 4.0 | 40 | 6.1412 |
|
62 |
+
| 3.1923 | 5.0 | 50 | 4.4401 |
|
63 |
+
| 1.9614 | 6.0 | 60 | 3.3292 |
|
64 |
+
| 1.692 | 7.0 | 70 | 3.1272 |
|
65 |
+
| 1.5661 | 8.0 | 80 | 3.0726 |
|
66 |
+
| 1.5417 | 9.0 | 90 | 3.0536 |
|
67 |
+
| 1.5287 | 10.0 | 100 | 3.0527 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- PEFT 0.10.0
|
73 |
+
- Transformers 4.40.0
|
74 |
+
- Pytorch 2.1.2+cu121
|
75 |
+
- Datasets 2.18.0
|
76 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/gemma-7b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
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 |
+
"q_proj",
|
24 |
+
"v_proj"
|
25 |
+
],
|
26 |
+
"task_type": "CAUSAL_LM",
|
27 |
+
"use_dora": false,
|
28 |
+
"use_rslora": false
|
29 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07bdaf2d0dd9da3c645769ad26b5a93a1c24bb68c420ba54a5a01e2bd7a49583
|
3 |
+
size 6437384
|
all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_loss": 3.052680015563965,
|
4 |
+
"eval_runtime": 0.2405,
|
5 |
+
"eval_samples": 25,
|
6 |
+
"eval_samples_per_second": 41.583,
|
7 |
+
"eval_steps_per_second": 4.158,
|
8 |
+
"total_flos": 3.0491778760677786e+17,
|
9 |
+
"train_loss": 7.823821220397949,
|
10 |
+
"train_runtime": 245.6292,
|
11 |
+
"train_samples": 3968,
|
12 |
+
"train_samples_per_second": 25.038,
|
13 |
+
"train_steps_per_second": 0.407
|
14 |
+
}
|
checkpoint-100/README.md
ADDED
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: /hpc2hdd/home/fwang380/OpenSource/Models/gemma-7b
|
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.10.0
|
checkpoint-100/adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "/hpc2hdd/home/fwang380/OpenSource/Models/gemma-7b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
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 |
+
"q_proj",
|
24 |
+
"v_proj"
|
25 |
+
],
|
26 |
+
"task_type": "CAUSAL_LM",
|
27 |
+
"use_dora": false,
|
28 |
+
"use_rslora": false
|
29 |
+
}
|
checkpoint-100/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07bdaf2d0dd9da3c645769ad26b5a93a1c24bb68c420ba54a5a01e2bd7a49583
|
3 |
+
size 6437384
|
checkpoint-100/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5139ff570652891c589a7c1bd290d124c80243238626ea991ed128490c7ec208
|
3 |
+
size 12939322
|
checkpoint-100/rng_state_0.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df84a3867aab88e0215f9050314d2e412f420c167e3532c918e6fa08628833bf
|
3 |
+
size 15984
|
checkpoint-100/rng_state_1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:edc7cdf90ce04e197a4086ea3697e60bb7b0bd977d70bc8e25264b5f73885030
|
3 |
+
size 15984
|
checkpoint-100/rng_state_2.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c3e70cf0c4a77ed345315db2f8a132f160557ebddb209976276e9f7da775bb7
|
3 |
+
size 15984
|
checkpoint-100/rng_state_3.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20b83b5fe6acc3c2cc448a5e1739a27fe35c2a6b953655ad2f2646c0b3dabba0
|
3 |
+
size 15984
|
checkpoint-100/rng_state_4.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36a3c643bca4b24994802497df06719a3fd1d6adabcbc82cd60764a38d06a92d
|
3 |
+
size 15984
|
checkpoint-100/rng_state_5.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98daf325551d327eb8b7ded5d76139c22c3b3b6465249777264db331bb0798fc
|
3 |
+
size 15984
|
checkpoint-100/rng_state_6.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb860996a46e64f142bd7d3923c48cc6c36833fa0ef5e369eea599d2b12e4b8d
|
3 |
+
size 15984
|
checkpoint-100/rng_state_7.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f15b93383a107c2f5e246c8c7a2a2db90ed71147dbb9d5b70d1fde7fd6738c76
|
3 |
+
size 15984
|
checkpoint-100/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a60c7d771c1fd156acee762fba03c724cb41829a3f71df370ecd1d20b134982
|
3 |
+
size 1064
|
checkpoint-100/special_tokens_map.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<bos>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": {
|
21 |
+
"content": "<pad>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false
|
26 |
+
},
|
27 |
+
"unk_token": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|
checkpoint-100/tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:322a5f52ab5cab196761ab397a022d6fa3a2e1418585e532bb6efb2fedd2ae94
|
3 |
+
size 17477501
|
checkpoint-100/tokenizer_config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<bos>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"106": {
|
38 |
+
"content": "<|im_start|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"107": {
|
46 |
+
"content": "<|im_end|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
}
|
53 |
+
},
|
54 |
+
"additional_special_tokens": [
|
55 |
+
"<|im_start|>",
|
56 |
+
"<|im_end|>"
|
57 |
+
],
|
58 |
+
"bos_token": "<bos>",
|
59 |
+
"chat_template": "{% if messages[0]['role'] == 'user' or messages[0]['role'] == 'system' %}{{ bos_token }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% elif messages[-1]['role'] == 'assistant' %}{{ eos_token }}{% endif %}",
|
60 |
+
"clean_up_tokenization_spaces": false,
|
61 |
+
"eos_token": "<eos>",
|
62 |
+
"legacy": null,
|
63 |
+
"model_max_length": 2048,
|
64 |
+
"pad_token": "<pad>",
|
65 |
+
"sp_model_kwargs": {},
|
66 |
+
"spaces_between_special_tokens": false,
|
67 |
+
"tokenizer_class": "GemmaTokenizer",
|
68 |
+
"unk_token": "<unk>",
|
69 |
+
"use_default_system_prompt": false
|
70 |
+
}
|
checkpoint-100/trainer_state.json
ADDED
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 100,
|
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.1,
|
13 |
+
"grad_norm": 204.0,
|
14 |
+
"learning_rate": 2e-05,
|
15 |
+
"loss": 35.5858,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.5,
|
20 |
+
"grad_norm": 83.0,
|
21 |
+
"learning_rate": 0.0001,
|
22 |
+
"loss": 33.1551,
|
23 |
+
"step": 5
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 1.0,
|
27 |
+
"grad_norm": 19.0,
|
28 |
+
"learning_rate": 0.0002,
|
29 |
+
"loss": 21.1609,
|
30 |
+
"step": 10
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 1.0,
|
34 |
+
"eval_loss": 12.363748550415039,
|
35 |
+
"eval_runtime": 0.2492,
|
36 |
+
"eval_samples_per_second": 40.136,
|
37 |
+
"eval_steps_per_second": 4.014,
|
38 |
+
"step": 10
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 1.5,
|
42 |
+
"grad_norm": 6.40625,
|
43 |
+
"learning_rate": 0.00019848077530122083,
|
44 |
+
"loss": 16.2359,
|
45 |
+
"step": 15
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 2.0,
|
49 |
+
"grad_norm": 3.234375,
|
50 |
+
"learning_rate": 0.00019396926207859084,
|
51 |
+
"loss": 14.2403,
|
52 |
+
"step": 20
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 2.0,
|
56 |
+
"eval_loss": 7.762616157531738,
|
57 |
+
"eval_runtime": 0.234,
|
58 |
+
"eval_samples_per_second": 42.735,
|
59 |
+
"eval_steps_per_second": 4.274,
|
60 |
+
"step": 20
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 2.5,
|
64 |
+
"grad_norm": 4.5625,
|
65 |
+
"learning_rate": 0.00018660254037844388,
|
66 |
+
"loss": 13.444,
|
67 |
+
"step": 25
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 3.0,
|
71 |
+
"grad_norm": 8.3125,
|
72 |
+
"learning_rate": 0.0001766044443118978,
|
73 |
+
"loss": 12.4548,
|
74 |
+
"step": 30
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 3.0,
|
78 |
+
"eval_loss": 6.874077796936035,
|
79 |
+
"eval_runtime": 0.2344,
|
80 |
+
"eval_samples_per_second": 42.661,
|
81 |
+
"eval_steps_per_second": 4.266,
|
82 |
+
"step": 30
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"epoch": 3.5,
|
86 |
+
"grad_norm": 11.875,
|
87 |
+
"learning_rate": 0.00016427876096865394,
|
88 |
+
"loss": 10.8198,
|
89 |
+
"step": 35
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 4.0,
|
93 |
+
"grad_norm": 17.0,
|
94 |
+
"learning_rate": 0.00015000000000000001,
|
95 |
+
"loss": 8.6478,
|
96 |
+
"step": 40
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 4.0,
|
100 |
+
"eval_loss": 6.141203880310059,
|
101 |
+
"eval_runtime": 0.2347,
|
102 |
+
"eval_samples_per_second": 42.609,
|
103 |
+
"eval_steps_per_second": 4.261,
|
104 |
+
"step": 40
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 4.5,
|
108 |
+
"grad_norm": 18.0,
|
109 |
+
"learning_rate": 0.00013420201433256689,
|
110 |
+
"loss": 5.648,
|
111 |
+
"step": 45
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 5.0,
|
115 |
+
"grad_norm": 8.5625,
|
116 |
+
"learning_rate": 0.00011736481776669306,
|
117 |
+
"loss": 3.1923,
|
118 |
+
"step": 50
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"epoch": 5.0,
|
122 |
+
"eval_loss": 4.4401326179504395,
|
123 |
+
"eval_runtime": 0.236,
|
124 |
+
"eval_samples_per_second": 42.379,
|
125 |
+
"eval_steps_per_second": 4.238,
|
126 |
+
"step": 50
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 5.5,
|
130 |
+
"grad_norm": 4.03125,
|
131 |
+
"learning_rate": 0.0001,
|
132 |
+
"loss": 2.2412,
|
133 |
+
"step": 55
|
134 |
+
},
|
135 |
+
{
|
136 |
+
"epoch": 6.0,
|
137 |
+
"grad_norm": 3.109375,
|
138 |
+
"learning_rate": 8.263518223330697e-05,
|
139 |
+
"loss": 1.9614,
|
140 |
+
"step": 60
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 6.0,
|
144 |
+
"eval_loss": 3.3291573524475098,
|
145 |
+
"eval_runtime": 0.2367,
|
146 |
+
"eval_samples_per_second": 42.255,
|
147 |
+
"eval_steps_per_second": 4.225,
|
148 |
+
"step": 60
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"epoch": 6.5,
|
152 |
+
"grad_norm": 1.9609375,
|
153 |
+
"learning_rate": 6.579798566743314e-05,
|
154 |
+
"loss": 1.7794,
|
155 |
+
"step": 65
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"epoch": 7.0,
|
159 |
+
"grad_norm": 0.8046875,
|
160 |
+
"learning_rate": 5.000000000000002e-05,
|
161 |
+
"loss": 1.692,
|
162 |
+
"step": 70
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"epoch": 7.0,
|
166 |
+
"eval_loss": 3.127150297164917,
|
167 |
+
"eval_runtime": 0.2355,
|
168 |
+
"eval_samples_per_second": 42.466,
|
169 |
+
"eval_steps_per_second": 4.247,
|
170 |
+
"step": 70
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 7.5,
|
174 |
+
"grad_norm": 0.625,
|
175 |
+
"learning_rate": 3.5721239031346066e-05,
|
176 |
+
"loss": 1.6184,
|
177 |
+
"step": 75
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 8.0,
|
181 |
+
"grad_norm": 0.6328125,
|
182 |
+
"learning_rate": 2.339555568810221e-05,
|
183 |
+
"loss": 1.5661,
|
184 |
+
"step": 80
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 8.0,
|
188 |
+
"eval_loss": 3.0726068019866943,
|
189 |
+
"eval_runtime": 0.2359,
|
190 |
+
"eval_samples_per_second": 42.395,
|
191 |
+
"eval_steps_per_second": 4.24,
|
192 |
+
"step": 80
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 8.5,
|
196 |
+
"grad_norm": 0.5625,
|
197 |
+
"learning_rate": 1.339745962155613e-05,
|
198 |
+
"loss": 1.5358,
|
199 |
+
"step": 85
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"epoch": 9.0,
|
203 |
+
"grad_norm": 0.5546875,
|
204 |
+
"learning_rate": 6.030737921409169e-06,
|
205 |
+
"loss": 1.5417,
|
206 |
+
"step": 90
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 9.0,
|
210 |
+
"eval_loss": 3.0536386966705322,
|
211 |
+
"eval_runtime": 0.2358,
|
212 |
+
"eval_samples_per_second": 42.414,
|
213 |
+
"eval_steps_per_second": 4.241,
|
214 |
+
"step": 90
|
215 |
+
},
|
216 |
+
{
|
217 |
+
"epoch": 9.5,
|
218 |
+
"grad_norm": 0.57421875,
|
219 |
+
"learning_rate": 1.5192246987791981e-06,
|
220 |
+
"loss": 1.5267,
|
221 |
+
"step": 95
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 10.0,
|
225 |
+
"grad_norm": 0.56640625,
|
226 |
+
"learning_rate": 0.0,
|
227 |
+
"loss": 1.5287,
|
228 |
+
"step": 100
|
229 |
+
}
|
230 |
+
],
|
231 |
+
"logging_steps": 5,
|
232 |
+
"max_steps": 100,
|
233 |
+
"num_input_tokens_seen": 0,
|
234 |
+
"num_train_epochs": 10,
|
235 |
+
"save_steps": 100,
|
236 |
+
"total_flos": 3.0491778760677786e+17,
|
237 |
+
"train_batch_size": 4,
|
238 |
+
"trial_name": null,
|
239 |
+
"trial_params": null
|
240 |
+
}
|
checkpoint-100/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a1d5fefb25f3a9e153af2c3a9a456d1a1667a4bc46c0f08a71c0e91c032403a
|
3 |
+
size 5176
|
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/gemma-7b",
|
3 |
+
"architectures": [
|
4 |
+
"GemmaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 2,
|
9 |
+
"eos_token_id": 1,
|
10 |
+
"head_dim": 256,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_activation": null,
|
13 |
+
"hidden_size": 3072,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 24576,
|
16 |
+
"max_position_embeddings": 8192,
|
17 |
+
"model_type": "gemma",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_hidden_layers": 28,
|
20 |
+
"num_key_value_heads": 16,
|
21 |
+
"pad_token_id": 0,
|
22 |
+
"quantization_config": {
|
23 |
+
"_load_in_4bit": true,
|
24 |
+
"_load_in_8bit": false,
|
25 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
26 |
+
"bnb_4bit_quant_storage": "uint8",
|
27 |
+
"bnb_4bit_quant_type": "nf4",
|
28 |
+
"bnb_4bit_use_double_quant": false,
|
29 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
30 |
+
"llm_int8_has_fp16_weight": false,
|
31 |
+
"llm_int8_skip_modules": null,
|
32 |
+
"llm_int8_threshold": 6.0,
|
33 |
+
"load_in_4bit": true,
|
34 |
+
"load_in_8bit": false,
|
35 |
+
"quant_method": "bitsandbytes"
|
36 |
+
},
|
37 |
+
"rms_norm_eps": 1e-06,
|
38 |
+
"rope_scaling": null,
|
39 |
+
"rope_theta": 10000.0,
|
40 |
+
"torch_dtype": "bfloat16",
|
41 |
+
"transformers_version": "4.40.0",
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 256000
|
44 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_loss": 3.052680015563965,
|
4 |
+
"eval_runtime": 0.2405,
|
5 |
+
"eval_samples": 25,
|
6 |
+
"eval_samples_per_second": 41.583,
|
7 |
+
"eval_steps_per_second": 4.158
|
8 |
+
}
|
runs/Jun13_05-25-07_gpu1-1/events.out.tfevents.1718227559.gpu1-1.428390.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e999e965f59e1c56ac3def8307dff1fe0b630f7a89b83bfb2f4486331ff71371
|
3 |
+
size 12834
|
runs/Jun13_05-25-07_gpu1-1/events.out.tfevents.1718227805.gpu1-1.428390.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d0bac0b27be282ce87e3c5c83fb908b4737f5ae7531b6e7037def9f8af5b9d7
|
3 |
+
size 354
|
special_tokens_map.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<bos>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": {
|
21 |
+
"content": "<pad>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false
|
26 |
+
},
|
27 |
+
"unk_token": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:322a5f52ab5cab196761ab397a022d6fa3a2e1418585e532bb6efb2fedd2ae94
|
3 |
+
size 17477501
|
tokenizer_config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<bos>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"106": {
|
38 |
+
"content": "<|im_start|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"107": {
|
46 |
+
"content": "<|im_end|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
}
|
53 |
+
},
|
54 |
+
"additional_special_tokens": [
|
55 |
+
"<|im_start|>",
|
56 |
+
"<|im_end|>"
|
57 |
+
],
|
58 |
+
"bos_token": "<bos>",
|
59 |
+
"chat_template": "{% if messages[0]['role'] == 'user' or messages[0]['role'] == 'system' %}{{ bos_token }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% elif messages[-1]['role'] == 'assistant' %}{{ eos_token }}{% endif %}",
|
60 |
+
"clean_up_tokenization_spaces": false,
|
61 |
+
"eos_token": "<eos>",
|
62 |
+
"legacy": null,
|
63 |
+
"model_max_length": 2048,
|
64 |
+
"pad_token": "<pad>",
|
65 |
+
"sp_model_kwargs": {},
|
66 |
+
"spaces_between_special_tokens": false,
|
67 |
+
"tokenizer_class": "GemmaTokenizer",
|
68 |
+
"unk_token": "<unk>",
|
69 |
+
"use_default_system_prompt": false
|
70 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"total_flos": 3.0491778760677786e+17,
|
4 |
+
"train_loss": 7.823821220397949,
|
5 |
+
"train_runtime": 245.6292,
|
6 |
+
"train_samples": 3968,
|
7 |
+
"train_samples_per_second": 25.038,
|
8 |
+
"train_steps_per_second": 0.407
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,257 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 100,
|
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.1,
|
13 |
+
"grad_norm": 204.0,
|
14 |
+
"learning_rate": 2e-05,
|
15 |
+
"loss": 35.5858,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.5,
|
20 |
+
"grad_norm": 83.0,
|
21 |
+
"learning_rate": 0.0001,
|
22 |
+
"loss": 33.1551,
|
23 |
+
"step": 5
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 1.0,
|
27 |
+
"grad_norm": 19.0,
|
28 |
+
"learning_rate": 0.0002,
|
29 |
+
"loss": 21.1609,
|
30 |
+
"step": 10
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 1.0,
|
34 |
+
"eval_loss": 12.363748550415039,
|
35 |
+
"eval_runtime": 0.2492,
|
36 |
+
"eval_samples_per_second": 40.136,
|
37 |
+
"eval_steps_per_second": 4.014,
|
38 |
+
"step": 10
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 1.5,
|
42 |
+
"grad_norm": 6.40625,
|
43 |
+
"learning_rate": 0.00019848077530122083,
|
44 |
+
"loss": 16.2359,
|
45 |
+
"step": 15
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 2.0,
|
49 |
+
"grad_norm": 3.234375,
|
50 |
+
"learning_rate": 0.00019396926207859084,
|
51 |
+
"loss": 14.2403,
|
52 |
+
"step": 20
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 2.0,
|
56 |
+
"eval_loss": 7.762616157531738,
|
57 |
+
"eval_runtime": 0.234,
|
58 |
+
"eval_samples_per_second": 42.735,
|
59 |
+
"eval_steps_per_second": 4.274,
|
60 |
+
"step": 20
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 2.5,
|
64 |
+
"grad_norm": 4.5625,
|
65 |
+
"learning_rate": 0.00018660254037844388,
|
66 |
+
"loss": 13.444,
|
67 |
+
"step": 25
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 3.0,
|
71 |
+
"grad_norm": 8.3125,
|
72 |
+
"learning_rate": 0.0001766044443118978,
|
73 |
+
"loss": 12.4548,
|
74 |
+
"step": 30
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 3.0,
|
78 |
+
"eval_loss": 6.874077796936035,
|
79 |
+
"eval_runtime": 0.2344,
|
80 |
+
"eval_samples_per_second": 42.661,
|
81 |
+
"eval_steps_per_second": 4.266,
|
82 |
+
"step": 30
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"epoch": 3.5,
|
86 |
+
"grad_norm": 11.875,
|
87 |
+
"learning_rate": 0.00016427876096865394,
|
88 |
+
"loss": 10.8198,
|
89 |
+
"step": 35
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 4.0,
|
93 |
+
"grad_norm": 17.0,
|
94 |
+
"learning_rate": 0.00015000000000000001,
|
95 |
+
"loss": 8.6478,
|
96 |
+
"step": 40
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 4.0,
|
100 |
+
"eval_loss": 6.141203880310059,
|
101 |
+
"eval_runtime": 0.2347,
|
102 |
+
"eval_samples_per_second": 42.609,
|
103 |
+
"eval_steps_per_second": 4.261,
|
104 |
+
"step": 40
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 4.5,
|
108 |
+
"grad_norm": 18.0,
|
109 |
+
"learning_rate": 0.00013420201433256689,
|
110 |
+
"loss": 5.648,
|
111 |
+
"step": 45
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 5.0,
|
115 |
+
"grad_norm": 8.5625,
|
116 |
+
"learning_rate": 0.00011736481776669306,
|
117 |
+
"loss": 3.1923,
|
118 |
+
"step": 50
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"epoch": 5.0,
|
122 |
+
"eval_loss": 4.4401326179504395,
|
123 |
+
"eval_runtime": 0.236,
|
124 |
+
"eval_samples_per_second": 42.379,
|
125 |
+
"eval_steps_per_second": 4.238,
|
126 |
+
"step": 50
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 5.5,
|
130 |
+
"grad_norm": 4.03125,
|
131 |
+
"learning_rate": 0.0001,
|
132 |
+
"loss": 2.2412,
|
133 |
+
"step": 55
|
134 |
+
},
|
135 |
+
{
|
136 |
+
"epoch": 6.0,
|
137 |
+
"grad_norm": 3.109375,
|
138 |
+
"learning_rate": 8.263518223330697e-05,
|
139 |
+
"loss": 1.9614,
|
140 |
+
"step": 60
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 6.0,
|
144 |
+
"eval_loss": 3.3291573524475098,
|
145 |
+
"eval_runtime": 0.2367,
|
146 |
+
"eval_samples_per_second": 42.255,
|
147 |
+
"eval_steps_per_second": 4.225,
|
148 |
+
"step": 60
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"epoch": 6.5,
|
152 |
+
"grad_norm": 1.9609375,
|
153 |
+
"learning_rate": 6.579798566743314e-05,
|
154 |
+
"loss": 1.7794,
|
155 |
+
"step": 65
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"epoch": 7.0,
|
159 |
+
"grad_norm": 0.8046875,
|
160 |
+
"learning_rate": 5.000000000000002e-05,
|
161 |
+
"loss": 1.692,
|
162 |
+
"step": 70
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"epoch": 7.0,
|
166 |
+
"eval_loss": 3.127150297164917,
|
167 |
+
"eval_runtime": 0.2355,
|
168 |
+
"eval_samples_per_second": 42.466,
|
169 |
+
"eval_steps_per_second": 4.247,
|
170 |
+
"step": 70
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 7.5,
|
174 |
+
"grad_norm": 0.625,
|
175 |
+
"learning_rate": 3.5721239031346066e-05,
|
176 |
+
"loss": 1.6184,
|
177 |
+
"step": 75
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 8.0,
|
181 |
+
"grad_norm": 0.6328125,
|
182 |
+
"learning_rate": 2.339555568810221e-05,
|
183 |
+
"loss": 1.5661,
|
184 |
+
"step": 80
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 8.0,
|
188 |
+
"eval_loss": 3.0726068019866943,
|
189 |
+
"eval_runtime": 0.2359,
|
190 |
+
"eval_samples_per_second": 42.395,
|
191 |
+
"eval_steps_per_second": 4.24,
|
192 |
+
"step": 80
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 8.5,
|
196 |
+
"grad_norm": 0.5625,
|
197 |
+
"learning_rate": 1.339745962155613e-05,
|
198 |
+
"loss": 1.5358,
|
199 |
+
"step": 85
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"epoch": 9.0,
|
203 |
+
"grad_norm": 0.5546875,
|
204 |
+
"learning_rate": 6.030737921409169e-06,
|
205 |
+
"loss": 1.5417,
|
206 |
+
"step": 90
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 9.0,
|
210 |
+
"eval_loss": 3.0536386966705322,
|
211 |
+
"eval_runtime": 0.2358,
|
212 |
+
"eval_samples_per_second": 42.414,
|
213 |
+
"eval_steps_per_second": 4.241,
|
214 |
+
"step": 90
|
215 |
+
},
|
216 |
+
{
|
217 |
+
"epoch": 9.5,
|
218 |
+
"grad_norm": 0.57421875,
|
219 |
+
"learning_rate": 1.5192246987791981e-06,
|
220 |
+
"loss": 1.5267,
|
221 |
+
"step": 95
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 10.0,
|
225 |
+
"grad_norm": 0.56640625,
|
226 |
+
"learning_rate": 0.0,
|
227 |
+
"loss": 1.5287,
|
228 |
+
"step": 100
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"epoch": 10.0,
|
232 |
+
"eval_loss": 3.052680015563965,
|
233 |
+
"eval_runtime": 0.234,
|
234 |
+
"eval_samples_per_second": 42.735,
|
235 |
+
"eval_steps_per_second": 4.274,
|
236 |
+
"step": 100
|
237 |
+
},
|
238 |
+
{
|
239 |
+
"epoch": 10.0,
|
240 |
+
"step": 100,
|
241 |
+
"total_flos": 3.0491778760677786e+17,
|
242 |
+
"train_loss": 7.823821220397949,
|
243 |
+
"train_runtime": 245.6292,
|
244 |
+
"train_samples_per_second": 25.038,
|
245 |
+
"train_steps_per_second": 0.407
|
246 |
+
}
|
247 |
+
],
|
248 |
+
"logging_steps": 5,
|
249 |
+
"max_steps": 100,
|
250 |
+
"num_input_tokens_seen": 0,
|
251 |
+
"num_train_epochs": 10,
|
252 |
+
"save_steps": 100,
|
253 |
+
"total_flos": 3.0491778760677786e+17,
|
254 |
+
"train_batch_size": 4,
|
255 |
+
"trial_name": null,
|
256 |
+
"trial_params": null
|
257 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a1d5fefb25f3a9e153af2c3a9a456d1a1667a4bc46c0f08a71c0e91c032403a
|
3 |
+
size 5176
|