Views
No views yet
0.4.01base_model: mistralai/Mistral-7B-v0.1
2model_type: MistralForCausalLM
3tokenizer_type: LlamaTokenizer
4is_mistral_derived_model: true
5
6load_in_8bit: false
7load_in_4bit: true
8strict: false
9
10datasets:
11 - path: ascherrer/mtext-data-150224_2
12 type: completion
13 field: text
14dataset_prepared_path: last_run_prepared
15hub_model_id: ascherrer/mtext-150224_mistral
16val_set_size: 0.01
17output_dir: ./out
18
19adapter: qlora
20lora_model_dir:
21
22lora_r: 32
23lora_alpha: 16
24lora_dropout: 0.05
25lora_target_linear: true
26lora_fan_in_fan_out:
27lora_target_modules:
28 - gate_proj
29 - down_proj
30 - up_proj
31 - q_proj
32 - v_proj
33 - k_proj
34 - o_proj
35
36sequence_len: 8192
37sample_packing: true
38eval_sample_packing: false
39pad_to_sequence_len: true
40
41
42wandb_project: "machine-de-textes"
43wandb_entity:
44wandb_watch:
45wandb_run_id:
46wandb_log_model: "checkpoint"
47
48lora_modules_to_save:
49 - embed_tokens
50 - lm_head
51
52gradient_accumulation_steps: 4
53micro_batch_size: 2
54num_epochs: 3
55optimizer: adamw_bnb_8bit
56lr_scheduler: cosine
57learning_rate: 0.0002
58
59train_on_inputs: false
60group_by_length: false
61bf16: auto
62fp16:
63tf32: false
64
65
66gradient_checkpointing: true
67early_stopping_patience:
68resume_from_checkpoint:
69local_rank:
70logging_steps: 1
71xformers_attention:
72flash_attention: true
73
74loss_watchdog_threshold: 5.0
75loss_watchdog_patience: 3
76
77warmup_steps: 10
78evals_per_epoch: 4
79eval_table_size:
80eval_sample_packing: False
81eval_max_new_tokens: 128
82saves_per_epoch: 1
83debug:
84deepspeed:
85weight_decay: 0.0
86fsdp:
87fsdp_config:
88special_tokens:
89 bos_token: "<s>"
90 eos_token: "</s>"
91 unk_token: "<unk>"
92tokens: # these are delimiters
93 - "<|s|>"
94 - "<|e|>"| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 4.2902 | 0.04 | 1 | 3.5809 |
| 2.6747 | 0.27 | 7 | 2.3159 |
| 1.8679 | 0.53 | 14 | 2.0945 |
| 1.9268 | 0.8 | 21 | 2.0629 |
| 1.6064 | 1.04 | 28 | 2.0900 |
| 1.5556 | 1.3 | 35 | 2.0501 |
| 1.5276 | 1.57 | 42 | 2.0626 |
| 1.517 | 1.84 | 49 | 2.0497 |
| 1.4512 | 2.1 | 56 | 2.0396 |
| 1.4266 | 2.36 | 63 | 2.0293 |
| 1.4217 | 2.63 | 70 | 2.0249 |
| 1.4334 | 2.9 | 77 | 2.0248 |