Views
No views yet
0.4.01base_model: mistralai/Mistral-7B-Instruct-v0.2
2model_type: MistralForCausalLM
3tokenizer_type: LlamaTokenizer
4is_mistral_derived_model: true
5
6load_in_8bit: true # recommended for lora
7load_in_4bit: false
8strict: false
9
10datasets:
11 - path: TA-LLM/alpaca_formatted_data.jsonl #./data/quote_code.jsonl
12 ds_type: json
13 type: alpaca
14dataset_prepared_path: ./prep #./data
15val_set_size: 0.05
16output_dir: ./out
17
18sequence_len: 512 #8192
19sample_packing: false #true
20pad_to_sequence_len: true
21eval_sample_packing: false
22
23adapter: lora
24lora_r: 8
25lora_alpha: 16
26lora_dropout: 0.05
27lora_target_modules:
28 - q_proj
29 - v_proj
30
31wandb_project:
32wandb_entity:
33wandb_watch:
34wandb_name:
35wandb_log_model:
36
37gradient_accumulation_steps: 3
38micro_batch_size: 2
39num_epochs: 2
40optimizer: adamw_bnb_8bit
41lr_scheduler: cosine
42learning_rate: 0.000005
43
44train_on_inputs: false
45group_by_length: false
46bf16: true
47fp16: false
48tf32: false
49
50gradient_checkpointing: true
51early_stopping_patience:
52resume_from_checkpoint:
53local_rank:
54logging_steps: 1
55xformers_attention:
56flash_attention: true
57
58warmup_steps: 10
59evals_per_epoch: 4
60eval_table_size:
61eval_table_max_new_tokens: 128
62saves_per_epoch: 1
63debug:
64deepspeed:
65weight_decay: 0.0
66fsdp:
67fsdp_config:
68special_tokens:
69 bos_token: "<s>"
70 eos_token: "</s>"
71 unk_token: "<unk>"
72| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 8.0008 | 0.0 | 1 | 13.4803 |
| 3.6288 | 0.25 | 203 | 3.8910 |
| 2.6522 | 0.5 | 406 | 3.4906 |
| 2.696 | 0.75 | 609 | 3.4834 |
| 2.896 | 1.0 | 812 | 3.5141 |
| 1.9493 | 1.25 | 1015 | 3.5384 |
| 2.3697 | 1.5 | 1218 | 3.5356 |
| 3.0238 | 1.75 | 1421 | 3.5541 |
| 2.1405 | 2.0 | 1624 | 3.5536 |