mnoukhov commited on
Commit
30bdaf1
1 Parent(s): 2b9ece6

Training in progress, step 1451, checkpoint

Browse files
checkpoint-1451/config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mnoukhov/SmolLM2-135M-Instruct_tldr-sft",
3
+ "architectures": [
4
+ "LlamaForSequenceClassification"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "head_dim": 64,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 576,
13
+ "id2label": {
14
+ "0": "LABEL_0"
15
+ },
16
+ "initializer_range": 0.041666666666666664,
17
+ "intermediate_size": 1536,
18
+ "is_llama_config": true,
19
+ "label2id": {
20
+ "LABEL_0": 0
21
+ },
22
+ "max_position_embeddings": 8192,
23
+ "mlp_bias": false,
24
+ "model_type": "llama",
25
+ "num_attention_heads": 9,
26
+ "num_hidden_layers": 30,
27
+ "num_key_value_heads": 3,
28
+ "pad_token_id": 2,
29
+ "pretraining_tp": 1,
30
+ "rms_norm_eps": 1e-05,
31
+ "rope_interleaved": false,
32
+ "rope_scaling": null,
33
+ "rope_theta": 100000,
34
+ "tie_word_embeddings": true,
35
+ "torch_dtype": "bfloat16",
36
+ "transformers.js_config": {
37
+ "kv_cache_dtype": {
38
+ "fp16": "float16",
39
+ "q4f16": "float16"
40
+ }
41
+ },
42
+ "transformers_version": "4.46.2",
43
+ "use_cache": true,
44
+ "vocab_size": 49152
45
+ }
checkpoint-1451/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1451/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db711e84881c171c81aa2af794e43d3b6f0d286150cb8bb45cf11e0116dfe2ee
3
+ size 269061784
checkpoint-1451/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ee663b20ae6ce538b2376e36947e4089c108a7a7c96b790d225eef151c7bd24
3
+ size 538292218
checkpoint-1451/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9a6944c405a002fce05f295d08ea6650e2e2ad6dbf5d6da1e9053f7bf7f5827
3
+ size 14244
checkpoint-1451/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3145d99c6ae38f5510a6fff1ad46e7ccc65e49e4d219d1cad4368f1734549219
3
+ size 1064
checkpoint-1451/special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<|im_start|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "<|im_end|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "unk_token": {
28
+ "content": "<|endoftext|>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
checkpoint-1451/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1451/tokenizer_config.json ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<repo_name>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<reponame>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": "<file_sep>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<filename>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "<gh_stars>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<issue_start>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "<issue_comment>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "10": {
85
+ "content": "<issue_closed>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "11": {
93
+ "content": "<jupyter_start>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "12": {
101
+ "content": "<jupyter_text>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "13": {
109
+ "content": "<jupyter_code>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "14": {
117
+ "content": "<jupyter_output>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ },
124
+ "15": {
125
+ "content": "<jupyter_script>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": true
131
+ },
132
+ "16": {
133
+ "content": "<empty_output>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": true
139
+ }
140
+ },
141
+ "additional_special_tokens": [
142
+ "<|im_start|>",
143
+ "<|im_end|>"
144
+ ],
145
+ "bos_token": "<|im_start|>",
146
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
147
+ "clean_up_tokenization_spaces": false,
148
+ "eos_token": "<|im_end|>",
149
+ "max_length": 580,
150
+ "model_max_length": 2048,
151
+ "pad_token": "<|im_end|>",
152
+ "stride": 0,
153
+ "tokenizer_class": "GPT2Tokenizer",
154
+ "truncation_side": "right",
155
+ "truncation_strategy": "longest_first",
156
+ "unk_token": "<|endoftext|>",
157
+ "vocab_size": 49152
158
+ }
checkpoint-1451/trainer_state.json ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 291,
6
+ "global_step": 1451,
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.06891798759476224,
13
+ "grad_norm": 47.0,
14
+ "learning_rate": 9.88326321974139e-06,
15
+ "loss": 0.6874,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.13783597518952448,
20
+ "grad_norm": 25.0,
21
+ "learning_rate": 9.53850386931162e-06,
22
+ "loss": 0.6895,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.2005513439007581,
27
+ "eval_accuracy": 0.569592611154865,
28
+ "eval_loss": 0.6835629940032959,
29
+ "eval_runtime": 378.97,
30
+ "eval_samples_per_second": 221.131,
31
+ "eval_steps_per_second": 27.643,
32
+ "step": 291
33
+ },
34
+ {
35
+ "epoch": 0.2067539627842867,
36
+ "grad_norm": 21.625,
37
+ "learning_rate": 8.981820387323976e-06,
38
+ "loss": 0.6849,
39
+ "step": 300
40
+ },
41
+ {
42
+ "epoch": 0.27567195037904896,
43
+ "grad_norm": 14.5,
44
+ "learning_rate": 8.239206948702616e-06,
45
+ "loss": 0.6902,
46
+ "step": 400
47
+ },
48
+ {
49
+ "epoch": 0.34458993797381116,
50
+ "grad_norm": 23.875,
51
+ "learning_rate": 7.345339674168113e-06,
52
+ "loss": 0.6849,
53
+ "step": 500
54
+ },
55
+ {
56
+ "epoch": 0.4011026878015162,
57
+ "eval_accuracy": 0.5740077802439083,
58
+ "eval_loss": 0.6811934113502502,
59
+ "eval_runtime": 377.4685,
60
+ "eval_samples_per_second": 222.011,
61
+ "eval_steps_per_second": 27.753,
62
+ "step": 582
63
+ },
64
+ {
65
+ "epoch": 0.4135079255685734,
66
+ "grad_norm": 25.125,
67
+ "learning_rate": 6.341957438763544e-06,
68
+ "loss": 0.6813,
69
+ "step": 600
70
+ },
71
+ {
72
+ "epoch": 0.4824259131633356,
73
+ "grad_norm": 14.875,
74
+ "learning_rate": 5.275912887100837e-06,
75
+ "loss": 0.6878,
76
+ "step": 700
77
+ },
78
+ {
79
+ "epoch": 0.5513439007580979,
80
+ "grad_norm": 21.25,
81
+ "learning_rate": 4.1969846626093244e-06,
82
+ "loss": 0.6902,
83
+ "step": 800
84
+ },
85
+ {
86
+ "epoch": 0.6016540317022743,
87
+ "eval_accuracy": 0.5770864657168087,
88
+ "eval_loss": 0.6811434030532837,
89
+ "eval_runtime": 379.7091,
90
+ "eval_samples_per_second": 220.701,
91
+ "eval_steps_per_second": 27.59,
92
+ "step": 873
93
+ },
94
+ {
95
+ "epoch": 0.6202618883528601,
96
+ "grad_norm": 12.125,
97
+ "learning_rate": 3.155553008111921e-06,
98
+ "loss": 0.6893,
99
+ "step": 900
100
+ },
101
+ {
102
+ "epoch": 0.6891798759476223,
103
+ "grad_norm": 39.5,
104
+ "learning_rate": 2.2002472748907948e-06,
105
+ "loss": 0.6849,
106
+ "step": 1000
107
+ },
108
+ {
109
+ "epoch": 0.7580978635423845,
110
+ "grad_norm": 21.875,
111
+ "learning_rate": 1.3756751891294767e-06,
112
+ "loss": 0.6868,
113
+ "step": 1100
114
+ },
115
+ {
116
+ "epoch": 0.8022053756030324,
117
+ "eval_accuracy": 0.5794491778239182,
118
+ "eval_loss": 0.6808037161827087,
119
+ "eval_runtime": 378.7407,
120
+ "eval_samples_per_second": 221.265,
121
+ "eval_steps_per_second": 27.66,
122
+ "step": 1164
123
+ },
124
+ {
125
+ "epoch": 0.8270158511371468,
126
+ "grad_norm": 14.75,
127
+ "learning_rate": 7.203399069811245e-07,
128
+ "loss": 0.6872,
129
+ "step": 1200
130
+ },
131
+ {
132
+ "epoch": 0.895933838731909,
133
+ "grad_norm": 26.125,
134
+ "learning_rate": 2.6484212077688697e-07,
135
+ "loss": 0.6866,
136
+ "step": 1300
137
+ },
138
+ {
139
+ "epoch": 0.9648518263266712,
140
+ "grad_norm": 24.75,
141
+ "learning_rate": 3.045116850732776e-08,
142
+ "loss": 0.6843,
143
+ "step": 1400
144
+ }
145
+ ],
146
+ "logging_steps": 100,
147
+ "max_steps": 1451,
148
+ "num_input_tokens_seen": 0,
149
+ "num_train_epochs": 1,
150
+ "save_steps": 291,
151
+ "stateful_callbacks": {
152
+ "TrainerControl": {
153
+ "args": {
154
+ "should_epoch_stop": false,
155
+ "should_evaluate": false,
156
+ "should_log": false,
157
+ "should_save": true,
158
+ "should_training_stop": true
159
+ },
160
+ "attributes": {}
161
+ }
162
+ },
163
+ "total_flos": 0.0,
164
+ "train_batch_size": 8,
165
+ "trial_name": null,
166
+ "trial_params": null
167
+ }
checkpoint-1451/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba979f24668c0cf8441fbd7354957115ac47a09976111fe460aa9f486678a844
3
+ size 5432
checkpoint-1451/vocab.json ADDED
The diff for this file is too large to render. See raw diff