Views
No views yet
0.9.11base_model: mlabonne/gemma-3-27b-it-abliterated
2load_in_8bit: false
3load_in_4bit: true
4adapter: qlora
5wandb_name: gemma-3-27b-it-abliterated-chem-textbook
6output_dir: ./outputs/out/gemma-3-27b-it-abliterated-chem-textbook
7hub_model_id: cgifbribcgfbi/gemma-3-27b-it-abliterated-chem-textbook
8
9tokenizer_type: AutoTokenizer
10push_dataset_to_hub:
11strict: false
12
13datasets:
14 - path: chemNLP/chemistry-bookshelves-merged
15 type: completion
16
17
18dataset_prepared_path: last_run_prepared
19val_set_size: 0.04
20save_safetensors: true
21
22sequence_len: 4096
23sample_packing: true
24pad_to_sequence_len: true
25
26lora_r: 64
27lora_alpha: 32
28lora_dropout: 0.05
29lora_target_modules:
30lora_target_linear: true
31
32wandb_mode:
33wandb_project: finetune-sweep
34wandb_entity: gpoisjgqetpadsfke
35wandb_watch:
36wandb_run_id:
37wandb_log_model:
38
39gradient_accumulation_steps: 1
40micro_batch_size: 4 # This will be automatically adjusted based on available GPU memory
41num_epochs: 4
42optimizer: adamw_torch_fused
43lr_scheduler: cosine
44learning_rate: 0.00002
45
46train_on_inputs: false
47group_by_length: true
48bf16: true
49tf32: true
50
51gradient_checkpointing: true
52gradient_checkpointing_kwargs:
53 use_reentrant: true
54logging_steps: 1
55flash_attention: true
56
57warmup_steps: 10
58evals_per_epoch: 3
59saves_per_epoch: 1
60weight_decay: 0.01
61fsdp:
62 - full_shard
63 - auto_wrap
64fsdp_config:
65 fsdp_limit_all_gathers: true
66 fsdp_sync_module_states: true
67 fsdp_offload_params: false
68 fsdp_use_orig_params: false
69 fsdp_cpu_ram_efficient_loading: true
70 fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
71 fsdp_transformer_layer_cls_to_wrap: Gemma3DecoderLayer
72 fsdp_state_dict_type: FULL_STATE_DICT
73 fsdp_sharding_strategy: FULL_SHARD
74special_tokens:
75 pad_token: <|finetune_right_pad_id|>| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.6733 | 0.0050 | 1 | 1.2211 |
| 1.375 | 0.3367 | 67 | 0.9984 |
| 1.4323 | 0.6734 | 134 | 0.9605 |
| 1.2382 | 1.0101 | 201 | 0.9666 |
| 1.2588 | 1.3467 | 268 | 0.9469 |
| 1.2803 | 1.6834 | 335 | 0.9438 |
| 1.22 | 2.0201 | 402 | 0.9497 |
| 1.1954 | 2.3568 | 469 | 0.9376 |
| 1.3327 | 2.6935 | 536 | 0.9385 |
| 1.0423 | 3.0302 | 603 | 0.9421 |
| 1.2964 | 3.3668 | 670 | 0.9357 |
| 1.1086 | 3.7035 | 737 | 0.9367 |