martimfasantos commited on
Commit
fc6c176
1 Parent(s): 024daf7

Model save

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gemma
3
+ base_model: google/gemma-2-2b-it
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ datasets:
9
+ - generator
10
+ model-index:
11
+ - name: gemma-2-2b-it-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
+ # gemma-2-2b-it-mt-sft-full_sardine
19
+
20
+ This model is a fine-tuned version of [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it) 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: 16
46
+ - total_train_batch_size: 32
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.9885057471264368,
3
+ "total_flos": 4084507607040.0,
4
+ "train_loss": 1.1981246249620305,
5
+ "train_runtime": 824.5041,
6
+ "train_samples": 15798,
7
+ "train_samples_per_second": 1.687,
8
+ "train_steps_per_second": 0.052
9
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "cache_implementation": "hybrid",
5
+ "eos_token_id": [
6
+ 1,
7
+ 107
8
+ ],
9
+ "pad_token_id": 0,
10
+ "transformers_version": "4.43.3"
11
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9885057471264368,
3
+ "total_flos": 4084507607040.0,
4
+ "train_loss": 1.1981246249620305,
5
+ "train_runtime": 824.5041,
6
+ "train_samples": 15798,
7
+ "train_samples_per_second": 1.687,
8
+ "train_steps_per_second": 0.052
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9885057471264368,
5
+ "eval_steps": 500,
6
+ "global_step": 43,
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.022988505747126436,
13
+ "grad_norm": 23.497586183908798,
14
+ "learning_rate": 2.0000000000000003e-06,
15
+ "loss": 1.9349,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.22988505747126436,
20
+ "grad_norm": 2.43441988696975,
21
+ "learning_rate": 9.578866633275289e-06,
22
+ "loss": 1.5695,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.45977011494252873,
27
+ "grad_norm": 1.638981778394223,
28
+ "learning_rate": 6.6234973460234184e-06,
29
+ "loss": 1.1714,
30
+ "step": 20
31
+ },
32
+ {
33
+ "epoch": 0.6896551724137931,
34
+ "grad_norm": 1.6565492884067081,
35
+ "learning_rate": 2.6202630348146323e-06,
36
+ "loss": 1.0604,
37
+ "step": 30
38
+ },
39
+ {
40
+ "epoch": 0.9195402298850575,
41
+ "grad_norm": 1.6656152182027797,
42
+ "learning_rate": 1.5299867030334815e-07,
43
+ "loss": 1.005,
44
+ "step": 40
45
+ },
46
+ {
47
+ "epoch": 0.9885057471264368,
48
+ "step": 43,
49
+ "total_flos": 4084507607040.0,
50
+ "train_loss": 1.1981246249620305,
51
+ "train_runtime": 824.5041,
52
+ "train_samples_per_second": 1.687,
53
+ "train_steps_per_second": 0.052
54
+ }
55
+ ],
56
+ "logging_steps": 10,
57
+ "max_steps": 43,
58
+ "num_input_tokens_seen": 0,
59
+ "num_train_epochs": 1,
60
+ "save_steps": 100,
61
+ "stateful_callbacks": {
62
+ "TrainerControl": {
63
+ "args": {
64
+ "should_epoch_stop": false,
65
+ "should_evaluate": false,
66
+ "should_log": false,
67
+ "should_save": true,
68
+ "should_training_stop": true
69
+ },
70
+ "attributes": {}
71
+ }
72
+ },
73
+ "total_flos": 4084507607040.0,
74
+ "train_batch_size": 1,
75
+ "trial_name": null,
76
+ "trial_params": null
77
+ }