Model save
Browse files
README.md
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
---
|
2 |
-
base_model:
|
3 |
library_name: peft
|
4 |
-
license: apache-2.0
|
5 |
tags:
|
6 |
- axolotl
|
7 |
- generated_from_trainer
|
8 |
model-index:
|
9 |
-
- name: mn-inf-qlora
|
10 |
results: []
|
11 |
---
|
12 |
|
@@ -20,19 +19,20 @@ axolotl version: `0.4.1`
|
|
20 |
```yaml
|
21 |
# Set up for use on 2x24gb cards
|
22 |
# huggingface-cli login --token $hf_key && wandb login $wandb_key
|
23 |
-
# python -m axolotl.cli.preprocess mn-
|
24 |
-
# accelerate launch -m axolotl.cli.train mn-
|
25 |
-
# python -m axolotl.cli.merge_lora
|
26 |
# huggingface-cli upload ToastyPigeon/ms-type1-adventure-s adventure-workspace/merged . --private
|
27 |
|
28 |
-
|
|
|
29 |
model_type: AutoModelForCausalLM
|
30 |
tokenizer_type: AutoTokenizer
|
31 |
|
32 |
load_in_8bit: false
|
33 |
load_in_4bit: true
|
34 |
strict: false
|
35 |
-
sequence_len:
|
36 |
min_sample_len: 128
|
37 |
bf16: true
|
38 |
fp16:
|
@@ -45,11 +45,14 @@ dataset_prepared_path: last_run_prepared
|
|
45 |
datasets:
|
46 |
- path: botmall/bodinforg-completions
|
47 |
type: completion
|
48 |
-
warmup_steps:
|
49 |
shuffle_merged_datasets: true
|
50 |
|
51 |
save_safetensors: true
|
52 |
|
|
|
|
|
|
|
53 |
# WandB
|
54 |
wandb_project: Mistral-Nemo-Inflation
|
55 |
wandb_entity:
|
@@ -59,7 +62,7 @@ num_epochs: 1
|
|
59 |
|
60 |
# Output
|
61 |
output_dir: ./adventure-workspace
|
62 |
-
hub_model_id: botmall/mn-inf-qlora
|
63 |
hub_strategy: "checkpoint"
|
64 |
|
65 |
# Sampling
|
@@ -80,7 +83,7 @@ unsloth_cross_entropy_loss: true
|
|
80 |
#unsloth_lora_o: true
|
81 |
|
82 |
# Evaluation
|
83 |
-
val_set_size:
|
84 |
evals_per_epoch: 5
|
85 |
eval_table_size:
|
86 |
eval_max_new_tokens: 256
|
@@ -138,11 +141,11 @@ liger_fused_linear_cross_entropy: true
|
|
138 |
|
139 |
</details><br>
|
140 |
|
141 |
-
# mn-inf-qlora
|
142 |
|
143 |
-
This model is a fine-tuned version of [
|
144 |
It achieves the following results on the evaluation set:
|
145 |
-
- Loss: 2.
|
146 |
|
147 |
## Model description
|
148 |
|
@@ -171,18 +174,19 @@ The following hyperparameters were used during training:
|
|
171 |
- total_eval_batch_size: 2
|
172 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
173 |
- lr_scheduler_type: cosine
|
174 |
-
- lr_scheduler_warmup_steps:
|
175 |
- num_epochs: 1
|
176 |
|
177 |
### Training results
|
178 |
|
179 |
| Training Loss | Epoch | Step | Validation Loss |
|
180 |
|:-------------:|:------:|:----:|:---------------:|
|
181 |
-
| 2.
|
182 |
-
| 2.
|
183 |
-
| 2.
|
184 |
-
| 2.
|
185 |
-
| 2.
|
|
|
186 |
|
187 |
|
188 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
base_model: inflatebot/MN-12B-Mag-Mell-R1
|
3 |
library_name: peft
|
|
|
4 |
tags:
|
5 |
- axolotl
|
6 |
- generated_from_trainer
|
7 |
model-index:
|
8 |
+
- name: mn-inf-qlora-mm
|
9 |
results: []
|
10 |
---
|
11 |
|
|
|
19 |
```yaml
|
20 |
# Set up for use on 2x24gb cards
|
21 |
# huggingface-cli login --token $hf_key && wandb login $wandb_key
|
22 |
+
# python -m axolotl.cli.preprocess mn-magmell-patch.yml
|
23 |
+
# accelerate launch -m axolotl.cli.train mn-magmell-patch.yml
|
24 |
+
# python -m axolotl.cli.merge_lora mn-magmell-patch.yml
|
25 |
# huggingface-cli upload ToastyPigeon/ms-type1-adventure-s adventure-workspace/merged . --private
|
26 |
|
27 |
+
|
28 |
+
base_model: inflatebot/MN-12B-Mag-Mell-R1
|
29 |
model_type: AutoModelForCausalLM
|
30 |
tokenizer_type: AutoTokenizer
|
31 |
|
32 |
load_in_8bit: false
|
33 |
load_in_4bit: true
|
34 |
strict: false
|
35 |
+
sequence_len: 16384 # 99% vram
|
36 |
min_sample_len: 128
|
37 |
bf16: true
|
38 |
fp16:
|
|
|
45 |
datasets:
|
46 |
- path: botmall/bodinforg-completions
|
47 |
type: completion
|
48 |
+
warmup_steps: 5
|
49 |
shuffle_merged_datasets: true
|
50 |
|
51 |
save_safetensors: true
|
52 |
|
53 |
+
special_tokens:
|
54 |
+
pad_token: "<pad>"
|
55 |
+
|
56 |
# WandB
|
57 |
wandb_project: Mistral-Nemo-Inflation
|
58 |
wandb_entity:
|
|
|
62 |
|
63 |
# Output
|
64 |
output_dir: ./adventure-workspace
|
65 |
+
hub_model_id: botmall/mn-inf-qlora-mm
|
66 |
hub_strategy: "checkpoint"
|
67 |
|
68 |
# Sampling
|
|
|
83 |
#unsloth_lora_o: true
|
84 |
|
85 |
# Evaluation
|
86 |
+
val_set_size: 20
|
87 |
evals_per_epoch: 5
|
88 |
eval_table_size:
|
89 |
eval_max_new_tokens: 256
|
|
|
141 |
|
142 |
</details><br>
|
143 |
|
144 |
+
# mn-inf-qlora-mm
|
145 |
|
146 |
+
This model is a fine-tuned version of [inflatebot/MN-12B-Mag-Mell-R1](https://huggingface.co/inflatebot/MN-12B-Mag-Mell-R1) on the None dataset.
|
147 |
It achieves the following results on the evaluation set:
|
148 |
+
- Loss: 2.2760
|
149 |
|
150 |
## Model description
|
151 |
|
|
|
174 |
- total_eval_batch_size: 2
|
175 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
176 |
- lr_scheduler_type: cosine
|
177 |
+
- lr_scheduler_warmup_steps: 5
|
178 |
- num_epochs: 1
|
179 |
|
180 |
### Training results
|
181 |
|
182 |
| Training Loss | Epoch | Step | Validation Loss |
|
183 |
|:-------------:|:------:|:----:|:---------------:|
|
184 |
+
| 2.5697 | 0.0119 | 1 | 2.4926 |
|
185 |
+
| 2.2991 | 0.2024 | 17 | 2.3356 |
|
186 |
+
| 2.199 | 0.4048 | 34 | 2.2999 |
|
187 |
+
| 2.3336 | 0.6071 | 51 | 2.2864 |
|
188 |
+
| 2.1637 | 0.8095 | 68 | 2.2795 |
|
189 |
+
| 2.2057 | 1.0119 | 85 | 2.2760 |
|
190 |
|
191 |
|
192 |
### Framework versions
|