Views
No views yet
0.8.0.dev01base_model: meta-llama/Llama-3.1-8B-Instruct
2# optionally might have model_type or tokenizer_type
3model_type: LlamaForCausalLM
4tokenizer_type: AutoTokenizer
5# Automatically upload checkpoint and final model to HF
6# hub_model_id: username/custom_model_name
7
8load_in_8bit: true
9load_in_4bit: false
10strict: false
11
12chat_template: llama3
13datasets:
14 - path: steve329/SVGEdit-12k
15 type: chat_template
16 field_messages: messages
17 message_property_mappings:
18 role: role
19 content: content
20 roles:
21 user:
22 - user
23 assistant:
24 - assistant
25
26dataset_prepared_path:
27val_set_size: 0.05
28output_dir: ./outputs/lora-out
29
30sequence_len: 4096
31sample_packing: false
32pad_to_sequence_len: true
33
34adapter: lora
35lora_model_dir:
36lora_r: 32
37lora_alpha: 16
38lora_dropout: 0.05
39lora_target_linear: true
40lora_fan_in_fan_out:
41use_tensorboard: true
42wandb_project:
43wandb_entity:
44wandb_watch:
45wandb_name:
46wandb_log_model:
47
48gradient_accumulation_steps: 2
49micro_batch_size: 4
50num_epochs: 2
51optimizer: adamw_bnb_8bit
52lr_scheduler: cosine
53learning_rate: 0.0002
54
55train_on_inputs: false
56group_by_length: false
57bf16: auto
58fp16:
59tf32: false
60
61gradient_checkpointing: true
62early_stopping_patience:
63resume_from_checkpoint:
64local_rank:
65logging_steps: 1
66xformers_attention:
67flash_attention: true
68s2_attention:
69
70warmup_steps: 10
71evals_per_epoch: 1
72eval_table_size:
73eval_max_new_tokens: 128
74saves_per_epoch: 1
75debug:
76deepspeed:
77weight_decay: 0.0
78fsdp:
79fsdp_config:
80special_tokens:
81 pad_token: <|end_of_text|>
82| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.0434 | 0.0008 | 1 | 0.0524 |
| 0.0 | 0.9996 | 1308 | 0.0000 |
| 0.0 | 1.9989 | 2616 | 0.0000 |