alvarobartt HF staff commited on
Commit
b9be91b
β€’
1 Parent(s): 6fe3775

Model save

Browse files
Files changed (4) hide show
  1. README.md +64 -0
  2. all_results.json +9 -0
  3. train_results.json +9 -0
  4. trainer_state.json +70 -0
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-2-2b-it
3
+ datasets:
4
+ - generator
5
+ library_name: peft
6
+ license: gemma
7
+ tags:
8
+ - trl
9
+ - sft
10
+ - generated_from_trainer
11
+ model-index:
12
+ - name: gemma-2-2b-it-lora-jap-en
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # gemma-2-2b-it-lora-jap-en
20
+
21
+ 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.
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: 8
43
+ - seed: 42
44
+ - distributed_type: multi-GPU
45
+ - num_devices: 2
46
+ - gradient_accumulation_steps: 2
47
+ - total_train_batch_size: 16
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: 3
53
+
54
+ ### Training results
55
+
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - PEFT 0.12.0
61
+ - Transformers 4.44.2
62
+ - Pytorch 2.3.0+cu121
63
+ - Datasets 3.0.0
64
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.909090909090909,
3
+ "total_flos": 88796276195328.0,
4
+ "train_loss": 2.5086214343706765,
5
+ "train_runtime": 154.8962,
6
+ "train_samples": 14593,
7
+ "train_samples_per_second": 4.997,
8
+ "train_steps_per_second": 0.31
9
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.909090909090909,
3
+ "total_flos": 88796276195328.0,
4
+ "train_loss": 2.5086214343706765,
5
+ "train_runtime": 154.8962,
6
+ "train_samples": 14593,
7
+ "train_samples_per_second": 4.997,
8
+ "train_steps_per_second": 0.31
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.909090909090909,
5
+ "eval_steps": 500,
6
+ "global_step": 48,
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.6060606060606061,
13
+ "grad_norm": 2.365993915131312,
14
+ "learning_rate": 0.0001934016108732548,
15
+ "loss": 4.9025,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 1.2121212121212122,
20
+ "grad_norm": 0.5010752859822769,
21
+ "learning_rate": 0.00014572423233046386,
22
+ "loss": 2.152,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 1.8181818181818183,
27
+ "grad_norm": 0.32099488413380073,
28
+ "learning_rate": 7.470666176083192e-05,
29
+ "loss": 1.8198,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 2.4242424242424243,
34
+ "grad_norm": 0.2622629063842015,
35
+ "learning_rate": 1.660021821101222e-05,
36
+ "loss": 1.7642,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 2.909090909090909,
41
+ "step": 48,
42
+ "total_flos": 88796276195328.0,
43
+ "train_loss": 2.5086214343706765,
44
+ "train_runtime": 154.8962,
45
+ "train_samples_per_second": 4.997,
46
+ "train_steps_per_second": 0.31
47
+ }
48
+ ],
49
+ "logging_steps": 10,
50
+ "max_steps": 48,
51
+ "num_input_tokens_seen": 0,
52
+ "num_train_epochs": 3,
53
+ "save_steps": 500,
54
+ "stateful_callbacks": {
55
+ "TrainerControl": {
56
+ "args": {
57
+ "should_epoch_stop": false,
58
+ "should_evaluate": false,
59
+ "should_log": false,
60
+ "should_save": true,
61
+ "should_training_stop": true
62
+ },
63
+ "attributes": {}
64
+ }
65
+ },
66
+ "total_flos": 88796276195328.0,
67
+ "train_batch_size": 4,
68
+ "trial_name": null,
69
+ "trial_params": null
70
+ }