martimfasantos
commited on
Commit
•
f6b6361
1
Parent(s):
f450f0d
Model save
Browse files- README.md +60 -0
- all_results.json +9 -0
- generation_config.json +7 -0
- model.safetensors +1 -1
- runs/Jul23_12-36-58_poseidon/events.out.tfevents.1721738230.poseidon.3118508.0 +2 -2
- train_results.json +9 -0
- trainer_state.json +119 -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_sardine2
|
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_sardine2
|
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: 1
|
41 |
+
- eval_batch_size: 8
|
42 |
+
- seed: 42
|
43 |
+
- distributed_type: multi-GPU
|
44 |
+
- gradient_accumulation_steps: 16
|
45 |
+
- total_train_batch_size: 16
|
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": 0.9954337899543378,
|
3 |
+
"total_flos": 2.216988177648845e+16,
|
4 |
+
"train_loss": 1.2956732773999555,
|
5 |
+
"train_runtime": 586.8184,
|
6 |
+
"train_samples": 15798,
|
7 |
+
"train_samples_per_second": 2.986,
|
8 |
+
"train_steps_per_second": 0.186
|
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:0ddfd792263871bb1b36bcc54af0efd51698dc47e35b8c024ad0b37c2761aabb
|
3 |
size 2200119864
|
runs/Jul23_12-36-58_poseidon/events.out.tfevents.1721738230.poseidon.3118508.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:6f3a371e626fac1a15b4997d3a3e2b5cc7dfc992ba706c442571e4281fc46326
|
3 |
+
size 7685
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9954337899543378,
|
3 |
+
"total_flos": 2.216988177648845e+16,
|
4 |
+
"train_loss": 1.2956732773999555,
|
5 |
+
"train_runtime": 586.8184,
|
6 |
+
"train_samples": 15798,
|
7 |
+
"train_samples_per_second": 2.986,
|
8 |
+
"train_steps_per_second": 0.186
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9954337899543378,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 109,
|
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.0091324200913242,
|
13 |
+
"grad_norm": 22.5,
|
14 |
+
"learning_rate": 9.090909090909091e-07,
|
15 |
+
"loss": 1.6621,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.091324200913242,
|
20 |
+
"grad_norm": 3.671875,
|
21 |
+
"learning_rate": 9.090909090909091e-06,
|
22 |
+
"loss": 1.5917,
|
23 |
+
"step": 10
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.182648401826484,
|
27 |
+
"grad_norm": 2.390625,
|
28 |
+
"learning_rate": 9.793339265183303e-06,
|
29 |
+
"loss": 1.4031,
|
30 |
+
"step": 20
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.273972602739726,
|
34 |
+
"grad_norm": 1.984375,
|
35 |
+
"learning_rate": 9.10086127298478e-06,
|
36 |
+
"loss": 1.3219,
|
37 |
+
"step": 30
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.365296803652968,
|
41 |
+
"grad_norm": 1.8125,
|
42 |
+
"learning_rate": 7.99055265245608e-06,
|
43 |
+
"loss": 1.2743,
|
44 |
+
"step": 40
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.45662100456621,
|
48 |
+
"grad_norm": 1.71875,
|
49 |
+
"learning_rate": 6.575541090118105e-06,
|
50 |
+
"loss": 1.2351,
|
51 |
+
"step": 50
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.547945205479452,
|
55 |
+
"grad_norm": 1.703125,
|
56 |
+
"learning_rate": 5e-06,
|
57 |
+
"loss": 1.2429,
|
58 |
+
"step": 60
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.639269406392694,
|
62 |
+
"grad_norm": 1.640625,
|
63 |
+
"learning_rate": 3.424458909881897e-06,
|
64 |
+
"loss": 1.2251,
|
65 |
+
"step": 70
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.730593607305936,
|
69 |
+
"grad_norm": 1.734375,
|
70 |
+
"learning_rate": 2.00944734754392e-06,
|
71 |
+
"loss": 1.2427,
|
72 |
+
"step": 80
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.821917808219178,
|
76 |
+
"grad_norm": 1.7734375,
|
77 |
+
"learning_rate": 8.991387270152202e-07,
|
78 |
+
"loss": 1.2333,
|
79 |
+
"step": 90
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.91324200913242,
|
83 |
+
"grad_norm": 1.7734375,
|
84 |
+
"learning_rate": 2.0666073481669714e-07,
|
85 |
+
"loss": 1.2286,
|
86 |
+
"step": 100
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.9954337899543378,
|
90 |
+
"step": 109,
|
91 |
+
"total_flos": 2.216988177648845e+16,
|
92 |
+
"train_loss": 1.2956732773999555,
|
93 |
+
"train_runtime": 586.8184,
|
94 |
+
"train_samples_per_second": 2.986,
|
95 |
+
"train_steps_per_second": 0.186
|
96 |
+
}
|
97 |
+
],
|
98 |
+
"logging_steps": 10,
|
99 |
+
"max_steps": 109,
|
100 |
+
"num_input_tokens_seen": 0,
|
101 |
+
"num_train_epochs": 1,
|
102 |
+
"save_steps": 100,
|
103 |
+
"stateful_callbacks": {
|
104 |
+
"TrainerControl": {
|
105 |
+
"args": {
|
106 |
+
"should_epoch_stop": false,
|
107 |
+
"should_evaluate": false,
|
108 |
+
"should_log": false,
|
109 |
+
"should_save": true,
|
110 |
+
"should_training_stop": false
|
111 |
+
},
|
112 |
+
"attributes": {}
|
113 |
+
}
|
114 |
+
},
|
115 |
+
"total_flos": 2.216988177648845e+16,
|
116 |
+
"train_batch_size": 1,
|
117 |
+
"trial_name": null,
|
118 |
+
"trial_params": null
|
119 |
+
}
|