Views
No views yet
0.12.21adapter: qlora
2base_model: openthaigpt/openthaigpt1.5-7b-instruct
3bf16: true
4chat_template: chatml
5dataloader_num_workers: 2
6dataset_processes: 2
7datasets:
8- ds_type: json
9 eot_tokens:
10 - <|im_end|>
11 field_messages: messages
12 message_property_mappings:
13 content: content
14 role: role
15 path: iot_train_chat.json
16 split: train
17 type: chat_template
18flash_attention: true
19fp16: false
20gradient_accumulation_steps: 2
21gradient_checkpointing: true
22learning_rate: 0.0002
23load_in_4bit: true
24logging_steps: 1
25lora_alpha: 32
26lora_dropout: 0.05
27lora_r: 16
28lora_target_modules:
29- q_proj
30- k_proj
31- v_proj
32- o_proj
33- gate_proj
34- up_proj
35- down_proj
36lr_scheduler: cosine
37max_grad_norm: 1.0
38micro_batch_size: 8
39model_type: AutoModelForCausalLM
40num_epochs: 2
41optimizer: paged_adamw_8bit
42output_dir: ./outputs/openthaigpt-iot-finetune-L4
43pad_to_sequence_len: true
44plugins:
45- axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
46preprocessing_num_workers: 2
47sample_packing: true
48save_steps: 50
49save_strategy: steps
50sequence_len: 4096
51tokenizer_type: AutoTokenizer
52warmup_steps: 100
53xformers_attention: false
54