Views
No views yet
0.6.01base_model: meta-llama/Llama-3.3-70B-Instruct
2base_model_ignore_patterns: "*/*"
3# optionally might have model_type or tokenizer_type
4model_type: LlamaForCausalLM
5tokenizer_type: AutoTokenizer
6# Automatically upload checkpoint and final model to HF
7hub_model_id: Doctor-Shotgun/magnum-v4-se-70b-lora
8hub_strategy: "all_checkpoints"
9push_dataset_to_hub:
10hf_use_auth_token: true
11
12load_in_8bit: false
13load_in_4bit: false
14strict: false
15
16datasets:
17 - path: anthracite-org/c2_logs_32k_llama3_qwen2_v1.3
18 type: chat_template
19 chat_template: llama3
20 roles_to_train: ["gpt"]
21 field_messages: conversations
22 message_field_role: from
23 message_field_content: value
24 train_on_eos: turn
25 - path: anthracite-core/Gryphe-Opus-Charcard-Roleplay
26 type: chat_template
27 chat_template: llama3
28 roles_to_train: ["gpt"]
29 field_messages: conversations
30 message_field_role: from
31 message_field_content: value
32 train_on_eos: turn
33 - path: anthracite-org/kalo-opus-instruct-22k-no-refusal
34 type: chat_template
35 chat_template: llama3
36 roles_to_train: ["gpt"]
37 field_messages: conversations
38 message_field_role: from
39 message_field_content: value
40 train_on_eos: turn
41 - path: lodrick-the-lafted/kalo-opus-instruct-3k-filtered
42 type: chat_template
43 chat_template: llama3
44 roles_to_train: ["gpt"]
45 field_messages: conversations
46 message_field_role: from
47 message_field_content: value
48 train_on_eos: turn
49 - path: anthracite-org/nopm_claude_writing_fixed
50 type: chat_template
51 chat_template: llama3
52 roles_to_train: ["gpt"]
53 field_messages: conversations
54 message_field_role: from
55 message_field_content: value
56 train_on_eos: turn
57 - path: anthracite-org/kalo_opus_misc_240827
58 type: chat_template
59 chat_template: llama3
60 roles_to_train: ["gpt"]
61 field_messages: conversations
62 message_field_role: from
63 message_field_content: value
64 train_on_eos: turn
65 - path: anthracite-org/kalo_misc_part2
66 type: chat_template
67 chat_template: llama3
68 roles_to_train: ["gpt"]
69 field_messages: conversations
70 message_field_role: from
71 message_field_content: value
72 train_on_eos: turn
73shuffle_merged_datasets: true
74dataset_prepared_path: /home/docshotgun/data/magnum-70b-data
75val_set_size: 0.0
76output_dir: /home/docshotgun/data/70b-lora-out
77
78plugins:
79 - axolotl.integrations.liger.LigerPlugin
80liger_rope: true
81liger_rms_norm: true
82liger_layer_norm: true
83liger_glu_activation: true
84liger_fused_linear_cross_entropy: true
85
86sequence_len: 32768
87sample_packing: true
88eval_sample_packing: false
89pad_to_sequence_len: true
90
91adapter: lora
92lora_model_dir:
93lora_r: 128
94lora_alpha: 16
95lora_dropout: 0.05
96lora_target_linear: true
97lora_fan_in_fan_out:
98peft_use_rslora: true
99lora_modules_to_save:
100 - embed_tokens
101 - lm_head
102
103wandb_project: 70b-magnum-lora
104wandb_entity:
105wandb_watch:
106wandb_name:
107wandb_log_model:
108
109gradient_accumulation_steps: 1
110micro_batch_size: 1
111num_epochs: 2
112optimizer: paged_ademamix_8bit
113lr_scheduler: cosine
114learning_rate: 4.0e-5
115max_grad_norm: 3.0
116
117train_on_inputs: false
118group_by_length: false
119bf16: auto
120fp16:
121tf32: false
122
123gradient_checkpointing: unsloth
124early_stopping_patience:
125resume_from_checkpoint:
126local_rank:
127logging_steps: 1
128xformers_attention:
129flash_attention: true
130s2_attention:
131
132warmup_steps: 40
133evals_per_epoch:
134eval_table_size:
135eval_max_new_tokens:
136saves_per_epoch: 2
137debug:
138deepspeed: ./deepspeed_configs/zero3_bf16.json
139weight_decay: 0.01
140fsdp:
141fsdp_config:
142special_tokens:
143 pad_token: <|finetune_right_pad_id|>
144