End of training
Browse files
README.md
CHANGED
|
@@ -13,100 +13,6 @@ model-index:
|
|
| 13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
|
| 16 |
-
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
| 17 |
-
<details><summary>See axolotl config</summary>
|
| 18 |
-
|
| 19 |
-
axolotl version: `0.4.1`
|
| 20 |
-
```yaml
|
| 21 |
-
adapter: lora
|
| 22 |
-
base_model: microsoft/Phi-3-mini-4k-instruct
|
| 23 |
-
bf16: auto
|
| 24 |
-
chat_template: llama3
|
| 25 |
-
dataset_prepared_path: null
|
| 26 |
-
datasets:
|
| 27 |
-
- data_files:
|
| 28 |
-
- 8b54a694ba612e8a_train_data.json
|
| 29 |
-
ds_type: json
|
| 30 |
-
format: custom
|
| 31 |
-
path: /workspace/input_data/8b54a694ba612e8a_train_data.json
|
| 32 |
-
type:
|
| 33 |
-
field_instruction: dataset
|
| 34 |
-
field_output: context
|
| 35 |
-
format: '{instruction}'
|
| 36 |
-
no_input_format: '{instruction}'
|
| 37 |
-
system_format: '{system}'
|
| 38 |
-
system_prompt: ''
|
| 39 |
-
debug: null
|
| 40 |
-
deepspeed: null
|
| 41 |
-
device_map: auto
|
| 42 |
-
do_eval: true
|
| 43 |
-
early_stopping_patience: 3
|
| 44 |
-
eval_batch_size: 4
|
| 45 |
-
eval_max_new_tokens: 128
|
| 46 |
-
eval_steps: 500
|
| 47 |
-
eval_table_size: null
|
| 48 |
-
evals_per_epoch: null
|
| 49 |
-
flash_attention: true
|
| 50 |
-
fp16: false
|
| 51 |
-
fsdp: null
|
| 52 |
-
fsdp_config: null
|
| 53 |
-
gradient_accumulation_steps: 4
|
| 54 |
-
gradient_checkpointing: false
|
| 55 |
-
group_by_length: true
|
| 56 |
-
hub_model_id: havinash-ai/4fb87af0-d81e-4201-90c9-00dbb6a98513
|
| 57 |
-
hub_strategy: end
|
| 58 |
-
learning_rate: 0.0002
|
| 59 |
-
load_in_4bit: false
|
| 60 |
-
load_in_8bit: false
|
| 61 |
-
local_rank: null
|
| 62 |
-
logging_steps: 50
|
| 63 |
-
lora_alpha: 64
|
| 64 |
-
lora_dropout: 0.05
|
| 65 |
-
lora_fan_in_fan_out: null
|
| 66 |
-
lora_model_dir: null
|
| 67 |
-
lora_r: 32
|
| 68 |
-
lora_target_linear: true
|
| 69 |
-
lr_scheduler: constant
|
| 70 |
-
max_grad_norm: 1.0
|
| 71 |
-
max_memory:
|
| 72 |
-
0: 75GB
|
| 73 |
-
max_steps: 17913
|
| 74 |
-
micro_batch_size: 4
|
| 75 |
-
mlflow_experiment_name: /tmp/8b54a694ba612e8a_train_data.json
|
| 76 |
-
model_type: AutoModelForCausalLM
|
| 77 |
-
num_epochs: 10
|
| 78 |
-
optim_args:
|
| 79 |
-
adam_beta1: 0.9
|
| 80 |
-
adam_beta2: 0.95
|
| 81 |
-
adam_epsilon: 1e-5
|
| 82 |
-
optimizer: adamw_bnb_8bit
|
| 83 |
-
output_dir: miner_id_24
|
| 84 |
-
pad_to_sequence_len: true
|
| 85 |
-
resume_from_checkpoint: null
|
| 86 |
-
s2_attention: null
|
| 87 |
-
sample_packing: false
|
| 88 |
-
save_steps: 500
|
| 89 |
-
saves_per_epoch: null
|
| 90 |
-
sequence_len: 512
|
| 91 |
-
strict: false
|
| 92 |
-
tf32: true
|
| 93 |
-
tokenizer_type: AutoTokenizer
|
| 94 |
-
train_on_inputs: false
|
| 95 |
-
trust_remote_code: true
|
| 96 |
-
val_set_size: 0.05
|
| 97 |
-
wandb_entity: null
|
| 98 |
-
wandb_mode: online
|
| 99 |
-
wandb_name: ce3ac79f-e735-4be7-a402-a6baba9386ed
|
| 100 |
-
wandb_project: SN56-2
|
| 101 |
-
wandb_run: your_name
|
| 102 |
-
wandb_runid: ce3ac79f-e735-4be7-a402-a6baba9386ed
|
| 103 |
-
warmup_steps: 50
|
| 104 |
-
weight_decay: 0.0
|
| 105 |
-
xformers_attention: null
|
| 106 |
-
|
| 107 |
-
```
|
| 108 |
-
|
| 109 |
-
</details><br>
|
| 110 |
|
| 111 |
# 4fb87af0-d81e-4201-90c9-00dbb6a98513
|
| 112 |
|
|
@@ -126,53 +32,6 @@ More information needed
|
|
| 126 |
|
| 127 |
More information needed
|
| 128 |
|
| 129 |
-
## Training procedure
|
| 130 |
-
|
| 131 |
-
### Training hyperparameters
|
| 132 |
-
|
| 133 |
-
The following hyperparameters were used during training:
|
| 134 |
-
- learning_rate: 0.0002
|
| 135 |
-
- train_batch_size: 4
|
| 136 |
-
- eval_batch_size: 4
|
| 137 |
-
- seed: 42
|
| 138 |
-
- gradient_accumulation_steps: 4
|
| 139 |
-
- total_train_batch_size: 16
|
| 140 |
-
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
|
| 141 |
-
- lr_scheduler_type: constant
|
| 142 |
-
- lr_scheduler_warmup_steps: 50
|
| 143 |
-
- training_steps: 17913
|
| 144 |
-
|
| 145 |
-
### Training results
|
| 146 |
-
|
| 147 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
| 148 |
-
|:-------------:|:------:|:-----:|:---------------:|
|
| 149 |
-
| No log | 0.0001 | 1 | 1.9042 |
|
| 150 |
-
| 4.157 | 0.0470 | 500 | 1.0766 |
|
| 151 |
-
| 4.2048 | 0.0940 | 1000 | 1.0503 |
|
| 152 |
-
| 4.1553 | 0.1410 | 1500 | 1.0401 |
|
| 153 |
-
| 4.1548 | 0.1880 | 2000 | 1.0326 |
|
| 154 |
-
| 4.1078 | 0.2350 | 2500 | 1.0245 |
|
| 155 |
-
| 3.9499 | 0.2820 | 3000 | 1.0212 |
|
| 156 |
-
| 4.1529 | 0.3290 | 3500 | 1.0181 |
|
| 157 |
-
| 4.0215 | 0.3760 | 4000 | 1.0129 |
|
| 158 |
-
| 4.041 | 0.4230 | 4500 | 1.0108 |
|
| 159 |
-
| 4.0144 | 0.4700 | 5000 | 1.0097 |
|
| 160 |
-
| 4.0073 | 0.5170 | 5500 | 1.0079 |
|
| 161 |
-
| 4.0269 | 0.5640 | 6000 | 1.0063 |
|
| 162 |
-
| 4.0554 | 0.6110 | 6500 | 1.0035 |
|
| 163 |
-
| 3.8551 | 0.6580 | 7000 | 1.0025 |
|
| 164 |
-
| 3.9699 | 0.7050 | 7500 | 1.0005 |
|
| 165 |
-
| 3.9472 | 0.7520 | 8000 | 0.9996 |
|
| 166 |
-
| 3.9533 | 0.7990 | 8500 | 0.9988 |
|
| 167 |
-
| 3.7937 | 0.8460 | 9000 | 0.9974 |
|
| 168 |
-
| 4.0908 | 0.8930 | 9500 | 0.9965 |
|
| 169 |
-
| 3.9352 | 0.9400 | 10000 | 0.9959 |
|
| 170 |
-
| 3.8879 | 0.9870 | 10500 | 0.9938 |
|
| 171 |
-
| 3.6075 | 1.0340 | 11000 | 1.0035 |
|
| 172 |
-
| 3.6704 | 1.0810 | 11500 | 1.0077 |
|
| 173 |
-
| 3.7977 | 1.1280 | 12000 | 1.0078 |
|
| 174 |
-
|
| 175 |
-
|
| 176 |
### Framework versions
|
| 177 |
|
| 178 |
- PEFT 0.13.2
|
|
|
|
| 13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
# 4fb87af0-d81e-4201-90c9-00dbb6a98513
|
| 18 |
|
|
|
|
| 32 |
|
| 33 |
More information needed
|
| 34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
### Framework versions
|
| 36 |
|
| 37 |
- PEFT 0.13.2
|