Lolol857 commited on
Commit
15951ec
·
verified ·
1 Parent(s): e3bf85e

Training in progress, step 200, checkpoint

Browse files
.gitattributes CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ last-checkpoint/tokenizer.json filter=lfs diff=lfs merge=lfs -text
last-checkpoint/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/phi-4-mini-instruct-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/phi-4-mini-instruct-unsloth-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.18.1
last-checkpoint/adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Phi3ForCausalLM",
7
+ "parent_library": "transformers.models.phi3.modeling_phi3",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/phi-4-mini-instruct-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 64,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.1",
31
+ "qalora_group_size": 16,
32
+ "r": 32,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "v_proj",
37
+ "gate_proj",
38
+ "down_proj",
39
+ "q_proj",
40
+ "up_proj",
41
+ "o_proj",
42
+ "k_proj"
43
+ ],
44
+ "target_parameters": null,
45
+ "task_type": "CAUSAL_LM",
46
+ "trainable_token_indices": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": false
50
+ }
last-checkpoint/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71ccfb8f41dad1dfcd0bb650334aed63a11f93ec71c1eaefb81b61559bd09d9e
3
+ size 71320216
last-checkpoint/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% for message in messages %}{% if message['role'] == 'system' and 'tools' in message and message['tools'] is not none %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|tool|>' + message['tools'] + '<|/tool|>' + '<|end|>' }}{% else %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|end|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>' }}{% endif %}
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cec5e172fb41464464eeaddd881f77f2d6b6eb011c580fcdbb7613569593dc89
3
+ size 142716747
last-checkpoint/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7d97ac6ed24b74a3a0f7c87881919ab5f3d1f569edb9be86c9a448d0030644e
3
+ size 14645
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:729eda5067a16b312d124396027f9641dacc544e925647ecd0ea453a4ca5ff0a
3
+ size 1465
last-checkpoint/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f03ea2905c4756993ab91ac167a2e667123703fc9cc238576d667ea4efce0a3a
3
+ size 15524853
last-checkpoint/tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|endoftext|>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|end|>",
7
+ "is_local": false,
8
+ "model_max_length": 131072,
9
+ "pad_token": "<|PAD▁TOKEN|>",
10
+ "padding_side": "right",
11
+ "tokenizer_class": "TokenizersBackend",
12
+ "unk_token": "�"
13
+ }
last-checkpoint/trainer_state.json ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.64,
6
+ "eval_steps": 500,
7
+ "global_step": 200,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.032,
14
+ "grad_norm": 1.0102344751358032,
15
+ "learning_rate": 1.9712460063897765e-05,
16
+ "loss": 1.4549222946166993,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.064,
21
+ "grad_norm": 0.46306419372558594,
22
+ "learning_rate": 1.939297124600639e-05,
23
+ "loss": 1.3222216606140136,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.096,
28
+ "grad_norm": 0.36418282985687256,
29
+ "learning_rate": 1.907348242811502e-05,
30
+ "loss": 1.2529356956481934,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.128,
35
+ "grad_norm": 0.4369550049304962,
36
+ "learning_rate": 1.8753993610223644e-05,
37
+ "loss": 1.2766046524047852,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.16,
42
+ "grad_norm": 0.32627224922180176,
43
+ "learning_rate": 1.843450479233227e-05,
44
+ "loss": 1.219429111480713,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.192,
49
+ "grad_norm": 0.3801533877849579,
50
+ "learning_rate": 1.81150159744409e-05,
51
+ "loss": 1.2305475234985352,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.224,
56
+ "grad_norm": 0.37861013412475586,
57
+ "learning_rate": 1.779552715654952e-05,
58
+ "loss": 1.1863243103027343,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.256,
63
+ "grad_norm": 0.28361696004867554,
64
+ "learning_rate": 1.747603833865815e-05,
65
+ "loss": 1.1756513595581055,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.288,
70
+ "grad_norm": 0.4026719331741333,
71
+ "learning_rate": 1.7156549520766774e-05,
72
+ "loss": 1.1515040397644043,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.32,
77
+ "grad_norm": 0.30786922574043274,
78
+ "learning_rate": 1.68370607028754e-05,
79
+ "loss": 1.1889731407165527,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.352,
84
+ "grad_norm": 0.3157590329647064,
85
+ "learning_rate": 1.6517571884984028e-05,
86
+ "loss": 1.1859448432922364,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.384,
91
+ "grad_norm": 0.46653488278388977,
92
+ "learning_rate": 1.6198083067092653e-05,
93
+ "loss": 1.1916743278503419,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.416,
98
+ "grad_norm": 0.42531418800354004,
99
+ "learning_rate": 1.587859424920128e-05,
100
+ "loss": 1.1596085548400878,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.448,
105
+ "grad_norm": 0.2795862555503845,
106
+ "learning_rate": 1.5559105431309904e-05,
107
+ "loss": 1.1774505615234374,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.48,
112
+ "grad_norm": 0.3291591703891754,
113
+ "learning_rate": 1.523961661341853e-05,
114
+ "loss": 1.1720147132873535,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.512,
119
+ "grad_norm": 0.32092520594596863,
120
+ "learning_rate": 1.4920127795527158e-05,
121
+ "loss": 1.1435413360595703,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.544,
126
+ "grad_norm": 0.2996808588504791,
127
+ "learning_rate": 1.4600638977635784e-05,
128
+ "loss": 1.1594428062438964,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.576,
133
+ "grad_norm": 0.4263244569301605,
134
+ "learning_rate": 1.428115015974441e-05,
135
+ "loss": 1.1573684692382813,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.608,
140
+ "grad_norm": 0.322401762008667,
141
+ "learning_rate": 1.3961661341853037e-05,
142
+ "loss": 1.1666208267211915,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 0.64,
147
+ "grad_norm": 0.3830026090145111,
148
+ "learning_rate": 1.3642172523961664e-05,
149
+ "loss": 1.1669861793518066,
150
+ "step": 200
151
+ }
152
+ ],
153
+ "logging_steps": 10,
154
+ "max_steps": 626,
155
+ "num_input_tokens_seen": 0,
156
+ "num_train_epochs": 2,
157
+ "save_steps": 200,
158
+ "stateful_callbacks": {
159
+ "TrainerControl": {
160
+ "args": {
161
+ "should_epoch_stop": false,
162
+ "should_evaluate": false,
163
+ "should_log": false,
164
+ "should_save": true,
165
+ "should_training_stop": false
166
+ },
167
+ "attributes": {}
168
+ }
169
+ },
170
+ "total_flos": 3.540581615215411e+16,
171
+ "train_batch_size": 4,
172
+ "trial_name": null,
173
+ "trial_params": null
174
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:caf8dadcc35792329b7f8184ba4e40a729c5536ebb70a3fac43162dda7d65f0a
3
+ size 5649