rufatronics commited on
Commit
eef98ed
·
verified ·
1 Parent(s): de08ec4

checkpoint-500 | loss=?

Browse files
checkpoint-500/README.md ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: HuggingFaceTB/SmolLM2-135M-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:HuggingFaceTB/SmolLM2-135M-Instruct
7
+ - lora
8
+ - sft
9
+ - trl
10
+ ---
11
+
12
+ # Model Card for Model ID
13
+
14
+ <!-- Provide a quick summary of what the model is/does. -->
15
+
16
+
17
+
18
+ ## Model Details
19
+
20
+ ### Model Description
21
+
22
+ <!-- Provide a longer summary of what this model is. -->
23
+
24
+
25
+
26
+ - **Developed by:** [More Information Needed]
27
+ - **Funded by [optional]:** [More Information Needed]
28
+ - **Shared by [optional]:** [More Information Needed]
29
+ - **Model type:** [More Information Needed]
30
+ - **Language(s) (NLP):** [More Information Needed]
31
+ - **License:** [More Information Needed]
32
+ - **Finetuned from model [optional]:** [More Information Needed]
33
+
34
+ ### Model Sources [optional]
35
+
36
+ <!-- Provide the basic links for the model. -->
37
+
38
+ - **Repository:** [More Information Needed]
39
+ - **Paper [optional]:** [More Information Needed]
40
+ - **Demo [optional]:** [More Information Needed]
41
+
42
+ ## Uses
43
+
44
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
+
46
+ ### Direct Use
47
+
48
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Downstream Use [optional]
53
+
54
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
+
56
+ [More Information Needed]
57
+
58
+ ### Out-of-Scope Use
59
+
60
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ## Bias, Risks, and Limitations
65
+
66
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
+
68
+ [More Information Needed]
69
+
70
+ ### Recommendations
71
+
72
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
+
74
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
+
76
+ ## How to Get Started with the Model
77
+
78
+ Use the code below to get started with the model.
79
+
80
+ [More Information Needed]
81
+
82
+ ## Training Details
83
+
84
+ ### Training Data
85
+
86
+ <!-- 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. -->
87
+
88
+ [More Information Needed]
89
+
90
+ ### Training Procedure
91
+
92
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
+
94
+ #### Preprocessing [optional]
95
+
96
+ [More Information Needed]
97
+
98
+
99
+ #### Training Hyperparameters
100
+
101
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
+
103
+ #### Speeds, Sizes, Times [optional]
104
+
105
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
+
107
+ [More Information Needed]
108
+
109
+ ## Evaluation
110
+
111
+ <!-- This section describes the evaluation protocols and provides the results. -->
112
+
113
+ ### Testing Data, Factors & Metrics
114
+
115
+ #### Testing Data
116
+
117
+ <!-- This should link to a Dataset Card if possible. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Factors
122
+
123
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
+
125
+ [More Information Needed]
126
+
127
+ #### Metrics
128
+
129
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
+
131
+ [More Information Needed]
132
+
133
+ ### Results
134
+
135
+ [More Information Needed]
136
+
137
+ #### Summary
138
+
139
+
140
+
141
+ ## Model Examination [optional]
142
+
143
+ <!-- Relevant interpretability work for the model goes here -->
144
+
145
+ [More Information Needed]
146
+
147
+ ## Environmental Impact
148
+
149
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
+
151
+ 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).
152
+
153
+ - **Hardware Type:** [More Information Needed]
154
+ - **Hours used:** [More Information Needed]
155
+ - **Cloud Provider:** [More Information Needed]
156
+ - **Compute Region:** [More Information Needed]
157
+ - **Carbon Emitted:** [More Information Needed]
158
+
159
+ ## Technical Specifications [optional]
160
+
161
+ ### Model Architecture and Objective
162
+
163
+ [More Information Needed]
164
+
165
+ ### Compute Infrastructure
166
+
167
+ [More Information Needed]
168
+
169
+ #### Hardware
170
+
171
+ [More Information Needed]
172
+
173
+ #### Software
174
+
175
+ [More Information Needed]
176
+
177
+ ## Citation [optional]
178
+
179
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
+
181
+ **BibTeX:**
182
+
183
+ [More Information Needed]
184
+
185
+ **APA:**
186
+
187
+ [More Information Needed]
188
+
189
+ ## Glossary [optional]
190
+
191
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
+
193
+ [More Information Needed]
194
+
195
+ ## More Information [optional]
196
+
197
+ [More Information Needed]
198
+
199
+ ## Model Card Authors [optional]
200
+
201
+ [More Information Needed]
202
+
203
+ ## Model Card Contact
204
+
205
+ [More Information Needed]
206
+ ### Framework versions
207
+
208
+ - PEFT 0.19.1
checkpoint-500/adapter_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "HuggingFaceTB/SmolLM2-135M-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "k_proj",
34
+ "o_proj",
35
+ "v_proj",
36
+ "q_proj"
37
+ ],
38
+ "target_parameters": null,
39
+ "task_type": "CAUSAL_LM",
40
+ "trainable_token_indices": null,
41
+ "use_bdlora": null,
42
+ "use_dora": false,
43
+ "use_qalora": false,
44
+ "use_rslora": false
45
+ }
checkpoint-500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:474c10417ade73c38021b103577892792665f308b081459d7196e2ff55361609
3
+ size 7408448
checkpoint-500/chat_template.jinja ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
2
+ You are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>
3
+ ' }}{% endif %}{{'<|im_start|>' + message['role'] + '
4
+ ' + message['content'] + '<|im_end|>' + '
5
+ '}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
6
+ ' }}{% endif %}
checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cce6ee37348f6e0cb7b47524f1fd1f9942927d32e3065edfc8d4539ce7febaf5
3
+ size 14950667
checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc0ef397f5dfff23dda1c44b77fb76968a3a5c2213422360014886da05e3612f
3
+ size 14645
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f77569c2e850b04af982cc8c1389f1430851448915c593b69e5da36ce05b71d7
3
+ size 1383
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c89a317618a60eb121df3f49fbad2103da4a35a198085cfb9f4bab73f64f2967
3
+ size 1465
checkpoint-500/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-500/tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|im_start|>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>"
11
+ ],
12
+ "is_local": false,
13
+ "local_files_only": false,
14
+ "model_max_length": 8192,
15
+ "pad_token": "<|im_end|>",
16
+ "tokenizer_class": "GPT2Tokenizer",
17
+ "unk_token": "<|endoftext|>",
18
+ "vocab_size": 49152
19
+ }
checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 250,
3
+ "best_metric": 1.663292407989502,
4
+ "best_model_checkpoint": "/content/work/checkpoints/checkpoint-250",
5
+ "epoch": 0.0447427293064877,
6
+ "eval_steps": 250,
7
+ "global_step": 500,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 2.651820396184921,
14
+ "epoch": 0.0044742729306487695,
15
+ "grad_norm": 0.442557692527771,
16
+ "learning_rate": 9.8e-05,
17
+ "loss": 3.280501403808594,
18
+ "mean_token_accuracy": 0.4026365186274052,
19
+ "num_tokens": 130832.0,
20
+ "step": 50
21
+ },
22
+ {
23
+ "entropy": 2.7069850754737854,
24
+ "epoch": 0.008948545861297539,
25
+ "grad_norm": 0.41429346799850464,
26
+ "learning_rate": 0.00019800000000000002,
27
+ "loss": 2.666520690917969,
28
+ "mean_token_accuracy": 0.4684834870696068,
29
+ "num_tokens": 261056.0,
30
+ "step": 100
31
+ },
32
+ {
33
+ "entropy": 2.2673240077495573,
34
+ "epoch": 0.013422818791946308,
35
+ "grad_norm": 0.5210320353507996,
36
+ "learning_rate": 0.00019999760668343463,
37
+ "loss": 2.216226806640625,
38
+ "mean_token_accuracy": 0.5265978004038334,
39
+ "num_tokens": 391278.0,
40
+ "step": 150
41
+ },
42
+ {
43
+ "entropy": 2.015401030778885,
44
+ "epoch": 0.017897091722595078,
45
+ "grad_norm": 0.5778504610061646,
46
+ "learning_rate": 0.00019999023048426428,
47
+ "loss": 1.9369810485839845,
48
+ "mean_token_accuracy": 0.5647277806699276,
49
+ "num_tokens": 522585.0,
50
+ "step": 200
51
+ },
52
+ {
53
+ "entropy": 1.8627986872196198,
54
+ "epoch": 0.02237136465324385,
55
+ "grad_norm": 1.007725715637207,
56
+ "learning_rate": 0.00019997787077331475,
57
+ "loss": 1.7507638549804687,
58
+ "mean_token_accuracy": 0.5964532348513604,
59
+ "num_tokens": 653608.0,
60
+ "step": 250
61
+ },
62
+ {
63
+ "epoch": 0.02237136465324385,
64
+ "eval_entropy": 1.7570730288181717,
65
+ "eval_loss": 1.663292407989502,
66
+ "eval_mean_token_accuracy": 0.6118261234789669,
67
+ "eval_num_tokens": 653608.0,
68
+ "eval_runtime": 231.339,
69
+ "eval_samples_per_second": 81.352,
70
+ "eval_steps_per_second": 10.171,
71
+ "step": 250
72
+ },
73
+ {
74
+ "entropy": 2.790428400039673,
75
+ "epoch": 0.026845637583892617,
76
+ "grad_norm": 0.3708084523677826,
77
+ "learning_rate": 0.0001999605281665939,
78
+ "loss": 2.9912448120117188,
79
+ "mean_token_accuracy": 0.4324784705042839,
80
+ "num_tokens": 129363.0,
81
+ "step": 300
82
+ },
83
+ {
84
+ "entropy": 2.5292794728279113,
85
+ "epoch": 0.03131991051454139,
86
+ "grad_norm": 0.504848301410675,
87
+ "learning_rate": 0.00019993820352845704,
88
+ "loss": 2.4664991760253905,
89
+ "mean_token_accuracy": 0.4925511160492897,
90
+ "num_tokens": 259293.0,
91
+ "step": 350
92
+ },
93
+ {
94
+ "entropy": 2.227354944348335,
95
+ "epoch": 0.035794183445190156,
96
+ "grad_norm": 0.47856974601745605,
97
+ "learning_rate": 0.00019991089797156378,
98
+ "loss": 2.183813171386719,
99
+ "mean_token_accuracy": 0.5316948869824409,
100
+ "num_tokens": 389682.0,
101
+ "step": 400
102
+ },
103
+ {
104
+ "entropy": 2.036482437252998,
105
+ "epoch": 0.040268456375838924,
106
+ "grad_norm": 0.6903976202011108,
107
+ "learning_rate": 0.00019987861285682276,
108
+ "loss": 1.9621383666992187,
109
+ "mean_token_accuracy": 0.5651841352880002,
110
+ "num_tokens": 521242.0,
111
+ "step": 450
112
+ },
113
+ {
114
+ "entropy": 1.8924587434530258,
115
+ "epoch": 0.0447427293064877,
116
+ "grad_norm": 1.118765950202942,
117
+ "learning_rate": 0.00019984134979332365,
118
+ "loss": 1.7855641174316406,
119
+ "mean_token_accuracy": 0.5903938812017441,
120
+ "num_tokens": 650935.0,
121
+ "step": 500
122
+ },
123
+ {
124
+ "epoch": 0.0447427293064877,
125
+ "eval_entropy": 1.7746684214838808,
126
+ "eval_loss": 1.6794711351394653,
127
+ "eval_mean_token_accuracy": 0.608957466980877,
128
+ "eval_num_tokens": 650935.0,
129
+ "eval_runtime": 223.3119,
130
+ "eval_samples_per_second": 84.277,
131
+ "eval_steps_per_second": 10.537,
132
+ "step": 500
133
+ }
134
+ ],
135
+ "logging_steps": 50,
136
+ "max_steps": 22350,
137
+ "num_input_tokens_seen": 0,
138
+ "num_train_epochs": 2,
139
+ "save_steps": 250,
140
+ "stateful_callbacks": {
141
+ "TrainerControl": {
142
+ "args": {
143
+ "should_epoch_stop": false,
144
+ "should_evaluate": false,
145
+ "should_log": false,
146
+ "should_save": true,
147
+ "should_training_stop": false
148
+ },
149
+ "attributes": {}
150
+ }
151
+ },
152
+ "total_flos": 1083535085030400.0,
153
+ "train_batch_size": 8,
154
+ "trial_name": null,
155
+ "trial_params": null
156
+ }
checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:104f85937520e28216c832e9214554f46be2b0495d85b4111df01a6c6a97996b
3
+ size 5649