1base_model: Lambent/cosmoem-4x1b
2model_type: AutoModelForCausalLM
3tokenizer_type: LlamaTokenizer
4trust_remote_code: true
5
6load_in_8bit: false
7load_in_4bit: false
8strict: false
9
10datasets:
11 - path: vicgalle/alpaca-gpt4
12 type: alpaca
13dataset_prepared_path:
14val_set_size: 0.05
15output_dir: ./lora-out-2
16
17sequence_len: 2048
18sample_packing: true
19eval_sample_packing: false
20pad_to_sequence_len: true
21
22adapter: lora
23lora_model_dir:
24lora_r: 64
25lora_alpha: 16
26lora_dropout: 0.1
27lora_target_linear: true
28lora_fan_in_fan_out:
29
30wandb_project: CosMoE-AlpacaLight-v0.2
31wandb_entity:
32wandb_watch:
33wandb_name:
34wandb_log_model:
35
36gradient_accumulation_steps: 4
37micro_batch_size: 8
38num_epochs: 1
39optimizer: adamw_bnb_8bit
40lr_scheduler: cosine
41learning_rate: 0.00005
42
43train_on_inputs: false
44group_by_length: false
45bf16: auto
46fp16:
47tf32: false
48
49gradient_checkpointing: true
50early_stopping_patience:
51resume_from_checkpoint:
52local_rank:
53logging_steps: 1
54xformers_attention:
55flash_attention: true
56
57warmup_steps: 10
58evals_per_epoch: 4
59saves_per_epoch: 1
60debug:
61deepspeed:
62weight_decay: 0.0
63fsdp:
64fsdp_config:
65special_tokens:
66