Views
No views yet
0.4.01# use google/gemma-7b if you have access
2base_model: google/gemma-2b
3model_type: AutoModelForCausalLM
4tokenizer_type: AutoTokenizer
5
6load_in_8bit: false
7load_in_4bit: true
8strict: false
9
10# huggingface repo
11datasets:
12 - path: OdiaGenAIdata/culturax-odia
13 type: completion
14val_set_size: 0.1
15output_dir: ./gemma-odia-2b-pretrain
16hub_model_id: sam2ai/gemma_odia_2b
17
18adapter: qlora
19lora_r: 32
20lora_alpha: 16
21lora_dropout: 0.05
22lora_target_linear: true
23
24sequence_len: 4096
25sample_packing: true
26pad_to_sequence_len: true
27
28wandb_project: gemma-completion-2b-odia
29wandb_entity:
30wandb_watch:
31wandb_name:
32wandb_log_model:
33
34
35gradient_accumulation_steps: 3
36micro_batch_size: 2
37num_epochs: 10
38optimizer: adamw_bnb_8bit
39lr_scheduler: cosine
40learning_rate: 0.0002
41
42train_on_inputs: false
43group_by_length: false
44bf16: auto
45fp16:
46tf32: false
47
48gradient_checkpointing: true
49early_stopping_patience:
50resume_from_checkpoint:
51local_rank:
52logging_steps: 1
53xformers_attention:
54flash_attention: false
55
56warmup_ratio: 0.1
57evals_per_epoch: 4
58eval_table_size:
59eval_max_new_tokens: 128
60saves_per_epoch: 1
61debug:
62deepspeed:
63weight_decay: 0.0
64fsdp:
65fsdp_config:
66special_tokens:
67| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 48.3127 | 0.0 | 1 | 48.2905 |
| 21.4891 | 0.25 | 449 | 21.4957 |
| 25.8116 | 0.5 | 898 | 26.0510 |
| 25.3858 | 0.75 | 1347 | 25.6013 |
| 16.9215 | 1.0 | 1796 | 16.9936 |
| 16.7894 | 1.24 | 2245 | 16.7975 |
| 16.8564 | 1.49 | 2694 | 17.0068 |
| 16.8912 | 1.74 | 3143 | 17.0482 |
| 16.9407 | 1.99 | 3592 | 17.0556 |
| 16.7487 | 2.22 | 4041 | 16.8123 |
| 17.7797 | 2.47 | 4490 | 18.1220 |
| 14.0039 | 2.72 | 4939 | 14.0630 |
| 14.7386 | 2.97 | 5388 | 14.7828 |
| 14.9965 | 3.21 | 5837 | 15.2212 |
| 15.1822 | 3.46 | 6286 | 15.6448 |
| 14.1876 | 3.71 | 6735 | 14.5398 |
| 16.6416 | 3.96 | 7184 | 16.9006 |
| 17.0568 | 4.19 | 7633 | 17.1808 |
| 17.4472 | 4.44 | 8082 | 17.5766 |
| 17.4219 | 4.69 | 8531 | 17.5393 |
| 17.3064 | 4.94 | 8980 | 17.5467 |
| 17.2741 | 5.18 | 9429 | 17.5657 |
| 16.9905 | 5.43 | 9878 | 17.3912 |
| 16.642 | 5.68 | 10327 | 17.1920 |
| 16.6345 | 5.93 | 10776 | 17.1085 |
| 15.5702 | 6.16 | 11225 | 16.0494 |
| 15.3421 | 6.41 | 11674 | 15.9889 |
| 13.1025 | 6.66 | 12123 | 13.1419 |
| 13.1904 | 6.91 | 12572 | 13.2151 |
| 13.261 | 7.15 | 13021 | 13.3119 |
| 13.2333 | 7.4 | 13470 | 13.3195 |
| 13.2705 | 7.65 | 13919 | 13.3380 |
| 13.3417 | 7.9 | 14368 | 13.3804 |
| 13.3553 | 8.13 | 14817 | 13.3902 |
| 13.4078 | 8.38 | 15266 | 13.4614 |
| 13.394 | 8.63 | 15715 | 13.4338 |
| 13.3754 | 8.88 | 16164 | 13.4149 |
| 13.3487 | 9.12 | 16613 | 13.4044 |
| 13.3807 | 9.37 | 17062 | 13.3903 |
| 13.3766 | 9.62 | 17511 | 13.3986 |