llaa33219 commited on
Commit
f1fd740
·
verified ·
1 Parent(s): 5908eb9

llaa33219/SmolLM2-360M-Instruct-Ko

Browse files
README.md ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: HuggingFaceTB/SmolLM2-360M-Instruct
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: fine_tuned_model
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # fine_tuned_model
16
+
17
+ This model is a fine-tuned version of [HuggingFaceTB/SmolLM2-360M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-360M-Instruct) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.1907
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 2e-05
39
+ - train_batch_size: 4
40
+ - eval_batch_size: 4
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 4
43
+ - total_train_batch_size: 16
44
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_ratio: 0.1
47
+ - num_epochs: 3
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:------:|:-----:|:---------------:|
53
+ | 1.3487 | 0.0480 | 500 | 1.3539 |
54
+ | 1.323 | 0.0960 | 1000 | 1.3198 |
55
+ | 1.2847 | 0.1440 | 1500 | 1.2808 |
56
+ | 1.2492 | 0.1920 | 2000 | 1.2494 |
57
+ | 1.2453 | 0.2400 | 2500 | 1.2329 |
58
+ | 1.2265 | 0.2880 | 3000 | 1.2203 |
59
+ | 1.214 | 0.3360 | 3500 | 1.2107 |
60
+ | 1.2035 | 0.3840 | 4000 | 1.2052 |
61
+ | 1.2045 | 0.4320 | 4500 | 1.2015 |
62
+ | 1.202 | 0.4800 | 5000 | 1.1988 |
63
+ | 1.1951 | 0.5279 | 5500 | 1.1969 |
64
+ | 1.2009 | 0.5759 | 6000 | 1.1955 |
65
+ | 1.1946 | 0.6239 | 6500 | 1.1944 |
66
+ | 1.1878 | 0.6719 | 7000 | 1.1935 |
67
+ | 1.1889 | 0.7199 | 7500 | 1.1928 |
68
+ | 1.1945 | 0.7679 | 8000 | 1.1923 |
69
+ | 1.1912 | 0.8159 | 8500 | 1.1920 |
70
+ | 1.1975 | 0.8639 | 9000 | 1.1917 |
71
+ | 1.1952 | 0.9119 | 9500 | 1.1914 |
72
+ | 1.2017 | 0.9599 | 10000 | 1.1913 |
73
+ | 1.1899 | 1.0079 | 10500 | 1.1911 |
74
+ | 1.1866 | 1.0559 | 11000 | 1.1909 |
75
+ | 1.188 | 1.1039 | 11500 | 1.1909 |
76
+ | 1.189 | 1.1519 | 12000 | 1.1908 |
77
+ | 1.1915 | 1.1999 | 12500 | 1.1908 |
78
+ | 1.1864 | 1.2478 | 13000 | 1.1907 |
79
+ | 1.1919 | 1.2958 | 13500 | 1.1907 |
80
+ | 1.1897 | 1.3438 | 14000 | 1.1907 |
81
+ | 1.1833 | 1.3918 | 14500 | 1.1907 |
82
+ | 1.1921 | 1.4398 | 15000 | 1.1907 |
83
+ | 1.195 | 1.4878 | 15500 | 1.1907 |
84
+ | 1.2005 | 1.5358 | 16000 | 1.1907 |
85
+ | 1.1964 | 1.5838 | 16500 | 1.1907 |
86
+ | 1.1942 | 1.6318 | 17000 | 1.1906 |
87
+ | 1.1919 | 1.6798 | 17500 | 1.1907 |
88
+ | 1.1905 | 1.7278 | 18000 | 1.1906 |
89
+ | 1.1947 | 1.7758 | 18500 | 1.1906 |
90
+ | 1.1978 | 1.8238 | 19000 | 1.1906 |
91
+ | 1.1929 | 1.8718 | 19500 | 1.1906 |
92
+ | 1.1905 | 1.9198 | 20000 | 1.1907 |
93
+ | 1.1889 | 1.9678 | 20500 | 1.1906 |
94
+ | 1.1887 | 2.0157 | 21000 | 1.1907 |
95
+ | 1.1857 | 2.0637 | 21500 | 1.1906 |
96
+ | 1.1913 | 2.1117 | 22000 | 1.1907 |
97
+ | 1.1908 | 2.1597 | 22500 | 1.1907 |
98
+ | 1.1953 | 2.2077 | 23000 | 1.1906 |
99
+ | 1.1969 | 2.2557 | 23500 | 1.1907 |
100
+ | 1.1962 | 2.3037 | 24000 | 1.1906 |
101
+ | 1.1922 | 2.3517 | 24500 | 1.1906 |
102
+ | 1.188 | 2.3997 | 25000 | 1.1906 |
103
+ | 1.1949 | 2.4477 | 25500 | 1.1906 |
104
+ | 1.1945 | 2.4957 | 26000 | 1.1906 |
105
+ | 1.1847 | 2.5437 | 26500 | 1.1906 |
106
+ | 1.1953 | 2.5917 | 27000 | 1.1907 |
107
+ | 1.1918 | 2.6397 | 27500 | 1.1906 |
108
+ | 1.1905 | 2.6877 | 28000 | 1.1907 |
109
+ | 1.1849 | 2.7357 | 28500 | 1.1907 |
110
+ | 1.1964 | 2.7837 | 29000 | 1.1907 |
111
+ | 1.1867 | 2.8317 | 29500 | 1.1907 |
112
+ | 1.1972 | 2.8797 | 30000 | 1.1906 |
113
+ | 1.1965 | 2.9276 | 30500 | 1.1907 |
114
+ | 1.1886 | 2.9756 | 31000 | 1.1907 |
115
+
116
+
117
+ ### Framework versions
118
+
119
+ - Transformers 4.57.3
120
+ - Pytorch 2.9.1+cu128
121
+ - Datasets 4.4.1
122
+ - Tokenizers 0.22.1
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 %}
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "dtype": "bfloat16",
9
+ "eos_token_id": 2,
10
+ "head_dim": 64,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 960,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 2560,
15
+ "is_llama_config": true,
16
+ "max_position_embeddings": 8192,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 15,
20
+ "num_hidden_layers": 32,
21
+ "num_key_value_heads": 5,
22
+ "pad_token_id": 2,
23
+ "pretraining_tp": 1,
24
+ "rms_norm_eps": 1e-05,
25
+ "rope_interleaved": false,
26
+ "rope_scaling": null,
27
+ "rope_theta": 100000,
28
+ "tie_word_embeddings": true,
29
+ "transformers.js_config": {
30
+ "kv_cache_dtype": {
31
+ "fp16": "float16",
32
+ "q4f16": "float16"
33
+ }
34
+ },
35
+ "transformers_version": "4.57.3",
36
+ "use_cache": true,
37
+ "vocab_size": 49152
38
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": [
5
+ 2
6
+ ],
7
+ "pad_token_id": 2,
8
+ "transformers_version": "4.57.3"
9
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc34d62b9ae3ba5df813f58e51d2ff2fb24bff0c8b1a0f1f9556535688dec52d
3
+ size 723674912
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
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "clean_up_tokenization_spaces": false,
147
+ "eos_token": "<|im_end|>",
148
+ "extra_special_tokens": {},
149
+ "model_max_length": 8192,
150
+ "pad_token": "<|im_end|>",
151
+ "tokenizer_class": "GPT2Tokenizer",
152
+ "unk_token": "<|endoftext|>",
153
+ "vocab_size": 49152
154
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:429f6d23487a4ae70747bdf95da088209dcd19af625d09bd0e328470b36c31d7
3
+ size 5841
vocab.json ADDED
The diff for this file is too large to render. See raw diff