nijji commited on
Commit
5989b97
·
verified ·
1 Parent(s): f0b5016

Model save

Browse files
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ model_name: lr_0.08
4
+ tags:
5
+ - generated_from_trainer
6
+ - trl
7
+ - sft
8
+ licence: license
9
+ ---
10
+
11
+ # Model Card for lr_0.08
12
+
13
+ This model is a fine-tuned version of [None](https://huggingface.co/None).
14
+ It has been trained using [TRL](https://github.com/huggingface/trl).
15
+
16
+ ## Quick start
17
+
18
+ ```python
19
+ from transformers import pipeline
20
+
21
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
22
+ generator = pipeline("text-generation", model="nijji/lr_0.08", device="cuda")
23
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
24
+ print(output["generated_text"])
25
+ ```
26
+
27
+ ## Training procedure
28
+
29
+
30
+
31
+ This model was trained with SFT.
32
+
33
+ ### Framework versions
34
+
35
+ - TRL: 0.12.1
36
+ - Transformers: 4.49.0
37
+ - Pytorch: 2.5.1
38
+ - Datasets: 3.1.0
39
+ - Tokenizers: 0.21.0
40
+
41
+ ## Citations
42
+
43
+
44
+
45
+ Cite TRL as:
46
+
47
+ ```bibtex
48
+ @misc{vonwerra2022trl,
49
+ title = {{TRL: Transformer Reinforcement Learning}},
50
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
51
+ year = 2020,
52
+ journal = {GitHub repository},
53
+ publisher = {GitHub},
54
+ howpublished = {\url{https://github.com/huggingface/trl}}
55
+ }
56
+ ```
adapter_config.json CHANGED
@@ -23,12 +23,12 @@
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
 
26
  "gate_proj",
 
27
  "k_proj",
28
- "up_proj",
29
  "down_proj",
30
- "o_proj",
31
- "q_proj",
32
  "v_proj"
33
  ],
34
  "task_type": "CAUSAL_LM",
 
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
+ "o_proj",
27
  "gate_proj",
28
+ "q_proj",
29
  "k_proj",
 
30
  "down_proj",
31
+ "up_proj",
 
32
  "v_proj"
33
  ],
