martimfasantos commited on
Commit
59c880c
1 Parent(s): f77d48e

Model save

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_2gpus
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_2gpus
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
+ - num_devices: 2
45
+ - gradient_accumulation_steps: 32
46
+ - total_train_batch_size: 64
47
+ - total_eval_batch_size: 16
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: cosine
50
+ - lr_scheduler_warmup_ratio: 0.1
51
+ - num_epochs: 1
52
+
53
+ ### Training results
54
+
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.43.3
60
+ - Pytorch 2.1.2+cu121
61
+ - Datasets 2.20.0
62
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9863013698630136,
3
+ "total_flos": 1954629550080.0,
4
+ "train_loss": 1.3019332091013591,
5
+ "train_runtime": 388.8606,
6
+ "train_samples": 15798,
7
+ "train_samples_per_second": 4.505,
8
+ "train_steps_per_second": 0.069
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.43.3"
7
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9863013698630136,
3
+ "total_flos": 1954629550080.0,
4
+ "train_loss": 1.3019332091013591,
5
+ "train_runtime": 388.8606,
6
+ "train_samples": 15798,
7
+ "train_samples_per_second": 4.505,
8
+ "train_steps_per_second": 0.069
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9863013698630136,
5
+ "eval_steps": 500,
6
+ "global_step": 27,
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.0365296803652968,
13
+ "grad_norm": 21.481753895151215,
14
+ "learning_rate": 3.3333333333333333e-06,
15
+ "loss": 1.6412,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.365296803652968,
20
+ "grad_norm": 2.2500616965036078,
21
+ "learning_rate": 8.043807145043604e-06,
22
+ "loss": 1.4447,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.730593607305936,
27
+ "grad_norm": 0.9544323271736276,
28
+ "learning_rate": 1.956192854956397e-06,
29
+ "loss": 1.2269,
30
+ "step": 20
31
+ },
32
+ {
33
+ "epoch": 0.9863013698630136,
34
+ "step": 27,
35
+ "total_flos": 1954629550080.0,
36
+ "train_loss": 1.3019332091013591,
37
+ "train_runtime": 388.8606,
38
+ "train_samples_per_second": 4.505,
39
+ "train_steps_per_second": 0.069
40
+ }
41
+ ],
42
+ "logging_steps": 10,
43
+ "max_steps": 27,
44
+ "num_input_tokens_seen": 0,
45
+ "num_train_epochs": 1,
46
+ "save_steps": 100,
47
+ "stateful_callbacks": {
48
+ "TrainerControl": {
49
+ "args": {
50
+ "should_epoch_stop": false,
51
+ "should_evaluate": false,
52
+ "should_log": false,
53
+ "should_save": true,
54
+ "should_training_stop": true
55
+ },
56
+ "attributes": {}
57
+ }
58
+ },
59
+ "total_flos": 1954629550080.0,
60
+ "train_batch_size": 1,
61
+ "trial_name": null,
62
+ "trial_params": null
63
+ }