martimfasantos
commited on
Commit
•
27909ee
1
Parent(s):
398ffaa
Model save
Browse files- README.md +60 -0
- all_results.json +9 -0
- generation_config.json +7 -0
- model.safetensors +1 -1
- runs/Jul20_12-51-42_poseidon/events.out.tfevents.1721479919.poseidon.1507708.0 +2 -2
- train_results.json +9 -0
- trainer_state.json +196 -0
README.md
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- generator
|
10 |
+
model-index:
|
11 |
+
- name: tinyllama-1.1b-mt-sft-full_sardine
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# tinyllama-1.1b-mt-sft-full_sardine
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T](https://huggingface.co/TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T) on the generator dataset.
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 1e-05
|
40 |
+
- train_batch_size: 4
|
41 |
+
- eval_batch_size: 8
|
42 |
+
- seed: 42
|
43 |
+
- distributed_type: multi-GPU
|
44 |
+
- gradient_accumulation_steps: 2
|
45 |
+
- total_train_batch_size: 8
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: cosine
|
48 |
+
- lr_scheduler_warmup_ratio: 0.1
|
49 |
+
- num_epochs: 1
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
|
54 |
+
|
55 |
+
### Framework versions
|
56 |
+
|
57 |
+
- Transformers 4.41.2
|
58 |
+
- Pytorch 2.1.2
|
59 |
+
- Datasets 2.20.0
|
60 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 2.2271578481885184e+16,
|
4 |
+
"train_loss": 1.2611416202701935,
|
5 |
+
"train_runtime": 537.6163,
|
6 |
+
"train_samples": 15798,
|
7 |
+
"train_samples_per_second": 3.259,
|
8 |
+
"train_steps_per_second": 0.407
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"eos_token_id": 2,
|
4 |
+
"max_length": 2048,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.41.2"
|
7 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2200119864
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1714328733e822b7d5924b4a8909cabefac4ba22a38c0c86a41949dfa8bb87f2
|
3 |
size 2200119864
|
runs/Jul20_12-51-42_poseidon/events.out.tfevents.1721479919.poseidon.1507708.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25efb6748dd2d7a9c922303247336908b688504d4d84fb83ae367272d6765d31
|
3 |
+
size 9999
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 2.2271578481885184e+16,
|
4 |
+
"train_loss": 1.2611416202701935,
|
5 |
+
"train_runtime": 537.6163,
|
6 |
+
"train_samples": 15798,
|
7 |
+
"train_samples_per_second": 3.259,
|
8 |
+
"train_steps_per_second": 0.407
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 219,
|
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.0045662100456621,
|
13 |
+
"grad_norm": 23.25,
|
14 |
+
"learning_rate": 4.5454545454545457e-07,
|
15 |
+
"loss": 1.6483,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.045662100456621,
|
20 |
+
"grad_norm": 11.5,
|
21 |
+
"learning_rate": 4.5454545454545455e-06,
|
22 |
+
"loss": 1.6309,
|
23 |
+
"step": 10
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.091324200913242,
|
27 |
+
"grad_norm": 3.015625,
|
28 |
+
"learning_rate": 9.090909090909091e-06,
|
29 |
+
"loss": 1.4979,
|
30 |
+
"step": 20
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.136986301369863,
|
34 |
+
"grad_norm": 2.96875,
|
35 |
+
"learning_rate": 9.959365197965824e-06,
|
36 |
+
"loss": 1.3794,
|
37 |
+
"step": 30
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.182648401826484,
|
41 |
+
"grad_norm": 2.78125,
|
42 |
+
"learning_rate": 9.795417628509857e-06,
|
43 |
+
"loss": 1.316,
|
44 |
+
"step": 40
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.228310502283105,
|
48 |
+
"grad_norm": 2.421875,
|
49 |
+
"learning_rate": 9.50977494371594e-06,
|
50 |
+
"loss": 1.2561,
|
51 |
+
"step": 50
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.273972602739726,
|
55 |
+
"grad_norm": 2.421875,
|
56 |
+
"learning_rate": 9.109686005344258e-06,
|
57 |
+
"loss": 1.2691,
|
58 |
+
"step": 60
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.319634703196347,
|
62 |
+
"grad_norm": 2.328125,
|
63 |
+
"learning_rate": 8.60530402074241e-06,
|
64 |
+
"loss": 1.2524,
|
65 |
+
"step": 70
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.365296803652968,
|
69 |
+
"grad_norm": 2.296875,
|
70 |
+
"learning_rate": 8.009428881086836e-06,
|
71 |
+
"loss": 1.2188,
|
72 |
+
"step": 80
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.410958904109589,
|
76 |
+
"grad_norm": 2.25,
|
77 |
+
"learning_rate": 7.33718233373407e-06,
|
78 |
+
"loss": 1.2069,
|
79 |
+
"step": 90
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.45662100456621,
|
83 |
+
"grad_norm": 2.21875,
|
84 |
+
"learning_rate": 6.6056242319551315e-06,
|
85 |
+
"loss": 1.2022,
|
86 |
+
"step": 100
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.502283105022831,
|
90 |
+
"grad_norm": 2.3125,
|
91 |
+
"learning_rate": 5.8333196006277536e-06,
|
92 |
+
"loss": 1.2224,
|
93 |
+
"step": 110
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.547945205479452,
|
97 |
+
"grad_norm": 2.265625,
|
98 |
+
"learning_rate": 5.039867504623084e-06,
|
99 |
+
"loss": 1.2076,
|
100 |
+
"step": 120
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.593607305936073,
|
104 |
+
"grad_norm": 2.265625,
|
105 |
+
"learning_rate": 4.245403675970877e-06,
|
106 |
+
"loss": 1.2082,
|
107 |
+
"step": 130
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.639269406392694,
|
111 |
+
"grad_norm": 2.234375,
|
112 |
+
"learning_rate": 3.4700895218205026e-06,
|
113 |
+
"loss": 1.1879,
|
114 |
+
"step": 140
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.684931506849315,
|
118 |
+
"grad_norm": 2.359375,
|
119 |
+
"learning_rate": 2.7336004808348094e-06,
|
120 |
+
"loss": 1.2127,
|
121 |
+
"step": 150
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.730593607305936,
|
125 |
+
"grad_norm": 2.21875,
|
126 |
+
"learning_rate": 2.0546267121888863e-06,
|
127 |
+
"loss": 1.2206,
|
128 |
+
"step": 160
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.776255707762557,
|
132 |
+
"grad_norm": 2.34375,
|
133 |
+
"learning_rate": 1.4503987883766857e-06,
|
134 |
+
"loss": 1.2045,
|
135 |
+
"step": 170
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.821917808219178,
|
139 |
+
"grad_norm": 2.453125,
|
140 |
+
"learning_rate": 9.362504284973683e-07,
|
141 |
+
"loss": 1.2108,
|
142 |
+
"step": 180
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.867579908675799,
|
146 |
+
"grad_norm": 2.25,
|
147 |
+
"learning_rate": 5.252293687031196e-07,
|
148 |
+
"loss": 1.1964,
|
149 |
+
"step": 190
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.91324200913242,
|
153 |
+
"grad_norm": 2.390625,
|
154 |
+
"learning_rate": 2.2776624489530664e-07,
|
155 |
+
"loss": 1.209,
|
156 |
+
"step": 200
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.958904109589041,
|
160 |
+
"grad_norm": 2.390625,
|
161 |
+
"learning_rate": 5.1409890557246876e-08,
|
162 |
+
"loss": 1.2177,
|
163 |
+
"step": 210
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 1.0,
|
167 |
+
"step": 219,
|
168 |
+
"total_flos": 2.2271578481885184e+16,
|
169 |
+
"train_loss": 1.2611416202701935,
|
170 |
+
"train_runtime": 537.6163,
|
171 |
+
"train_samples_per_second": 3.259,
|
172 |
+
"train_steps_per_second": 0.407
|
173 |
+
}
|
174 |
+
],
|
175 |
+
"logging_steps": 10,
|
176 |
+
"max_steps": 219,
|
177 |
+
"num_input_tokens_seen": 0,
|
178 |
+
"num_train_epochs": 1,
|
179 |
+
"save_steps": 100,
|
180 |
+
"stateful_callbacks": {
|
181 |
+
"TrainerControl": {
|
182 |
+
"args": {
|
183 |
+
"should_epoch_stop": false,
|
184 |
+
"should_evaluate": false,
|
185 |
+
"should_log": false,
|
186 |
+
"should_save": true,
|
187 |
+
"should_training_stop": false
|
188 |
+
},
|
189 |
+
"attributes": {}
|
190 |
+
}
|
191 |
+
},
|
192 |
+
"total_flos": 2.2271578481885184e+16,
|
193 |
+
"train_batch_size": 4,
|
194 |
+
"trial_name": null,
|
195 |
+
"trial_params": null
|
196 |
+
}
|