Views
No views yet
0.12.21base_model: NousResearch/Meta-Llama-3-8B
2# optionally might have model_type or tokenizer_type
3model_type: LlamaForCausalLM
4tokenizer_type: AutoTokenizer
5# Automatically upload checkpoint and final model to HF
6# hub_model_id: username/custom_model_name
7pretraining_dataset:
8 - path: json
9 data_files:
10 - data/3.7b.jsonl
11 - type: pretrain
12
13# Streaming-specific settings
14streaming_multipack_buffer_size: 10000
15shuffle_merged_datasets: true
16
17# Training configuration
18max_steps: 13000
19
20output_dir: ./outputs/3.7b
21
22sequence_len: 4096
23sample_packing: true
24# eval_sample_packing: false
25pretrain_multipack_attn: true
26flash_attention: true
27
28
29adapter: lora
30lora_model_dir:
31lora_r: 32
32lora_alpha: 16
33lora_dropout: 0.05
34lora_target_linear: true
35lora_modules_to_save:
36 - embed_tokens
37 - lm_head
38
39wandb_project: eques-llama
40wandb_entity:
41wandb_watch:
42wandb_name: 0009_3.7b
43wandb_log_model:
44
45gradient_accumulation_steps: 6
46micro_batch_size: 1
47optimizer: adamw_bnb_8bit
48lr_scheduler: cosine
49learning_rate: 0.0002
50
51bf16: auto
52tf32: true
53
54# Logging and checkpointing
55logging_steps: 10
56save_strategy: steps
57save_steps: 500
58save_total_limit: 1
59
60warmup_ratio: 0.1
61# evals_per_epoch: 4
62weight_decay: 0.0
63special_tokens:
64 pad_token: <|end_of_text|>
65
66# save_first_step: true # uncomment this to validate checkpoint saving works with your config
67