chansung commited on
Commit
0345a2e
1 Parent(s): 996ee6d

Model save

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: llama3
4
+ base_model: meta-llama/Meta-Llama-3-70B
5
+ tags:
6
+ - trl
7
+ - sft
8
+ - generated_from_trainer
9
+ datasets:
10
+ - generator
11
+ model-index:
12
+ - name: llama3-70b-lora-alpaca-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
+ # llama3-70b-lora-alpaca-11-v1
20
+
21
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3-70B](https://huggingface.co/meta-llama/Meta-Llama-3-70B) on the generator dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.4919
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: 16
44
+ - eval_batch_size: 16
45
+ - seed: 42
46
+ - distributed_type: multi-GPU
47
+ - num_devices: 8
48
+ - gradient_accumulation_steps: 2
49
+ - total_train_batch_size: 256
50
+ - total_eval_batch_size: 128
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.4916 | 1.0 | 68 | 1.4919 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.46.3
66
+ - Pytorch 2.5.1+cu124
67
+ - Datasets 3.1.0
68
+ - Tokenizers 0.20.3
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 4.647146244454482e+17,
4
+ "train_loss": 1.5711571276187897,
5
+ "train_runtime": 2260.7477,
6
+ "train_samples": 51241,
7
+ "train_samples_per_second": 7.666,
8
+ "train_steps_per_second": 0.03
9
+ }
runs/Nov22_05-45-55_agile-light-runs-fin-02/events.out.tfevents.1732255294.agile-light-runs-fin-02.54277.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6aae388abe177a5ababfab200fe3a3f4a6b919d5b4217a046713f2a5dd4cf19e
3
- size 8517
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff22e18b1399db7cd4587f3ce03c311128b0daf1c6f98f605eb93c6846a85f91
3
+ size 9131
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 4.647146244454482e+17,
4
+ "train_loss": 1.5711571276187897,
5
+ "train_runtime": 2260.7477,
6
+ "train_samples": 51241,
7
+ "train_samples_per_second": 7.666,
8
+ "train_steps_per_second": 0.03
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 68,
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.014705882352941176,
13
+ "grad_norm": 0.29233628511428833,
14
+ "learning_rate": 2.857142857142857e-05,
15
+ "loss": 1.8412,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.07352941176470588,
20
+ "grad_norm": 0.21557892858982086,
21
+ "learning_rate": 0.00014285714285714287,
22
+ "loss": 1.8158,
23
+ "step": 5
24
+ },
25
+ {
26
+ "epoch": 0.14705882352941177,
27
+ "grad_norm": 0.27912023663520813,
28
+ "learning_rate": 0.00019880878960910772,
29
+ "loss": 1.7702,
30
+ "step": 10
31
+ },
32
+ {
33
+ "epoch": 0.22058823529411764,
34
+ "grad_norm": 0.19626685976982117,
35
+ "learning_rate": 0.0001916316904487005,
36
+ "loss": 1.6706,
37
+ "step": 15
38
+ },
39
+ {
40
+ "epoch": 0.29411764705882354,
41
+ "grad_norm": 0.15178152918815613,
42
+ "learning_rate": 0.00017841198065767107,
43
+ "loss": 1.5842,
44
+ "step": 20
45
+ },
46
+ {
47
+ "epoch": 0.36764705882352944,
48
+ "grad_norm": 0.10677345097064972,
49
+ "learning_rate": 0.00016002142805483685,
50
+ "loss": 1.5496,
51
+ "step": 25
52
+ },
53
+ {
54
+ "epoch": 0.4411764705882353,
55
+ "grad_norm": 0.08041682839393616,
56
+ "learning_rate": 0.00013767278936351854,
57
+ "loss": 1.5281,
58
+ "step": 30
59
+ },
60
+ {
61
+ "epoch": 0.5147058823529411,
62
+ "grad_norm": 0.07561662793159485,
63
+ "learning_rate": 0.00011283983551465511,
64
+ "loss": 1.5326,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.5882352941176471,
69
+ "grad_norm": 0.09348361939191818,
70
+ "learning_rate": 8.71601644853449e-05,
71
+ "loss": 1.5256,
72
+ "step": 40
73
+ },
74
+ {
75
+ "epoch": 0.6617647058823529,
76
+ "grad_norm": 0.08627992123365402,
77
+ "learning_rate": 6.232721063648148e-05,
78
+ "loss": 1.5018,
79
+ "step": 45
80
+ },
81
+ {
82
+ "epoch": 0.7352941176470589,
83
+ "grad_norm": 0.09307563304901123,
84
+ "learning_rate": 3.997857194516319e-05,
85
+ "loss": 1.526,
86
+ "step": 50
87
+ },
88
+ {
89
+ "epoch": 0.8088235294117647,
90
+ "grad_norm": 0.08465312421321869,
91
+ "learning_rate": 2.1588019342328968e-05,
92
+ "loss": 1.495,
93
+ "step": 55
94
+ },
95
+ {
96
+ "epoch": 0.8823529411764706,
97
+ "grad_norm": 0.08478015661239624,
98
+ "learning_rate": 8.368309551299536e-06,
99
+ "loss": 1.4859,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 0.9558823529411765,
104
+ "grad_norm": 0.07574094086885452,
105
+ "learning_rate": 1.1912103908922945e-06,
106
+ "loss": 1.4916,
107
+ "step": 65
108
+ },
109
+ {
110
+ "epoch": 1.0,
111
+ "eval_loss": 1.4919378757476807,
112
+ "eval_runtime": 11.3628,
113
+ "eval_samples_per_second": 15.137,
114
+ "eval_steps_per_second": 0.176,
115
+ "step": 68
116
+ },
117
+ {
118
+ "epoch": 1.0,
119
+ "step": 68,
120
+ "total_flos": 4.647146244454482e+17,
121
+ "train_loss": 1.5711571276187897,
122
+ "train_runtime": 2260.7477,
123
+ "train_samples_per_second": 7.666,
124
+ "train_steps_per_second": 0.03
125
+ }
126
+ ],
127
+ "logging_steps": 5,
128
+ "max_steps": 68,
129
+ "num_input_tokens_seen": 0,
130
+ "num_train_epochs": 1,
131
+ "save_steps": 100,
132
+ "stateful_callbacks": {
133
+ "TrainerControl": {
134
+ "args": {
135
+ "should_epoch_stop": false,
136
+ "should_evaluate": false,
137
+ "should_log": false,
138
+ "should_save": true,
139
+ "should_training_stop": true
140
+ },
141
+ "attributes": {}
142
+ }
143
+ },
144
+ "total_flos": 4.647146244454482e+17,
145
+ "train_batch_size": 16,
146
+ "trial_name": null,
147
+ "trial_params": null
148
+ }