34
  "task_type": "CAUSAL_LM",
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 1.05836359974912e+16,
4
+ "train_loss": 0.0,
5
+ "train_runtime": 0.0102,
6
+ "train_samples": 106,
7
+ "train_samples_per_second": 21952.045,
8
+ "train_steps_per_second": 21952.045
9
+ }
runs/Feb25_17-23-53_autodl-container-1b3442a671-84b9ecdf/events.out.tfevents.1740475447.autodl-container-1b3442a671-84b9ecdf.180391.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:caf419bc550567fdfc4feb307e6afe0304e32dd7fd3113e20e11dd6949b46d6a
3
+ size 6443
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 1.05836359974912e+16,
4
+ "train_loss": 0.0,
5
+ "train_runtime": 0.0102,
6
+ "train_samples": 106,
7
+ "train_samples_per_second": 21952.045,
8
+ "train_steps_per_second": 21952.045
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 225,
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.13333333333333333,
13
+ "grad_norm": 9.698728561401367,
14
+ "learning_rate": 8e-05,
15
+ "loss": 1.225,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.26666666666666666,
20
+ "grad_norm": 6.055803298950195,
21
+ "learning_rate": 8e-05,
22
+ "loss": 0.8495,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.4,
27
+ "grad_norm": 4.679312705993652,
28
+ "learning_rate": 8e-05,
29
+ "loss": 0.6574,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.5333333333333333,
34
+ "grad_norm": 4.378487586975098,
35
+ "learning_rate": 8e-05,
36
+ "loss": 0.5618,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.6666666666666666,
41
+ "grad_norm": 7.2650227546691895,
42
+ "learning_rate": 8e-05,
43
+ "loss": 0.4845,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.8,
48
+ "grad_norm": 3.8373830318450928,
49
+ "learning_rate": 8e-05,
50
+ "loss": 0.4631,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.9333333333333333,
55
+ "grad_norm": 3.852592945098877,
56
+ "learning_rate": 8e-05,
57
+ "loss": 0.5386,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 1.0666666666666667,
62
+ "grad_norm": 3.892258405685425,
63
+ "learning_rate": 8e-05,
64
+ "loss": 0.3107,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 1.2,
69
+ "grad_norm": 2.4811666011810303,
70
+ "learning_rate": 8e-05,
71
+ "loss": 0.3547,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 1.3333333333333333,
76
+ "grad_norm": 1.9795215129852295,
77
+ "learning_rate": 8e-05,
78
+ "loss": 0.2735,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 1.4666666666666668,
83
+ "grad_norm": 1.7794923782348633,
84
+ "learning_rate": 8e-05,
85
+ "loss": 0.2833,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 1.6,
90
+ "grad_norm": 2.8691558837890625,
91
+ "learning_rate": 8e-05,
92
+ "loss": 0.3257,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 1.7333333333333334,
97
+ "grad_norm": 3.442941904067993,
98
+ "learning_rate": 8e-05,
99
+ "loss": 0.1854,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 1.8666666666666667,
104
+ "grad_norm": 2.7556700706481934,
105
+ "learning_rate": 8e-05,
106
+ "loss": 0.3391,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 2.0,
111
+ "grad_norm": 3.3837943077087402,
112
+ "learning_rate": 8e-05,
113
+ "loss": 0.2899,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 2.1333333333333333,
118
+ "grad_norm": 3.2746551036834717,
119
+ "learning_rate": 8e-05,
120
+ "loss": 0.1971,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 2.2666666666666666,
125
+ "grad_norm": 1.148310661315918,
126
+ "learning_rate": 8e-05,
127
+ "loss": 0.1219,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 2.4,
132
+ "grad_norm": 2.608214855194092,
133
+ "learning_rate": 8e-05,
134
+ "loss": 0.1486,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 2.533333333333333,
139
+ "grad_norm": 3.537290334701538,
140
+ "learning_rate": 8e-05,
141
+ "loss": 0.1678,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 2.6666666666666665,
146
+ "grad_norm": 1.9116101264953613,
147
+ "learning_rate": 8e-05,
148
+ "loss": 0.1679,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 2.8,
153
+ "grad_norm": 3.0522828102111816,
154
+ "learning_rate": 8e-05,
155
+ "loss": 0.1545,
156
+ "step": 210
157
+ },
158
+ {
159
+ "epoch": 2.9333333333333336,
160
+ "grad_norm": 2.040424108505249,
161
+ "learning_rate": 8e-05,
162
+ "loss": 0.1119,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 3.0,
167
+ "step": 225,
168
+ "total_flos": 1.05836359974912e+16,
169
+ "train_loss": 0.0,
170
+ "train_runtime": 0.0102,
171
+ "train_samples_per_second": 21952.045,
172
+ "train_steps_per_second": 21952.045
173
+ }
174
+ ],
175
+ "logging_steps": 10,
176
+ "max_steps": 225,
177
+ "num_input_tokens_seen": 0,
178
+ "num_train_epochs": 3,
179
+ "save_steps": 500,
180
+ "stateful_callbacks": {
181
+ "TrainerControl": {
182
+ "args": {
183
+ "should_epoch_stop": false,
184
+ "should_evaluate": false,
185
+ "should_log": false,
186
+ "should_save": true,
187
+ "should_training_stop": true
188
+ },
189
+ "attributes": {}
190
+ }
191
+ },
192
+ "total_flos": 1.05836359974912e+16,
193
+ "train_batch_size": 1,
194
+ "trial_name": null,
195
+ "trial_params": null
196
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2d2e63870eb0e2b094324c03b7c0d06a4759336cdc35ed724540ef84ee3c9782
3
  size 5688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd38717b7ebf695824ad76f312984b478667bd48a842bf02da79e67b67963310
3
  size 5688