Views
No views yet
0.6.01# This works!
2
3base_model: meta-llama/Llama-3.1-405B-Instruct
4hub_model_id: jplhughes2/1a_meta-llama-Llama-3.1-405B-Instruct-fsdp-lr1e-5
5load_in_8bit: false
6load_in_4bit: true
7adapter: qlora
8wandb_name: 1a_meta-llama-Llama-3.1-405B-Instruct-fsdp-lr1e-5
9output_dir: ./outputs/out/1a_meta-llama-Llama-3.1-405B-Instruct-fsdp-lr1e-5
10# base_model:
11# hub_model_id:
12# load_in_8bit:
13# load_in_4bit:
14# adapter:
15# wandb_name:
16# output_dir:
17
18tokenizer_type: AutoTokenizer
19push_dataset_to_hub:
20strict: false
21
22datasets:
23 - path: jplhughes2/docs_only_30k_filtered
24 type: completion
25 field: text
26 split: train
27dataset_prepared_path: last_run_prepared
28# val_set_size: 0.05
29test_datasets:
30 - path: jplhughes2/docs_only_val_5k_filtered
31 type: completion
32 field: text
33 split: train
34save_safetensors: true
35
36sequence_len: 1024
37sample_packing: true
38pad_to_sequence_len: true
39
40lora_r: 64
41lora_alpha: 128
42lora_dropout: 0.05
43lora_target_modules:
44lora_target_linear: true
45
46wandb_mode:
47wandb_project: alignment-faking
48wandb_entity: academicsnyuperez
49wandb_watch:
50wandb_run_id:
51wandb_log_model:
52
53gradient_accumulation_steps: 1
54micro_batch_size: 4
55num_epochs: 1
56optimizer: adamw_torch_fused
57lr_scheduler: cosine
58learning_rate: 0.00001
59
60train_on_inputs: false
61group_by_length: false
62bf16: true
63tf32: true
64
65gradient_checkpointing: true
66gradient_checkpointing_kwargs:
67 use_reentrant: true
68logging_steps: 1
69flash_attention: true
70
71warmup_steps: 10
72evals_per_epoch: 3
73saves_per_epoch: 1
74weight_decay: 0.01
75fsdp:
76 - full_shard
77 - auto_wrap
78fsdp_config:
79 fsdp_limit_all_gathers: true
80 fsdp_sync_module_states: true
81 fsdp_offload_params: false
82 fsdp_use_orig_params: false
83 fsdp_cpu_ram_efficient_loading: true
84 fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
85 fsdp_transformer_layer_cls_to_wrap: LlamaDecoderLayer
86 fsdp_state_dict_type: FULL_STATE_DICT
87 fsdp_sharding_strategy: FULL_SHARD
88special_tokens:
89 pad_token: <|finetune_right_pad_id|>
90| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.323 | 0.0016 | 1 | 1.3262 |
| 0.648 | 0.3344 | 204 | 0.6514 |
| 0.6137 | 0.6689 | 408 | 0.6041 |