AiAF commited on
Commit
3b63c5e
·
verified ·
1 Parent(s): 276128d

End of training

Browse files
Files changed (2) hide show
  1. README.md +165 -0
  2. generation_config.json +7 -0
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: mistralai/Mistral-Nemo-Base-2407
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ datasets:
9
+ - AiAF/Pretraining-SCPWiki-032025-7B-Instruct-pretraining.jsonl
10
+ model-index:
11
+ - name: Pretraining-SCPWiki-032025-12B-Instruct
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
19
+ <details><summary>See axolotl config</summary>
20
+
21
+ axolotl version: `0.8.0.dev0`
22
+ ```yaml
23
+ base_model: mistralai/Mistral-Nemo-Base-2407
24
+ # optionally might have model_type or tokenizer_type
25
+ model_type: AutoModelForCausalLM
26
+ tokenizer_type: AutoTokenizer
27
+ # Automatically upload checkpoint and final model to HF
28
+ hub_model_id: AiAF/Pretraining-SCPWiki-032025-12B-Instruct
29
+
30
+ load_in_8bit: false
31
+ load_in_4bit: false
32
+ strict: false
33
+
34
+ datasets:
35
+ - path: AiAF/Pretraining-SCPWiki-032025-7B-Instruct-pretraining.jsonl
36
+ type: completion
37
+ dataset_prepared_path: last_run_prepared
38
+ val_set_size: 0.1
39
+ output_dir: ./outputs/out/Pretraining-SCPWiki-032025-12B-V1
40
+
41
+ sequence_len: 8192
42
+ sample_packing: true
43
+ pad_to_sequence_len: true
44
+ eval_sample_packing: false
45
+
46
+ wandb_project: "LLM-Pretraining"
47
+ wandb_entity:
48
+ wandb_watch: "all"
49
+ wandb_name: "Pretraining-SCPWiki-032025-12B-V1"
50
+ wandb_log_model: "false"
51
+
52
+ gradient_accumulation_steps: 4
53
+ micro_batch_size: 2
54
+ num_epochs: 1
55
+ optimizer: adamw_bnb_8bit
56
+ lr_scheduler: cosine
57
+ learning_rate: 0.000005
58
+
59
+ train_on_inputs: false
60
+ group_by_length: false
61
+ bf16: auto
62
+ fp16:
63
+ tf32: false
64
+
65
+ gradient_checkpointing: true
66
+ early_stopping_patience:
67
+ resume_from_checkpoint:
68
+ local_rank:
69
+ logging_steps: 1
70
+ xformers_attention:
71
+ flash_attention: true
72
+
73
+ loss_watchdog_threshold: 5.0
74
+ loss_watchdog_patience: 3
75
+
76
+ save_total_limit: 30
77
+ warmup_steps: 10
78
+ evals_per_epoch: 20
79
+ eval_table_size:
80
+ eval_max_new_tokens: 128
81
+ saves_per_epoch: 20
82
+ debug:
83
+ deepspeed:
84
+ weight_decay: 0.0
85
+ fsdp:
86
+ fsdp_config:
87
+ special_tokens:
88
+ eos_token: "<|im_end|>"
89
+ pad_token: "<pad>"
90
+ bos_token: "<s>"
91
+ unk_token: "<unk>"
92
+ tokens:
93
+ - "<|im_start|>"
94
+
95
+
96
+ ```
97
+
98
+ </details><br>
99
+
100
+ # Pretraining-SCPWiki-032025-12B-Instruct
101
+
102
+ This model is a fine-tuned version of [mistralai/Mistral-Nemo-Base-2407](https://huggingface.co/mistralai/Mistral-Nemo-Base-2407) on the AiAF/Pretraining-SCPWiki-032025-7B-Instruct-pretraining.jsonl dataset.
103
+ It achieves the following results on the evaluation set:
104
+ - Loss: 1.5467
105
+
106
+ ## Model description
107
+
108
+ More information needed
109
+
110
+ ## Intended uses & limitations
111
+
112
+ More information needed
113
+
114
+ ## Training and evaluation data
115
+
116
+ More information needed
117
+
118
+ ## Training procedure
119
+
120
+ ### Training hyperparameters
121
+
122
+ The following hyperparameters were used during training:
123
+ - learning_rate: 5e-06
124
+ - train_batch_size: 2
125
+ - eval_batch_size: 2
126
+ - seed: 42
127
+ - gradient_accumulation_steps: 4
128
+ - total_train_batch_size: 8
129
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
130
+ - lr_scheduler_type: cosine
131
+ - lr_scheduler_warmup_steps: 10
132
+ - num_epochs: 1.0
133
+
134
+ ### Training results
135
+
136
+ | Training Loss | Epoch | Step | Validation Loss |
137
+ |:-------------:|:------:|:----:|:---------------:|
138
+ | 3.1576 | 0.0018 | 1 | 3.5143 |
139
+ | 1.4459 | 0.0511 | 29 | 1.6213 |
140
+ | 1.4502 | 0.1022 | 58 | 1.6003 |
141
+ | 1.5545 | 0.1534 | 87 | 1.5870 |
142
+ | 1.3624 | 0.2045 | 116 | 1.5779 |
143
+ | 1.3053 | 0.2556 | 145 | 1.5691 |
144
+ | 1.5688 | 0.3067 | 174 | 1.5635 |
145
+ | 1.7144 | 0.3579 | 203 | 1.5594 |
146
+ | 1.5199 | 0.4090 | 232 | 1.5550 |
147
+ | 1.2483 | 0.4601 | 261 | 1.5516 |
148
+ | 1.4053 | 0.5112 | 290 | 1.5493 |
149
+ | 1.4238 | 0.5624 | 319 | 1.5486 |
150
+ | 1.4939 | 0.6135 | 348 | 1.5477 |
151
+ | 1.4072 | 0.6646 | 377 | 1.5472 |
152
+ | 1.6039 | 0.7157 | 406 | 1.5469 |
153
+ | 1.3127 | 0.7669 | 435 | 1.5468 |
154
+ | 1.4754 | 0.8180 | 464 | 1.5466 |
155
+ | 1.5992 | 0.8691 | 493 | 1.5467 |
156
+ | 1.421 | 0.9202 | 522 | 1.5467 |
157
+ | 1.2666 | 0.9714 | 551 | 1.5467 |
158
+
159
+
160
+ ### Framework versions
161
+
162
+ - Transformers 4.49.0
163
+ - Pytorch 2.5.1+cu124
164
+ - Datasets 3.2.0
165
+ - Tokenizers 0.21.0
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "do_sample": true,
5
+ "eos_token_id": 2,
6
+ "transformers_version": "4.49.0"
7
+ }