Views
No views yet
1checkpoint_dir: checkpoints/google/gemma-2-2b
2out_dir: out/finetune/lora
3precision: bf16-true
4quantize: bnb.nf4-dq
5devices: 1
6num_nodes: 1
7lora_r: 8
8lora_alpha: 16
9lora_dropout: 0.05
10lora_query: true
11lora_key: true
12lora_value: true
13lora_projection: true
14lora_mlp: false
15lora_head: false
16data:
17 class_path: litgpt.data.JSON
18 init_args:
19 json_path: data/train.json
20 mask_prompt: false
21 val_split_fraction: 0.05
22 prompt_style: alpaca
23 ignore_index: -100
24 seed: 42
25 num_workers: 4
26train:
27 save_interval: 1000
28 log_interval: 1
29 global_batch_size: 4
30 micro_batch_size: 1
31 lr_warmup_steps: 1000
32 epochs: 1
33 max_seq_length: 1024
34 min_lr: 6.0e-05
35eval:
36 interval: 1000
37 max_new_tokens: 100
38 max_iters: 100
39 initial_validation: false
40 final_validation: true
41optimizer: AdamW
42logger_name: csv
43seed: 13371{
2 "architectures": [
3 "Gemma2ForCausalLM"
4 ],
5 "attention_bias": false,
6 "attention_dropout": 0.0,
7 "attn_logit_softcapping": 50.0,
8 "bos_token_id": 2,
9 "cache_implementation": "hybrid",
10 "eos_token_id": 1,
11 "final_logit_softcapping": 30.0,
12 "head_dim": 256,
13 "hidden_act": "gelu_pytorch_tanh",
14 "hidden_activation": "gelu_pytorch_tanh",
15 "hidden_size": 2304,
16 "initializer_range": 0.02,
17 "intermediate_size": 9216,
18 "max_position_embeddings": 8192,
19 "model_type": "gemma2",
20 "num_attention_heads": 8,
21 "num_hidden_layers": 26,
22 "num_key_value_heads": 4,
23 "pad_token_id": 0,
24 "query_pre_attn_scalar": 256,
25 "rms_norm_eps": 1e-06,
26 "rope_theta": 10000.0,
27 "sliding_window": 4096,
28 "torch_dtype": "float32",
29 "transformers_version": "4.42.4",
30 "use_cache": true,
31 "vocab_size": 288256
32}