chansung commited on
Commit
8da0155
1 Parent(s): e62f173

Model save

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: llama2
4
+ base_model: meta-llama/Llama-2-13b-hf
5
+ tags:
6
+ - trl
7
+ - sft
8
+ - generated_from_trainer
9
+ datasets:
10
+ - generator
11
+ model-index:
12
+ - name: llama2-13b-lora-closedqa-11-v1
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
+ # llama2-13b-lora-closedqa-11-v1
20
+
21
+ This model is a fine-tuned version of [meta-llama/Llama-2-13b-hf](https://huggingface.co/meta-llama/Llama-2-13b-hf) on the generator dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.8376
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 0.0002
43
+ - train_batch_size: 32
44
+ - eval_batch_size: 32
45
+ - seed: 42
46
+ - distributed_type: multi-GPU
47
+ - num_devices: 8
48
+ - gradient_accumulation_steps: 2
49
+ - total_train_batch_size: 512
50
+ - total_eval_batch_size: 256
51
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: cosine
53
+ - lr_scheduler_warmup_ratio: 0.1
54
+ - num_epochs: 1
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss |
59
+ |:-------------:|:-----:|:----:|:---------------:|
60
+ | 1.2788 | 1.0 | 77 | 1.8376 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - PEFT 0.13.2
66
+ - Transformers 4.46.2
67
+ - Pytorch 2.5.1+cu124
68
+ - Datasets 3.1.0
69
+ - Tokenizers 0.20.3
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 1.5573103901178593e+18,
4
+ "train_loss": 1.9809850438848717,
5
+ "train_runtime": 1063.0601,
6
+ "train_samples": 111440,
7
+ "train_samples_per_second": 37.02,
8
+ "train_steps_per_second": 0.072
9
+ }
runs/Nov22_14-51-01_metallic-vm-falls-fin-02/events.out.tfevents.1732287412.metallic-vm-falls-fin-02.58299.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:44a4016228a0753855e0b58c029eb9f68fed61f5a33017cde73d66cb3b03045c
3
- size 8925
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10c4c88f45b1b78293ae6e7aeb97d4df471bba0476f48d8d8b79264f8872fea4
3
+ size 9539
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 1.5573103901178593e+18,
4
+ "train_loss": 1.9809850438848717,
5
+ "train_runtime": 1063.0601,
6
+ "train_samples": 111440,
7
+ "train_samples_per_second": 37.02,
8
+ "train_steps_per_second": 0.072
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 77,
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.012987012987012988,
13
+ "grad_norm": 2.5498344898223877,
14
+ "learning_rate": 2.5e-05,
15
+ "loss": 4.7663,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.06493506493506493,
20
+ "grad_norm": 2.774350881576538,
21
+ "learning_rate": 0.000125,
22
+ "loss": 4.7043,
23
+ "step": 5
24
+ },
25
+ {
26
+ "epoch": 0.12987012987012986,
27
+ "grad_norm": 3.9560413360595703,
28
+ "learning_rate": 0.00019958568425315314,
29
+ "loss": 4.0675,
30
+ "step": 10
31
+ },
32
+ {
33
+ "epoch": 0.19480519480519481,
34
+ "grad_norm": 3.9846060276031494,
35
+ "learning_rate": 0.00019496396989003193,
36
+ "loss": 3.0353,
37
+ "step": 15
38
+ },
39
+ {
40
+ "epoch": 0.2597402597402597,
41
+ "grad_norm": 2.2558484077453613,
42
+ "learning_rate": 0.00018544194045464886,
43
+ "loss": 2.3784,
44
+ "step": 20
45
+ },
46
+ {
47
+ "epoch": 0.3246753246753247,
48
+ "grad_norm": 0.9705212712287903,
49
+ "learning_rate": 0.00017151095013548994,
50
+ "loss": 1.9776,
51
+ "step": 25
52
+ },
53
+ {
54
+ "epoch": 0.38961038961038963,
55
+ "grad_norm": 0.6810367107391357,
56
+ "learning_rate": 0.00015388986359155758,
57
+ "loss": 1.695,
58
+ "step": 30
59
+ },
60
+ {
61
+ "epoch": 0.45454545454545453,
62
+ "grad_norm": 0.5922189950942993,
63
+ "learning_rate": 0.00013348796121709862,
64
+ "loss": 1.5304,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.5194805194805194,
69
+ "grad_norm": 0.5001540780067444,
70
+ "learning_rate": 0.00011135801860504749,
71
+ "loss": 1.4319,
72
+ "step": 40
73
+ },
74
+ {
75
+ "epoch": 0.5844155844155844,
76
+ "grad_norm": 0.4108904302120209,
77
+ "learning_rate": 8.86419813949525e-05,
78
+ "loss": 1.3664,
79
+ "step": 45
80
+ },
81
+ {
82
+ "epoch": 0.6493506493506493,
83
+ "grad_norm": 0.4516855776309967,
84
+ "learning_rate": 6.651203878290139e-05,
85
+ "loss": 1.3354,
86
+ "step": 50
87
+ },
88
+ {
89
+ "epoch": 0.7142857142857143,
90
+ "grad_norm": 0.3778669238090515,
91
+ "learning_rate": 4.611013640844245e-05,
92
+ "loss": 1.309,
93
+ "step": 55
94
+ },
95
+ {
96
+ "epoch": 0.7792207792207793,
97
+ "grad_norm": 0.3914947509765625,
98
+ "learning_rate": 2.8489049864510054e-05,
99
+ "loss": 1.2981,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 0.8441558441558441,
104
+ "grad_norm": 0.370316743850708,
105
+ "learning_rate": 1.4558059545351143e-05,
106
+ "loss": 1.2884,
107
+ "step": 65
108
+ },
109
+ {
110
+ "epoch": 0.9090909090909091,
111
+ "grad_norm": 0.3161383867263794,
112
+ "learning_rate": 5.036030109968082e-06,
113
+ "loss": 1.2853,
114
+ "step": 70
115
+ },
116
+ {
117
+ "epoch": 0.974025974025974,
118
+ "grad_norm": 0.29596462845802307,
119
+ "learning_rate": 4.143157468468717e-07,
120
+ "loss": 1.2788,
121
+ "step": 75
122
+ },
123
+ {
124
+ "epoch": 1.0,
125
+ "eval_loss": 1.8376365900039673,
126
+ "eval_runtime": 2.2411,
127
+ "eval_samples_per_second": 6.247,
128
+ "eval_steps_per_second": 0.446,
129
+ "step": 77
130
+ },
131
+ {
132
+ "epoch": 1.0,
133
+ "step": 77,
134
+ "total_flos": 1.5573103901178593e+18,
135
+ "train_loss": 1.9809850438848717,
136
+ "train_runtime": 1063.0601,
137
+ "train_samples_per_second": 37.02,
138
+ "train_steps_per_second": 0.072
139
+ }
140
+ ],
141
+ "logging_steps": 5,
142
+ "max_steps": 77,
143
+ "num_input_tokens_seen": 0,
144
+ "num_train_epochs": 1,
145
+ "save_steps": 100,
146
+ "stateful_callbacks": {
147
+ "TrainerControl": {
148
+ "args": {
149
+ "should_epoch_stop": false,
150
+ "should_evaluate": false,
151
+ "should_log": false,
152
+ "should_save": true,
153
+ "should_training_stop": true
154
+ },
155
+ "attributes": {}
156
+ }
157
+ },
158
+ "total_flos": 1.5573103901178593e+18,
159
+ "train_batch_size": 32,
160
+ "trial_name": null,
161
+ "trial_params": null
162
+ }