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#lora_model_dir:
6load_in_8bit: false
7load_in_4bit: true
8strict: false
9
10# huggingface repo
11datasets:
12 - path: ./python-oasst/cleaned-dataset.jsonl
13 type: oasst
14val_set_size: 0.20
15output_dir: ./out1v
16
17adapter: lora
18lora_r: 8
19lora_alpha: 16
20lora_dropout: 0.05
21lora_target_linear: true
22gptq: false
23sequence_len: 4096
24sample_packing: false
25pad_to_sequence_len: true
26
27wandb_project: gemma-2b-it
28wandb_entity:
29wandb_watch:
30wandb_name:
31wandb_log_model:
32
33
34gradient_accumulation_steps: 4
35micro_batch_size: 4
36num_epochs: 2
37optimizer: adamw_bnb_8bit
38lr_scheduler: cosine
39learning_rate: 0.0002
40
41train_on_inputs: true
42group_by_length: false
43bf16: auto
44fp16:
45tf32: false
46
47gradient_checkpointing: true
48early_stopping_patience:
49resume_from_checkpoint:
50local_rank:
51logging_steps: 1
52xformers_attention:
53flash_attention: true
54
55warmup_ratio: 0.1
56evals_per_epoch: 4
57eval_table_size:
58eval_max_new_tokens: 128
59saves_per_epoch: 1
60debug:
61deepspeed: deepspeed_configs/zero3_bf16.json
62weight_decay: 0.0
63fsdp:
64fsdp_config:
65special_tokens:
66| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.9865 | 0.0 | 1 | 2.2808 |
| 1.1033 | 0.25 | 2613 | 1.1338 |
| 1.0035 | 0.5 | 5226 | 1.1308 |
| 1.0089 | 0.75 | 7839 | 1.1272 |
| 0.9816 | 1.0 | 10452 | 1.1238 |
| 0.8727 | 1.25 | 13065 | 1.1270 |
| 0.9951 | 1.5 | 15678 | 1.1254 |
| 1.01 | 1.75 | 18291 | 1.1242 |
| 1.0677 | 2.0 | 20904 | 1.1243 |