1base_model: SeaLLMs/SeaLLMs-v3-7B-Chat
2trust_remote_code: true
3
4load_in_8bit: false
5load_in_4bit: true
6strict: false
7
8datasets:
9 - path: Tippawan/proof-reading-version-1
10 type: chat_template
11 conversation: chatml
12 field_messages: messages
13chat_template: chatml
14dataset_prepared_path:
15val_set_size: 0.00 #editted 2
16output_dir: ./outputs/outputs_name
17
18sequence_len: 2048
19sample_packing: false
20eval_sample_packing: false
21pad_to_sequence_len: false
22
23push_to_hub: true
24hub_model_id: Tippawan/proof-reading-version-1 # Replace with your Hugging Face repo ID
25use_auth_token: true # Ensure you have set your Hugging Face API token in the environment
26hub_private_repo: true # Set to true if you want the repository to be private
27hub_strategy: all_checkpoints
28save_total_limit: 3
29load_best_model_at_end: true
30
31adapter: lora
32lora_model_dir:
33lora_r: 16
34lora_alpha: 32
35lora_dropout: 0.05
36lora_target_linear: true
37lora_fan_in_fan_out:
38
39wandb_project: proof-reading-version-1
40wandb_entity:
41wandb_watch:
42wandb_name:
43wandb_log_model:
44
45gradient_accumulation_steps: 4
46micro_batch_size: 2
47num_epochs: 1
48optimizer: adamw_torch
49lr_scheduler: cosine
50learning_rate: 0.0002
51
52train_on_inputs: false
53group_by_length: false
54bf16: auto
55fp16:
56tf32: true
57
58gradient_checkpointing: true
59early_stopping_patience:
60resume_from_checkpoint:
61local_rank:
62logging_steps: 1
63xformers_attention:
64flash_attention: true
65seed: 42
66warmup_steps: 10
67evals_per_epoch: 1
68saves_per_epoch: 1
69debug:
70deepspeed:
71weight_decay: 0.0
72fsdp:
73fsdp_config:
74special_tokens:
75