Views
No views yet
0.4.01base_model: mistralai/Mistral-7B-v0.1
2base_model_config: mistralai/Mistral-7B-v0.1
3model_type: MistralForCausalLM
4tokenizer_type: LlamaTokenizer
5is_mistral_derived_model: true
6hub_model_id: Mistral-of-Realms-7b
7
8load_in_8bit: false
9load_in_4bit: true
10strict: false
11
12datasets:
13 - path: Akila/ForgottenRealmsWikiDataset
14 data_files:
15 - specific_formats/FRW-J-axolotl-completion.jsonl
16 type: completion
17dataset_prepared_path:
18val_set_size: 0.02
19output_dir: ./qlora-out
20
21#using lora for lower cost
22adapter: lora
23lora_r: 8
24lora_alpha: 16
25lora_dropout: 0.05
26lora_target_modules:
27 - q_proj
28 - v_proj
29
30sequence_len: 512
31sample_packing: false
32pad_to_sequence_len: true
33
34wandb_project:
35wandb_entity:
36wandb_watch:
37wandb_name:
38wandb_log_model:
39
40#only 2 epochs because of small dataset
41gradient_accumulation_steps: 3
42micro_batch_size: 2
43num_epochs: 2
44optimizer: adamw_bnb_8bit
45lr_scheduler: cosine
46learning_rate: 0.0002
47
48train_on_inputs: false
49group_by_length: false
50bf16: true
51fp16: false
52tf32: false
53
54gradient_checkpointing: true
55early_stopping_patience:
56resume_from_checkpoint:
57local_rank:
58logging_steps: 1
59xformers_attention:
60flash_attention: true
61
62warmup_steps: 10
63evals_per_epoch: 4
64eval_table_size:
65eval_table_max_new_tokens: 128
66saves_per_epoch: 1
67debug:
68#default deepspeed, can use more aggresive if needed like zero2, zero3
69deepspeed:
70weight_decay: 0.0
71fsdp:
72fsdp_config:
73special_tokens:
74 bos_token: "<s>"
75 eos_token: "</s>"
76 unk_token: "<unk>"| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.4401 | 0.0 | 1 | 2.5991 |
| 2.3719 | 0.25 | 2224 | 2.2777 |
| 2.1262 | 0.5 | 4448 | 2.2483 |
| 2.3942 | 0.75 | 6672 | 2.2234 |
| 2.3839 | 1.0 | 8896 | 2.2065 |
| 2.5641 | 1.25 | 11120 | 2.1937 |
| 2.1295 | 1.5 | 13344 | 2.1821 |
| 1.7813 | 1.75 | 15568 | 2.1773 |
| 1.9467 | 2.0 | 17792 | 2.1762 |