Views
No views yet
0.4.11base_model: Qwen/Qwen2-7B
2trust_remote_code: true
3chat_template: chatml
4
5load_in_8bit: false
6# load_in_4bit: true
7strict: false
8
9datasets:
10 - path: arcee-ai/MyAlee-Education-Instructions-V2
11 type: sharegpt
12 field_messages: messages
13 - path: Crystalcareai/Orca-Reka
14 type: alpaca
15
16dataset_prepared_path:
17val_set_size: 0
18output_dir: ./outputs/out
19
20sequence_len: 16384
21sample_packing: true
22eval_sample_packing: false
23pad_to_sequence_len: true
24
25# adapter: qlora
26# lora_model_dir:
27# lora_r: 32
28# lora_alpha: 64
29# lora_dropout: 0.05
30# lora_target_linear: true
31# lora_fan_in_fan_out:
32
33# wandb_project: qwen2-education
34# wandb_entity:
35# wandb_watch:
36# wandb_name:
37# wandb_log_model:
38
39gradient_accumulation_steps: 4
40micro_batch_size: 1
41num_epochs: 5
42optimizer: adamw_torch_fused
43lr_scheduler: cosine
44learning_rate: 1e-5
45
46train_on_inputs: false
47group_by_length: false
48bf16: auto
49fp16:
50tf32: true
51
52gradient_checkpointing: true
53gradient_checkpointing_kwargs:
54 use_reentrant: false
55early_stopping_patience:
56resume_from_checkpoint:
57local_rank:
58logging_steps: 1
59xformers_attention:
60flash_attention: true
61
62warmup_steps: 10
63evals_per_epoch: 0
64saves_per_epoch: 1
65max_total_saves: 2
66debug:
67deepspeed: /workspace/axolotl/deepspeed_configs/zero3_bf16.json
68weight_decay: 0.1
69# fsdp:
70# - full_shard
71# - auto_wrap
72# fsdp_config:
73# fsdp_limit_all_gathers: true
74# fsdp_sync_module_states: true
75# fsdp_offload_params: true
76# fsdp_use_orig_params: false
77# fsdp_cpu_ram_efficient_loading: true
78# fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
79# fsdp_transformer_layer_cls_to_wrap: Qwen2DecoderLayer
80# fsdp_state_dict_type: FULL_STATE_DICT
81special_tokens:
82 pad_token: "<|endoftext|>"
83 eos_token: "<|im_end|>"