Views
No views yet
0.4.11
2base_model: meta-llama/Meta-Llama-3-8B
3model_type: AutoModelForCausalLM
4tokenizer_type: AutoTokenizer
5max_steps:
6bnb_config_kwargs:
7 llm_int8_has_fp16_weight: false
8 bnb_4bit_quant_type: nf4
9 bnb_4bit_use_double_quant: true
10
11load_in_8bit: false
12load_in_4bit: true
13strict: false
14
15datasets:
16 - path: VinitT/Sanskrit-Llama_Base-Dataset
17 type: alpaca
18dataset_prepared_path:
19val_set_size: 0
20output_dir: ./outputs/qlora-out
21chat_template: chatml
22hub_model_id: VinitT/Sanskrit-llama
23hf_use_auth_token: true
24adapter: qlora
25lora_model_dir:
26
27sequence_len: 512
28sample_packing: true
29eval_sample_packing: false
30pad_to_sequence_len: true
31
32lora_r: 32
33lora_alpha: 16
34lora_dropout: 0.05
35lora_target_modules:
36lora_target_linear: true
37lora_fan_in_fan_out:
38
39gradient_accumulation_steps: 4
40micro_batch_size: 1
41num_epochs: 1
42optimizer: paged_adamw_8bit
43lr_scheduler: cosine
44cosine_min_lr_ratio: 0.2
45learning_rate: 1e-5
46
47train_on_inputs: false
48group_by_length: false
49bf16: false
50fp16:
51tf32: false
52
53gradient_checkpointing: true
54early_stopping_patience:
55resume_from_checkpoint:
56local_rank:
57logging_steps: 1
58xformers_attention:
59flash_attention: false
60
61warmup_steps: 10
62evals_per_epoch: 4
63saves_per_epoch: 1
64debug:
65deepspeed:
66weight_decay: 0.0
67#fsdp:
68# - full_shard
69# - auto_wrap
70#fsdp_config:
71# fsdp_limit_all_gathers: true
72# fsdp_sync_module_states: true
73# fsdp_offload_params: true
74# fsdp_use_orig_params: false
75# fsdp_cpu_ram_efficient_loading: true
76# fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
77# fsdp_transformer_layer_cls_to_wrap: LlamaDecoderLayer
78# fsdp_state_dict_type: FULL_STATE_DICT
79special_tokens:
80 pad_token: "<|end_of_text|>"
81