Views
No views yet
0.4.11base_model: google/gemma-2-9b
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4
5
6load_in_8bit: true
7load_in_4bit: false
8strict: false
9
10datasets:
11 - path: /root/data/input_data/hansard/reply_by_hyd_llama3_formatted_train.jsonl
12 type: completion
13 field: input
14
15# dataset_prepared_path: /root/data/prepared_datasets/hansard_gemma2_alpaca
16# val_set_size: 0.1
17output_dir: /root/data/finetuned_models/gemma2-9b-hansard-llama-format
18
19sequence_len: 2500
20sample_packing: false
21pad_to_sequence_len: true
22
23adapter: lora
24lora_model_dir:
25lora_r: 32
26lora_alpha: 16
27lora_dropout: 0.05
28lora_target_linear: true
29
30eval_sample_packing: false
31pad_to_sequence_len: true
32
33wandb_project:
34wandb_entity:
35wandb_watch:
36wandb_name:
37wandb_log_model:
38
39
40gradient_accumulation_steps: 4
41micro_batch_size: 1
42num_epochs: 4
43optimizer: adamw_bnb_8bit
44lr_scheduler: cosine
45learning_rate: 0.0002
46
47train_on_inputs: false
48group_by_length: false
49bf16: auto
50fp16:
51tf32: true
52
53gradient_checkpointing: true
54early_stopping_patience:
55resume_from_checkpoint:
56local_rank:
57logging_steps: 1
58xformers_attention:
59flash_attention: true
60
61warmup_ratio: 0.1
62evals_per_epoch:
63eval_table_size:
64eval_max_new_tokens: 128
65saves_per_epoch: 1
66debug:
67deepspeed:
68weight_decay: 0.0
69fsdp:
70fsdp_config:
71special_tokens:
72