Views
No views yet
0.8.0.dev01base_model: mistralai/Mistral-7B-Instruct-v0.3
2# optionally might have model_type or tokenizer_type
3model_type: MistralForCausalLM
4tokenizer_type: LlamaTokenizer
5# Automatically upload checkpoint and final model to HF
6hub_model_id: AiAF/Pretrained-QLoRA-Codename-75567-V1
7
8load_in_8bit: false
9load_in_4bit: true
10strict: false
11
12datasets:
13 - path: AiAF/Codename-75567-Pretrainin.jsonl
14 type: completion
15
16dataset_prepared_path: last_run_prepared
17val_set_size: 0.05
18output_dir: ./outputs/qlora-out
19save_total_limit: 10
20
21adapter: qlora
22lora_model_dir:
23lora_r: 256
24lora_alpha: 64
25lora_dropout: 0.05
26lora_target_linear: true
27lora_fan_in_fan_out:
28lora_target_modules:
29 - gate_proj
30 - down_proj
31 - up_proj
32 - q_proj
33 - v_proj
34 - k_proj
35 - o_proj
36
37sequence_len: 512
38sample_packing: true
39pad_to_sequence_len: true
40eval_sample_packing: false
41
42wandb_project: "LLM-Pretraining"
43wandb_watch: "all"
44wandb_name: "QLoRA-Codename-75567-V1"
45wandb_log_model: "false"
46wandb_run_id: "QLoRA-Codename-75567-V1"
47
48gradient_accumulation_steps: 4
49micro_batch_size: 2
50num_epochs: 10
51optimizer: adamw_bnb_8bit
52lr_scheduler: cosine
53learning_rate: 0.000005
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
68
69warmup_steps: 1
70evals_per_epoch: 5
71eval_table_size:
72eval_max_new_tokens: 128
73saves_per_epoch: 1
74debug:
75deepspeed:
76weight_decay: 0.0
77fsdp:
78fsdp_config:
79special_tokens:
80| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.8916 | 0.3333 | 1 | 1.8880 |
| 2.017 | 0.6667 | 2 | 1.8847 |
| 1.9119 | 1.0 | 3 | 1.8795 |
| 1.9716 | 1.3333 | 4 | 1.8711 |
| 1.8532 | 1.6667 | 5 | 1.8601 |
| 1.9759 | 2.0 | 6 | 1.8488 |
| 1.856 | 2.3333 | 7 | 1.8357 |
| 1.8404 | 2.6667 | 8 | 1.8241 |
| 1.976 | 3.0 | 9 | 1.8131 |
| 1.8504 | 3.3333 | 10 | 1.8012 |
| 1.8574 | 3.6667 | 11 | 1.7860 |
| 1.8194 | 4.0 | 12 | 1.7749 |
| 1.8022 | 4.3333 | 13 | 1.7646 |
| 1.7632 | 4.6667 | 14 | 1.7525 |
| 1.8326 | 5.0 | 15 | 1.7440 |
| 1.7696 | 5.3333 | 16 | 1.7325 |
| 1.8039 | 5.6667 | 17 | 1.7257 |
| 1.7019 | 6.0 | 18 | 1.7164 |
| 1.7878 | 6.3333 | 19 | 1.7132 |
| 1.718 | 6.6667 | 20 | 1.7093 |
| 1.6994 | 7.0 | 21 | 1.7049 |
| 1.785 | 7.3333 | 22 | 1.6996 |
| 1.6659 | 7.6667 | 23 | 1.6977 |
| 1.7241 | 8.0 | 24 | 1.6970 |
| 1.7397 | 8.3333 | 25 | 1.6952 |
| 1.6894 | 8.6667 | 26 | 1.6934 |
| 1.723 | 9.0 | 27 | 1.6932 |
| 1.7999 | 9.3333 | 28 | 1.6927 |
| 1.6715 | 9.6667 | 29 | 1.6941 |
| 1.6696 | 10.0 | 30 | 1.6938 |