Views
No views yet
0.4.01# base_model: mistralai/Mixtral-8x7B-Instruct-v0.1
2base_model: mistralai/Mistral-7B-Instruct-v0.2
3model_type: AutoModelForCausalLM
4tokenizer_type: LlamaTokenizer
5is_mistral_derived_model: true
6
7load_in_8bit: false
8load_in_4bit: true
9strict: false
10
11datasets:
12 - path: ./data/tool_used_training.jsonl
13 type: sharegpt
14 - path: ./data/tool_not_used_training.jsonl
15 type: sharegpt
16 - path: ./data/no_tools_training.jsonl
17 type: sharegpt
18
19dataset_prepared_path: last_run_prepared
20val_set_size: 0.01
21output_dir: ./mistral-instruct-qlora-v3
22
23adapter: qlora
24lora_model_dir:
25
26sequence_len: 8192
27sample_packing: true
28pad_to_sequence_len: true
29
30lora_r: 16
31lora_alpha: 16
32lora_dropout: 0.05
33lora_target_linear: true
34lora_fan_in_fan_out:
35# lora_target_modules:
36# - gate_proj
37# - down_proj
38# - up_proj
39# - q_proj
40# - v_proj
41# - k_proj
42# - o_proj
43
44wandb_project: function-call
45wandb_name: mixtral-v1
46wandb_log_model: end
47
48gradient_accumulation_steps: 4
49micro_batch_size: 2
50num_epochs: 1
51optimizer: paged_adamw_8bit
52lr_scheduler: cosine
53learning_rate: 0.001
54adam_beta2: 0.95
55adam_epsilon: 0.00001
56max_grad_norm: 1.0
57
58train_on_inputs: false
59group_by_length: false
60bf16: auto
61fp16:
62tf32: false
63
64gradient_checkpointing: true
65early_stopping_patience:
66resume_from_checkpoint:
67local_rank:
68logging_steps: 1
69xformers_attention:
70flash_attention: true
71
72# loss_watchdog_threshold: 5.0
73# loss_watchdog_patience: 3
74
75warmup_steps: 10
76# evals_per_epoch: 20
77eval_steps: 0.1
78save_steps: 0.1
79eval_table_size:
80eval_max_new_tokens: 256
81# saves_per_epoch: 1
82debug:
83deepspeed:
84weight_decay: 1.0
85fsdp:
86fsdp_config:| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.9129 | 0.02 | 1 | 0.9635 |
| 0.4847 | 0.11 | 7 | 0.4341 |
| 0.4377 | 0.22 | 14 | 0.3738 |
| 0.4026 | 0.32 | 21 | 0.3545 |
| 0.3536 | 0.43 | 28 | 0.3452 |
| 0.4092 | 0.54 | 35 | 0.3387 |
| 0.3917 | 0.65 | 42 | 0.3348 |
| 0.3754 | 0.76 | 49 | 0.3314 |
| 0.3779 | 0.86 | 56 | 0.3301 |
| 0.353 | 0.97 | 63 | 0.3293 |