Upload 6 files
Browse files- README.md +43 -0
- special_tokens_map.json +11 -0
- tokenizer.json +0 -0
- tokenizer_config.json +7 -0
- trainer_state.json +64 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
- polyglot-ko
|
6 |
+
- gpt-neox
|
7 |
+
- KoAlpaca
|
8 |
+
model-index:
|
9 |
+
- name: KoAlpaca-Polyglot-5.8B
|
10 |
+
results: []
|
11 |
+
language:
|
12 |
+
- ko
|
13 |
+
datasets:
|
14 |
+
- KoAlpaca-v1.1b
|
15 |
+
pipeline_tag: text-generation
|
16 |
+
---
|
17 |
+
|
18 |
+
|
19 |
+
# KoAlpaca-Polyglot-5.8B (v1.1b)
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [EleutherAI/polyglot-ko-5.8b](https://huggingface.co/EleutherAI/polyglot-ko-5.8b) on a KoAlpaca Dataset v1.1b
|
22 |
+
|
23 |
+
Detail Codes are available at [KoAlpaca Github Repository](https://github.com/Beomi/KoAlpaca)
|
24 |
+
|
25 |
+
## Training procedure
|
26 |
+
|
27 |
+
### Training hyperparameters
|
28 |
+
|
29 |
+
The following hyperparameters were used during training:
|
30 |
+
- learning_rate: 5e-05
|
31 |
+
- train_batch_size: 2
|
32 |
+
- seed: 42
|
33 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
34 |
+
- lr_scheduler_type: linear
|
35 |
+
- num_epochs: 2.0
|
36 |
+
- mixed_precision_training: Native AMP
|
37 |
+
|
38 |
+
### Framework versions
|
39 |
+
|
40 |
+
- Transformers 4.29.0.dev0
|
41 |
+
- Pytorch 2.0.0+cu117
|
42 |
+
- Datasets 2.10.1
|
43 |
+
- Tokenizers 0.13.2
|
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 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.2509765625,
|
3 |
+
"best_model_checkpoint": "./models/2023-03-16_1edc4008-e54e/checkpoint-2534",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 7602,
|
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": 1.9997369113391214e-05,
|
13 |
+
"loss": 9.8984,
|
14 |
+
"step": 1
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.0,
|
18 |
+
"learning_rate": 1.3333333333333333e-05,
|
19 |
+
"loss": 0.2605,
|
20 |
+
"step": 2534
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.0,
|
24 |
+
"eval_loss": 0.2509765625,
|
25 |
+
"eval_runtime": 191.3685,
|
26 |
+
"eval_samples_per_second": 23.536,
|
27 |
+
"eval_steps_per_second": 2.942,
|
28 |
+
"step": 2534
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"epoch": 2.0,
|
32 |
+
"learning_rate": 6.666666666666667e-06,
|
33 |
+
"loss": 0.1598,
|
34 |
+
"step": 5068
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"epoch": 2.0,
|
38 |
+
"eval_loss": 0.258544921875,
|
39 |
+
"eval_runtime": 159.499,
|
40 |
+
"eval_samples_per_second": 28.238,
|
41 |
+
"eval_steps_per_second": 3.53,
|
42 |
+
"step": 5068
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 3.0,
|
46 |
+
"learning_rate": 0.0,
|
47 |
+
"loss": 0.0753,
|
48 |
+
"step": 7602
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 3.0,
|
52 |
+
"eval_loss": 0.3056640625,
|
53 |
+
"eval_runtime": 159.3863,
|
54 |
+
"eval_samples_per_second": 28.258,
|
55 |
+
"eval_steps_per_second": 3.532,
|
56 |
+
"step": 7602
|
57 |
+
}
|
58 |
+
],
|
59 |
+
"max_steps": 7602,
|
60 |
+
"num_train_epochs": 3,
|
61 |
+
"total_flos": 2.1525111523686482e+18,
|
62 |
+
"trial_name": null,
|
63 |
+
"trial_params": null
|
64 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4872b8314368e34757a8c3791ebfcf77a89ff4d439e81f25e5640f42c35bec74
|
3 |
+
size 3323
|