Add finetuned with KoAlpaca v1.1b
Browse files- README.md +52 -0
- all_results.json +8 -0
- config.json +26 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +11 -0
- tokenizer.json +0 -0
- tokenizer_config.json +7 -0
- train_results.json +8 -0
- trainer_state.json +199 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,3 +1,55 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: polyglot-12.8b-koalpaca-v1.1b
|
7 |
+
results: []
|
8 |
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# polyglot-12.8b-koalpaca-v1.1b
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [EleutherAI/polyglot-ko-12.8b](https://huggingface.co/EleutherAI/polyglot-ko-12.8b) on an unknown dataset.
|
16 |
+
|
17 |
+
## Model description
|
18 |
+
|
19 |
+
More information needed
|
20 |
+
|
21 |
+
## Intended uses & limitations
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Training and evaluation data
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training procedure
|
30 |
+
|
31 |
+
### Training hyperparameters
|
32 |
+
|
33 |
+
The following hyperparameters were used during training:
|
34 |
+
- learning_rate: 5e-05
|
35 |
+
- train_batch_size: 1
|
36 |
+
- eval_batch_size: 8
|
37 |
+
- seed: 42
|
38 |
+
- distributed_type: multi-GPU
|
39 |
+
- num_devices: 4
|
40 |
+
- total_train_batch_size: 4
|
41 |
+
- total_eval_batch_size: 32
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: linear
|
44 |
+
- num_epochs: 1.0
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
|
49 |
+
|
50 |
+
### Framework versions
|
51 |
+
|
52 |
+
- Transformers 4.28.1
|
53 |
+
- Pytorch 2.0.0+cu117
|
54 |
+
- Datasets 2.11.0
|
55 |
+
- Tokenizers 0.13.3
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 1.1057900991015273,
|
4 |
+
"train_runtime": 20175.6269,
|
5 |
+
"train_samples": 57593,
|
6 |
+
"train_samples_per_second": 2.855,
|
7 |
+
"train_steps_per_second": 0.714
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "EleutherAI/polyglot-ko-12.8b",
|
3 |
+
"architectures": [
|
4 |
+
"GPTNeoXForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"eos_token_id": 0,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_size": 5120,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 20480,
|
12 |
+
"layer_norm_eps": 1e-05,
|
13 |
+
"max_position_embeddings": 2048,
|
14 |
+
"model_type": "gpt_neox",
|
15 |
+
"num_attention_heads": 40,
|
16 |
+
"num_hidden_layers": 40,
|
17 |
+
"num_steps": "global_step301000",
|
18 |
+
"rotary_emb_base": 10000,
|
19 |
+
"rotary_pct": 0.5,
|
20 |
+
"tie_word_embeddings": false,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"transformers_version": "4.28.1",
|
23 |
+
"use_cache": true,
|
24 |
+
"use_parallel_residual": true,
|
25 |
+
"vocab_size": 30003
|
26 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.28.1"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62609e6df7ed82684c17b082b397f393363c8bcd6d70e058e77552379acd90ce
|
3 |
+
size 25953607721
|
special_tokens_map.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|endoftext|>",
|
4 |
+
"<|sep|>",
|
5 |
+
"<|acc|>",
|
6 |
+
"<|tel|>",
|
7 |
+
"<|rrn|>"
|
8 |
+
],
|
9 |
+
"eos_token": "<|endoftext|>",
|
10 |
+
"pad_token": "<|endoftext|>"
|
11 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"model_max_length": 1000000000000000019884624838656,
|
5 |
+
"pad_token": "<|endoftext|>",
|
6 |
+
"tokenizer_class": "PreTrainedTokenizerFast"
|
7 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 1.1057900991015273,
|
4 |
+
"train_runtime": 20175.6269,
|
5 |
+
"train_samples": 57593,
|
6 |
+
"train_samples_per_second": 2.855,
|
7 |
+
"train_steps_per_second": 0.714
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"global_step": 14399,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.0,
|
12 |
+
"learning_rate": 0,
|
13 |
+
"loss": 2.4746,
|
14 |
+
"step": 1
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.03,
|
18 |
+
"learning_rate": 5e-05,
|
19 |
+
"loss": 1.9874,
|
20 |
+
"step": 500
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.07,
|
24 |
+
"learning_rate": 5e-05,
|
25 |
+
"loss": 1.9445,
|
26 |
+
"step": 1000
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.1,
|
30 |
+
"learning_rate": 5e-05,
|
31 |
+
"loss": 1.8596,
|
32 |
+
"step": 1500
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.14,
|
36 |
+
"learning_rate": 5e-05,
|
37 |
+
"loss": 1.7807,
|
38 |
+
"step": 2000
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.17,
|
42 |
+
"learning_rate": 5e-05,
|
43 |
+
"loss": 1.7298,
|
44 |
+
"step": 2500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.21,
|
48 |
+
"learning_rate": 5e-05,
|
49 |
+
"loss": 1.6565,
|
50 |
+
"step": 3000
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.24,
|
54 |
+
"learning_rate": 5e-05,
|
55 |
+
"loss": 1.5484,
|
56 |
+
"step": 3500
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.28,
|
60 |
+
"learning_rate": 5e-05,
|
61 |
+
"loss": 1.5049,
|
62 |
+
"step": 4000
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.31,
|
66 |
+
"learning_rate": 5e-05,
|
67 |
+
"loss": 1.4478,
|
68 |
+
"step": 4500
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 0.35,
|
72 |
+
"learning_rate": 5e-05,
|
73 |
+
"loss": 1.3567,
|
74 |
+
"step": 5000
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 0.38,
|
78 |
+
"learning_rate": 5e-05,
|
79 |
+
"loss": 1.2812,
|
80 |
+
"step": 5500
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 0.42,
|
84 |
+
"learning_rate": 5e-05,
|
85 |
+
"loss": 1.1882,
|
86 |
+
"step": 6000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.45,
|
90 |
+
"learning_rate": 5e-05,
|
91 |
+
"loss": 1.1447,
|
92 |
+
"step": 6500
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 0.49,
|
96 |
+
"learning_rate": 5e-05,
|
97 |
+
"loss": 1.0854,
|
98 |
+
"step": 7000
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 0.52,
|
102 |
+
"learning_rate": 5e-05,
|
103 |
+
"loss": 1.0182,
|
104 |
+
"step": 7500
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 0.56,
|
108 |
+
"learning_rate": 5e-05,
|
109 |
+
"loss": 0.9675,
|
110 |
+
"step": 8000
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 0.59,
|
114 |
+
"learning_rate": 5e-05,
|
115 |
+
"loss": 0.9076,
|
116 |
+
"step": 8500
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 0.63,
|
120 |
+
"learning_rate": 5e-05,
|
121 |
+
"loss": 0.8415,
|
122 |
+
"step": 9000
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 0.66,
|
126 |
+
"learning_rate": 5e-05,
|
127 |
+
"loss": 0.8228,
|
128 |
+
"step": 9500
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.69,
|
132 |
+
"learning_rate": 5e-05,
|
133 |
+
"loss": 0.7656,
|
134 |
+
"step": 10000
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 0.73,
|
138 |
+
"learning_rate": 5e-05,
|
139 |
+
"loss": 0.7029,
|
140 |
+
"step": 10500
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 0.76,
|
144 |
+
"learning_rate": 5e-05,
|
145 |
+
"loss": 0.6793,
|
146 |
+
"step": 11000
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 0.8,
|
150 |
+
"learning_rate": 5e-05,
|
151 |
+
"loss": 0.6369,
|
152 |
+
"step": 11500
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 0.83,
|
156 |
+
"learning_rate": 5e-05,
|
157 |
+
"loss": 0.5936,
|
158 |
+
"step": 12000
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 0.87,
|
162 |
+
"learning_rate": 5e-05,
|
163 |
+
"loss": 0.5489,
|
164 |
+
"step": 12500
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 0.9,
|
168 |
+
"learning_rate": 5e-05,
|
169 |
+
"loss": 0.531,
|
170 |
+
"step": 13000
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.94,
|
174 |
+
"learning_rate": 5e-05,
|
175 |
+
"loss": 0.4948,
|
176 |
+
"step": 13500
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 0.97,
|
180 |
+
"learning_rate": 5e-05,
|
181 |
+
"loss": 0.4555,
|
182 |
+
"step": 14000
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 1.0,
|
186 |
+
"step": 14399,
|
187 |
+
"total_flos": 945700963614720.0,
|
188 |
+
"train_loss": 1.1057900991015273,
|
189 |
+
"train_runtime": 20175.6269,
|
190 |
+
"train_samples_per_second": 2.855,
|
191 |
+
"train_steps_per_second": 0.714
|
192 |
+
}
|
193 |
+
],
|
194 |
+
"max_steps": 14399,
|
195 |
+
"num_train_epochs": 1,
|
196 |
+
"total_flos": 945700963614720.0,
|
197 |
+
"trial_name": null,
|
198 |
+
"trial_params": null
|
199 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6056591c3ad528ed37e907ac6ffb1883ba10604b406d19e94a3ddbe33e4c9d02
|
3 |
+
size 4859
|