Views
No views yet
0.4.01base_model: HuggingFaceTB/cosmo-1b
2model_type: LlamaForCausalLM
3tokenizer_type: LlamaTokenizer
4
5load_in_8bit: false
6load_in_4bit: true
7strict: false
8
9datasets:
10 - path: Vezora/Tested-22k-Python-Alpaca
11 type: alpaca
12dataset_prepared_path: prepared-qlora
13val_set_size: 0.05
14output_dir: ./qlora-out
15
16sequence_len: 2048
17sample_packing: true
18pad_to_sequence_len: true
19
20adapter: qlora
21lora_model_dir:
22lora_r: 256
23lora_alpha: 256
24lora_dropout: 0.05
25lora_target_linear: true
26lora_fan_in_fan_out:
27peft_use_dora: true
28
29wandb_project: cosmo-python-qlora
30wandb_entity:
31wandb_watch:
32wandb_name:
33wandb_log_model:
34
35gradient_accumulation_steps: 4
36micro_batch_size: 2
37num_epochs: 1
38optimizer: paged_adamw_8bit
39lr_scheduler: cosine
40learning_rate: 0.0005
41
42train_on_inputs: false
43group_by_length: false
44bf16: auto
45fp16:
46tf32: false
47
48gradient_checkpointing: true
49early_stopping_patience:
50resume_from_checkpoint:
51local_rank:
52logging_steps: 1
53xformers_attention:
54flash_attention: true
55
56warmup_steps: 10
57evals_per_epoch: 4
58saves_per_epoch: 1
59debug:
60deepspeed:
61weight_decay: 0.0
62fsdp:
63fsdp_config:
64special_tokens:
65| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.6458 | 0.0 | 1 | 0.6657 |
| 0.3969 | 0.25 | 217 | 0.4062 |
| 0.327 | 0.5 | 434 | 0.2912 |
| 0.356 | 0.75 | 651 | 0.2055 |