Create llama3-8b.yml
Browse files- llama3-8b.yml +113 -0
llama3-8b.yml
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
base_model: meta-llama/Meta-Llama-3-8B
|
| 2 |
+
model_type: AutoModelForCausalLM
|
| 3 |
+
tokenizer_type: AutoTokenizer
|
| 4 |
+
tokenizer_use_fast: false
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
load_in_8bit: false
|
| 8 |
+
load_in_4bit: false
|
| 9 |
+
strict: false
|
| 10 |
+
model_config:
|
| 11 |
+
|
| 12 |
+
datasets:
|
| 13 |
+
- path: /workspace/datasets/dolphin-2.9/dolphin201-sharegpt2.jsonl
|
| 14 |
+
type: sharegpt
|
| 15 |
+
conversation: chatml
|
| 16 |
+
- path: /workspace/datasets/dolphin-2.9/Ultrachat200kunfiltered.jsonl
|
| 17 |
+
type: sharegpt
|
| 18 |
+
conversation: chatml
|
| 19 |
+
- path: /workspace/datasets/dolphin-2.9/dolphin-coder-translate-sharegpt2.jsonl
|
| 20 |
+
type: sharegpt
|
| 21 |
+
conversation: chatml
|
| 22 |
+
- path: /workspace/datasets/dolphin-2.9/dolphin-coder-codegen-sharegpt2.jsonl
|
| 23 |
+
type: sharegpt
|
| 24 |
+
conversation: chatml
|
| 25 |
+
- path: /workspace/datasets/dolphin-2.9/m-a-p_Code-Feedback-sharegpt-unfiltered.jsonl
|
| 26 |
+
type: sharegpt
|
| 27 |
+
conversation: chatml
|
| 28 |
+
- path: /workspace/datasets/dolphin-2.9/m-a-p_CodeFeedback-Filtered-Instruction-sharegpt-unfiltered.jsonl
|
| 29 |
+
type: sharegpt
|
| 30 |
+
conversation: chatml
|
| 31 |
+
- path: /workspace/datasets/dolphin-2.9/not_samantha_norefusals.jsonl
|
| 32 |
+
type: sharegpt
|
| 33 |
+
conversation: chatml
|
| 34 |
+
- path: /workspace/datasets/dolphin-2.9/Orca-Math-resort-unfiltered.jsonl
|
| 35 |
+
type: sharegpt
|
| 36 |
+
conversation: chatml
|
| 37 |
+
- path: /workspace/datasets/dolphin-2.9/agent_instruct_react_unfiltered.jsonl
|
| 38 |
+
type: sharegpt
|
| 39 |
+
conversation: chatml
|
| 40 |
+
- path: /workspace/datasets/dolphin-2.9/toolbench_instruct_j1s1_3k_unfiltered.jsonl
|
| 41 |
+
type: sharegpt
|
| 42 |
+
conversation: chatml
|
| 43 |
+
- path: /workspace/datasets/dolphin-2.9/toolbench_negative_unfiltered.jsonl
|
| 44 |
+
type: sharegpt
|
| 45 |
+
conversation: chatml
|
| 46 |
+
- path: /workspace/datasets/dolphin-2.9/toolbench_react_10p_unfiltered.jsonl
|
| 47 |
+
type: sharegpt
|
| 48 |
+
conversation: chatml
|
| 49 |
+
- path: /workspace/datasets/dolphin-2.9/toolbench_tflan_cot_30p_unfiltered.jsonl
|
| 50 |
+
type: sharegpt
|
| 51 |
+
conversation: chatml
|
| 52 |
+
- path: /workspace/datasets/dolphin-2.9/openhermes200k_unfiltered.jsonl
|
| 53 |
+
type: sharegpt
|
| 54 |
+
conversation: chatml
|
| 55 |
+
- path: /workspace/datasets/dolphin-2.9/SystemConversations.jsonl
|
| 56 |
+
type: sharegpt
|
| 57 |
+
conversation: chatml
|
| 58 |
+
|
| 59 |
+
chatml: chatml
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
dataset_prepared_path: /workspace/datasets/dolphin-2.9/thingy
|
| 63 |
+
val_set_size: 0.0002
|
| 64 |
+
output_dir: ./out
|
| 65 |
+
|
| 66 |
+
sequence_len: 4096
|
| 67 |
+
sample_packing: true
|
| 68 |
+
pad_to_sequence_len: true
|
| 69 |
+
|
| 70 |
+
gradient_accumulation_steps: 4
|
| 71 |
+
micro_batch_size: 3
|
| 72 |
+
num_epochs: 3
|
| 73 |
+
logging_steps: 1
|
| 74 |
+
optimizer: adamw_8bit
|
| 75 |
+
lr_scheduler: cosine
|
| 76 |
+
learning_rate: 2e-5
|
| 77 |
+
|
| 78 |
+
wandb_project: dolphin-2.9-mixtral-8x22b
|
| 79 |
+
wandb_watch:
|
| 80 |
+
wandb_run_id:
|
| 81 |
+
wandb_log_model:
|
| 82 |
+
|
| 83 |
+
train_on_inputs: false
|
| 84 |
+
group_by_length: false
|
| 85 |
+
bf16: auto
|
| 86 |
+
fp16:
|
| 87 |
+
tf32: false
|
| 88 |
+
|
| 89 |
+
gradient_checkpointing: true
|
| 90 |
+
gradient_checkpointing_kwargs:
|
| 91 |
+
use_reentrant: false
|
| 92 |
+
early_stopping_patience:
|
| 93 |
+
resume_from_checkpoint:
|
| 94 |
+
local_rank:
|
| 95 |
+
logging_steps: 1
|
| 96 |
+
xformers_attention:
|
| 97 |
+
flash_attention: true
|
| 98 |
+
saves_per_epoch: 4
|
| 99 |
+
save_total_limit: 2
|
| 100 |
+
save_steps:
|
| 101 |
+
evals_per_epoch: 4
|
| 102 |
+
eval_sample_packing: false
|
| 103 |
+
debug:
|
| 104 |
+
deepspeed: deepspeed_configs/zero3_bf16.json
|
| 105 |
+
weight_decay: 0.05
|
| 106 |
+
fsdp:
|
| 107 |
+
fsdp_config:
|
| 108 |
+
special_tokens:
|
| 109 |
+
eos_token: "<|im_end|>"
|
| 110 |
+
pad_token: "<|end_of_text|>"
|
| 111 |
+
tokens:
|
| 112 |
+
- "<|im_start|>"
|
| 113 |
+
- "<|im_end|>"
|