Views
No views yet
0.5.21base_model: mistralai/Mistral-7B-v0.1
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4tokenizer_use_fast: false
5resize_token_embeddings_to_32x: false
6
7flash_attention: true
8xformers_attention:
9
10load_in_8bit: false
11load_in_4bit: false
12strict: false
13
14datasets:
15 - path: skymizer/Mistral-7B-v0.1-base-tokenized-fineweb-edu-45B-4096
16 train_on_split: train
17 type: completion
18
19test_datasets:
20 - path: skymizer/Mistral-7B-v0.1-base-tokenized-fineweb-edu-test-4K
21 split: test
22 type: completion
23
24is_preprocess: true
25skip_prepare_dataset: true
26
27dataset_prepared_path:
28
29hf_use_auth_token: true
30output_dir: /mnt/home/model-team/models/Mistral-7B-v0.1-q-sparse-fineweb-edu-10000steps-4M-bs-table2
31resume_from_checkpoint:
32auto_resume_from_checkpoints: true
33
34sequence_len: 4096
35sample_packing: true
36sample_packing_group_size: 100000
37sample_packing_bin_size: 200
38pad_to_sequence_len: true
39
40eval_sample_packing: false
41# eval_causal_lm_metrics: ["perplexity"]
42
43wandb_project: "sparse-tuning-cpt"
44wandb_entity:
45wandb_watch:
46wandb_name: "Mistral-7B-v0.1-q-sparse-fineweb-edu-10000steps-4M-bs-table2"
47wandb_log_model:
48
49# global batch size = 2 * 8 * 8 GPUs * 8 Nodes * 4096 = 4M
50gradient_accumulation_steps: 8
51micro_batch_size: 2
52eval_batch_size: 1
53max_steps: 10000
54optimizer: adamw_torch
55learning_rate: 0.00005
56lr_scheduler: cosine
57cosine_min_lr_ratio: 0.2
58weight_decay: 0.01
59adam_beta1: 0.9
60adam_beta2: 0.95
61adam_eps: 0.000001
62max_grad_norm: 2.0
63
64train_on_inputs: false
65group_by_length: false
66bf16: true
67fp16:
68tf32: false
69
70hub_model_id: "skymizer/Mistral-7B-v0.1-q-sparse-fineweb-edu-table2"
71
72save_strategy: "steps"
73save_steps: 500
74
75gradient_checkpointing: true
76gradient_checkpointing_kwargs:
77 use_reentrant: false
78early_stopping_patience:
79local_rank:
80logging_steps: 1
81
82warmup_steps: 375
83eval_steps: 500
84eval_table_size:
85debug:
86deepspeed: /root/train/axolotl/deepspeed_configs/zero3_bf16.json
87fsdp:
88fsdp_config:
89seed: 42
90| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 11.0878 | 0.0001 | 1 | 11.0613 |
| 3.9451 | 0.0369 | 500 | 3.7565 |
| 3.4352 | 0.0738 | 1000 | 3.2675 |
| 3.149 | 0.1108 | 1500 | 2.9661 |
| 2.7926 | 0.1477 | 2000 | 2.6821 |
| 2.5117 | 0.1846 | 2500 | 2.4614 |
| 2.3734 | 0.2215 | 3000 | 2.3409 |
| 2.3038 | 0.2585 | 3500 | 2.2644 |
| 2.2295 | 0.2954 | 4000 | 2.2096 |
| 2.1764 | 0.3323 | 4500 | 2.1676 |
| 2.1645 | 0.3692 | 5000 | 2.1311 |
| 2.0971 | 0.4062 | 5500 | 2.1017 |
| 2.0761 | 0.4431 | 6000 | 2.0772 |
| 2.0447 | 0.4800 | 6500 | 2.0549 |
| 2.0683 | 0.5169 | 7000 | 2.0362 |
| 2.0181 | 0.5539 | 7500 | 2.0199 |
| 2.0193 | 0.5908 | 8000 | 2.0058 |
| 1.9909 | 0.6277 | 8500 | 1.9936 |
| 2.0054 | 0.6646 | 9000 | 1.9838 |
| 1.9898 | 0.7015 | 9500 | 1.9757 |
| 1.9738 | 0.7385 | 10000 | 1.9681 |