End of training
Browse files- README.md +25 -15
- generation_config.json +2 -2
README.md
CHANGED
|
@@ -22,7 +22,7 @@ axolotl version: `0.10.0.dev0`
|
|
| 22 |
```yaml
|
| 23 |
base_model: minpeter/pretrained-tiny-ko
|
| 24 |
|
| 25 |
-
chat_template:
|
| 26 |
datasets:
|
| 27 |
- path: lemon-mint/Korean-FineTome-100k
|
| 28 |
type: chat_template
|
|
@@ -46,12 +46,16 @@ output_dir: ./ouputs/ko-tiny-exp
|
|
| 46 |
wandb_project: "axolotl"
|
| 47 |
wandb_entity: "kasfiekfs-e"
|
| 48 |
|
| 49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
sample_packing: true
|
| 51 |
pad_to_sequence_len: true
|
| 52 |
|
| 53 |
gradient_accumulation_steps: 4
|
| 54 |
-
micro_batch_size:
|
| 55 |
|
| 56 |
optimizer: paged_adamw_8bit
|
| 57 |
lr_scheduler: cosine
|
|
@@ -60,6 +64,15 @@ learning_rate: 2e-5
|
|
| 60 |
bf16: auto
|
| 61 |
tf32: false
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
gradient_checkpointing: true
|
| 64 |
gradient_checkpointing_kwargs:
|
| 65 |
use_reentrant: false
|
|
@@ -67,10 +80,7 @@ resume_from_checkpoint:
|
|
| 67 |
logging_steps: 1
|
| 68 |
flash_attention: true
|
| 69 |
|
| 70 |
-
warmup_steps: 100
|
| 71 |
num_epochs: 2
|
| 72 |
-
evals_per_epoch: 2
|
| 73 |
-
saves_per_epoch: 1
|
| 74 |
weight_decay: 0.0
|
| 75 |
|
| 76 |
```
|
|
@@ -81,7 +91,7 @@ weight_decay: 0.0
|
|
| 81 |
|
| 82 |
This model is a fine-tuned version of [minpeter/pretrained-tiny-ko](https://huggingface.co/minpeter/pretrained-tiny-ko) on the lemon-mint/Korean-FineTome-100k and the lemon-mint/smol-koreantalk datasets.
|
| 83 |
It achieves the following results on the evaluation set:
|
| 84 |
-
- Loss:
|
| 85 |
|
| 86 |
## Model description
|
| 87 |
|
|
@@ -101,24 +111,24 @@ More information needed
|
|
| 101 |
|
| 102 |
The following hyperparameters were used during training:
|
| 103 |
- learning_rate: 2e-05
|
| 104 |
-
- train_batch_size:
|
| 105 |
-
- eval_batch_size:
|
| 106 |
- seed: 42
|
|
|
|
|
|
|
| 107 |
- gradient_accumulation_steps: 4
|
| 108 |
-
- total_train_batch_size:
|
|
|
|
| 109 |
- optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 110 |
- lr_scheduler_type: cosine
|
| 111 |
- lr_scheduler_warmup_steps: 100
|
| 112 |
-
- training_steps:
|
| 113 |
|
| 114 |
### Training results
|
| 115 |
|
| 116 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 117 |
|:-------------:|:------:|:----:|:---------------:|
|
| 118 |
-
| 3.
|
| 119 |
-
| 2.8288 | 0.5002 | 375 | 2.8669 |
|
| 120 |
-
| 2.8188 | 1.0 | 750 | 2.8255 |
|
| 121 |
-
| 2.8012 | 1.5002 | 1125 | 2.8226 |
|
| 122 |
|
| 123 |
|
| 124 |
### Framework versions
|
|
|
|
| 22 |
```yaml
|
| 23 |
base_model: minpeter/pretrained-tiny-ko
|
| 24 |
|
| 25 |
+
chat_template: chatml
|
| 26 |
datasets:
|
| 27 |
- path: lemon-mint/Korean-FineTome-100k
|
| 28 |
type: chat_template
|
|
|
|
| 46 |
wandb_project: "axolotl"
|
| 47 |
wandb_entity: "kasfiekfs-e"
|
| 48 |
|
| 49 |
+
save_steps: 200
|
| 50 |
+
warmup_steps: 100
|
| 51 |
+
eval_steps: 200
|
| 52 |
+
|
| 53 |
+
sequence_len: 512
|
| 54 |
sample_packing: true
|
| 55 |
pad_to_sequence_len: true
|
| 56 |
|
| 57 |
gradient_accumulation_steps: 4
|
| 58 |
+
micro_batch_size: 56
|
| 59 |
|
| 60 |
optimizer: paged_adamw_8bit
|
| 61 |
lr_scheduler: cosine
|
|
|
|
| 64 |
bf16: auto
|
| 65 |
tf32: false
|
| 66 |
|
| 67 |
+
added_tokens_overrides:
|
| 68 |
+
128001: "<|im_end|>"
|
| 69 |
+
128002: "<|im_start|>"
|
| 70 |
+
|
| 71 |
+
special_tokens:
|
| 72 |
+
bos_token: <|begin_of_text|>
|
| 73 |
+
eos_token: <|im_end|>
|
| 74 |
+
pad_token: <|im_end|>
|
| 75 |
+
|
| 76 |
gradient_checkpointing: true
|
| 77 |
gradient_checkpointing_kwargs:
|
| 78 |
use_reentrant: false
|
|
|
|
| 80 |
logging_steps: 1
|
| 81 |
flash_attention: true
|
| 82 |
|
|
|
|
| 83 |
num_epochs: 2
|
|
|
|
|
|
|
| 84 |
weight_decay: 0.0
|
| 85 |
|
| 86 |
```
|
|
|
|
| 91 |
|
| 92 |
This model is a fine-tuned version of [minpeter/pretrained-tiny-ko](https://huggingface.co/minpeter/pretrained-tiny-ko) on the lemon-mint/Korean-FineTome-100k and the lemon-mint/smol-koreantalk datasets.
|
| 93 |
It achieves the following results on the evaluation set:
|
| 94 |
+
- Loss: 3.6623
|
| 95 |
|
| 96 |
## Model description
|
| 97 |
|
|
|
|
| 111 |
|
| 112 |
The following hyperparameters were used during training:
|
| 113 |
- learning_rate: 2e-05
|
| 114 |
+
- train_batch_size: 56
|
| 115 |
+
- eval_batch_size: 56
|
| 116 |
- seed: 42
|
| 117 |
+
- distributed_type: multi-GPU
|
| 118 |
+
- num_devices: 4
|
| 119 |
- gradient_accumulation_steps: 4
|
| 120 |
+
- total_train_batch_size: 896
|
| 121 |
+
- total_eval_batch_size: 224
|
| 122 |
- optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 123 |
- lr_scheduler_type: cosine
|
| 124 |
- lr_scheduler_warmup_steps: 100
|
| 125 |
+
- training_steps: 48
|
| 126 |
|
| 127 |
### Training results
|
| 128 |
|
| 129 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 130 |
|:-------------:|:------:|:----:|:---------------:|
|
| 131 |
+
| 3.6868 | 0.0404 | 1 | 3.6623 |
|
|
|
|
|
|
|
|
|
|
| 132 |
|
| 133 |
|
| 134 |
### Framework versions
|
generation_config.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
-
"bos_token_id":
|
| 4 |
"do_sample": true,
|
| 5 |
-
"eos_token_id":
|
| 6 |
"transformers_version": "4.51.3",
|
| 7 |
"use_cache": false
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 128000,
|
| 4 |
"do_sample": true,
|
| 5 |
+
"eos_token_id": 128001,
|
| 6 |
"transformers_version": "4.51.3",
|
| 7 |
"use_cache": false
|
| 8 |
}
|