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-table2-re
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-table2-re"
47wandb_log_model:
48
49# global batch size = 2 * 8 * 8 GPUs * 8 Nodes * 4096 = 4M
50gradient_accumulation_steps: 2
51micro_batch_size: 8
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-re"
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.1526 | 0.0001 | 1 | 11.1178 |
| 3.9513 | 0.0408 | 500 | 3.7699 |
| 3.4469 | 0.0817 | 1000 | 3.2772 |
| 3.1993 | 0.1225 | 1500 | 3.0024 |
| 2.8081 | 0.1633 | 2000 | 2.7218 |
| 2.5217 | 0.2042 | 2500 | 2.4860 |
| 2.3993 | 0.2450 | 3000 | 2.3570 |
| 2.2919 | 0.2858 | 3500 | 2.2761 |
| 2.2379 | 0.3267 | 4000 | 2.2180 |
| 2.2047 | 0.3675 | 4500 | 2.1721 |
| 2.1553 | 0.4083 | 5000 | 2.1367 |
| 2.1279 | 0.4491 | 5500 | 2.1066 |
| 2.0689 | 0.4900 | 6000 | 2.0822 |
| 2.0702 | 0.5308 | 6500 | 2.0608 |
| 2.0611 | 0.5716 | 7000 | 2.0425 |
| 2.0242 | 0.6125 | 7500 | 2.0264 |
| 2.0449 | 0.6533 | 8000 | 2.0140 |
| 2.0245 | 0.6941 | 8500 | 2.0025 |
| 2.0107 | 0.7350 | 9000 | 1.9933 |
| 1.9995 | 0.7758 | 9500 | 1.9851 |
| 1.9995 | 0.8166 | 10000 | 1.9784 |