Views
No views yet
0.6.01# axolotl_config.yaml
2
3# Model configuration
4base_model: Qwen/Qwen2.5-Coder-3B-Instruct
5hub_model_id: mrcuddle/Qwen2.5-Coder-3B-Instruct-TS
6
7# Training parameters
8learning_rate: 0.0001 # Adjusted for potential stability improvement
9train_batch_size: 4 # Increased for better gradient estimates
10eval_batch_size: 4 # Increased for better evaluation stability
11num_epochs: 1
12lr_scheduler_type: cosine
13lr_scheduler_warmup_steps: 10
14gradient_accumulation_steps: 2
15micro_batch_size: 1
16
17
18# Distributed training settings
19distributed_type: GPU
20num_devices: 2 # Adjusted to utilize multiple GPUs if available
21total_train_batch_size: 8 # Adjusted to match train_batch_size * num_devices * gradient_accumulation_steps
22total_eval_batch_size: 8 # Adjusted to match eval_batch_size * num_devices * gradient_accumulation_steps
23
24# Random seed for reproducibility
25seed: 42
26
27datasets:
28 - path: mhhmm/typescript-instruct-20k
29 type: alpaca
30 field_instruction: instruction
31 field_output: output
32 format: "[INST] {instruction} [/INST]\n{output}"
33 no_input_format: "[INST] {instruction} [/INST]"
34 roles:
35 input: ["USER"]
36 output: ["ASSISTANT"]
37