base_model: PygmalionAI/pyggel-ckpt-2947 | |
load_in_8bit: false | |
load_in_4bit: false | |
strict: false | |
datasets: | |
- path: PygmalionAI/unified-rp-dataset | |
type: sharegpt | |
chat_template: llama3 | |
dataset_prepared_path: ./datasetstuff3 | |
hub_model_id: Alignment-Lab-AI/pygmalion-3-1m-2.4 | |
wandb_project: pyg-1-m-2.3 | |
hf_use_auth_token: true | |
output_dir: ./pyg1m2.3 | |
wandb_watch: all | |
hub_private_repo: true | |
hub_strategy: all_checkpoints | |
#push_to_hub: true | |
hf_use_auth_token: true | |
#resume_from_checkpoint: ./buzz-3b-small-v0.6/checkpoint-4598 | |
output_dir: ./pyggel | |
max_grad_norm: 0.6 | |
sequence_len: 8192 | |
sample_packing: true | |
pad_to_sequence_len: true | |
micro_batch_size: 1 | |
gradient_accumulation_steps: 2 | |
num_epochs: 3 | |
learning_rate: 0.00005 | |
optimizer: adamw_torch | |
optim_args: | |
adam_beta1: 0.9 | |
adam_beta2: 0.95 | |
amsgrad: true | |
lr_scheduler: cosine | |
lr_scheduler_kwargs: | |
num_cycles: 3 | |
train_on_inputs: true | |
group_by_length: false | |
bf16: auto | |
fp16: | |
tf32: false | |
neftune_noise_alpha: 15 | |
gradient_checkpointing: unsloth | |
gradient_checkpointing_kwargs: | |
use_reentrant: true | |
logging_steps: 1 | |
xformers_attention: | |
flash_attention: true | |
flash_attn_cross_entropy: false | |
flash_attn_rms_norm: true | |
flash_attn_fuse_qkv: false | |
flash_attn_fuse_mlp: true | |
warmup_ratio: 0.333 | |
evals_per_step: 0.025 | |
eval_table_size: | |
saves_per_epoch: 15 | |
debug: | |
torch_compile: true | |
rank: | |
deepspeed: deepspeed_configs/zero2.json | |
weight_decay: 0.01 | |
special_tokens: | |
eos_token: "<|eot_id|>" | |
pad_token: "<|end_of_text|>" | |