Views
No views yet
0.10.0.dev01# axolotl preprocess config.yaml
2
3adapter: lora
4base_model: google/gemma-2-9b-it
5bf16: auto
6dataset_processes: 32
7datasets:
8- path: frjonah/training_data5
9 type:
10 system_prompt: ""
11 field_system: system
12 field_instruction: prompt
13 field_output: completion
14 format: "[INST] {instruction} [/INST]"
15 no_input_format: "[INST] {instruction} [/INST]"
16
17resize_token_embeddings_to_32x: false
18add_special_tokens: false
19special_tokens:
20 pad_token: null
21 eos_token: null
22 bos_token: null
23 unk_token: null
24
25gradient_accumulation_steps: 2
26gradient_checkpointing: true
27learning_rate: 0.00002
28lisa_layers_attribute: model.layers
29load_best_model_at_end: false
30load_in_4bit: false
31load_in_8bit: true
32lora_alpha: 512
33lora_dropout: 0.05
34lora_r: 256
35lora_target_modules:
36- q_proj
37- v_proj
38- k_proj
39- o_proj
40- gate_proj
41- down_proj
42- up_proj
43loraplus_lr_embedding: 1.0e-06
44lr_scheduler: cosine
45max_prompt_len: 512
46mean_resizing_embeddings: false
47micro_batch_size: 8
48num_epochs: 30.0
49optimizer: adamw_bnb_8bit
50output_dir: ./outputs/test8
51pretrain_multipack_attn: true
52pretrain_multipack_buffer_size: 10000
53qlora_sharded_model_loading: false
54ray_num_workers: 1
55resources_per_worker:
56 GPU: 1
57sample_packing_bin_size: 200
58sample_packing_group_size: 100000
59save_only_model: false
60save_safetensors: true
61sequence_len: 2048
62shuffle_merged_datasets: true
63skip_prepare_dataset: false
64strict: false
65train_on_inputs: false
66trl:
67 log_completions: false
68 ref_model_mixup_alpha: 0.9
69 ref_model_sync_steps: 64
70 sync_ref_model: false
71 use_vllm: false
72 vllm_device: auto
73 vllm_dtype: auto
74 vllm_gpu_memory_utilization: 0.9
75use_ray: false
76val_set_size: 0.0
77weight_decay: 0.01
78
79