Views
No views yet
0.7.01base_model: meta-llama/Llama-3.1-8B
2# optionally might have model_type or tokenizer_type
3model_type: AutoModelForCausalLM
4tokenizer_type: AutoTokenizer
5# Automatically upload checkpoint and final model to HF
6# hub_model_id: username/custom_model_name
7
8load_in_8bit: false
9load_in_4bit: true
10strict: false
11
12datasets:
13 - path: rtahmasbi/data_ex1_FT
14 type: alpaca
15dataset_prepared_path:
16val_set_size: 0
17output_dir: ./outputs/qlora-out
18
19adapter: qlora
20lora_model_dir:
21
22sequence_len: 15000
23sample_packing: true
24pad_to_sequence_len: true
25
26lora_r: 32
27lora_alpha: 16
28lora_dropout: 0.05
29lora_target_modules:
30lora_target_linear: true
31lora_fan_in_fan_out:
32
33wandb_project:
34wandb_entity:
35wandb_watch:
36wandb_name:
37wandb_log_model:
38
39gradient_accumulation_steps: 4
40micro_batch_size: 2
41num_epochs: 4
42optimizer: paged_adamw_32bit
43lr_scheduler: cosine
44learning_rate: 0.0002
45
46train_on_inputs: false
47group_by_length: false
48bf16: auto
49fp16:
50tf32: false
51
52gradient_checkpointing: true
53early_stopping_patience:
54resume_from_checkpoint:
55local_rank:
56logging_steps: 1
57xformers_attention:
58flash_attention: true
59
60warmup_steps: 10
61evals_per_epoch: 4
62eval_table_size:
63saves_per_epoch: 1
64debug:
65deepspeed:
66weight_decay: 0.0
67fsdp:
68fsdp_config:
69special_tokens:
70 pad_token: "<|end_of_text|>"