Upload ./README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: gemma
|
3 |
+
base_model: google/gemma-2-9b
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: magnum-v3-9b-customgemma2
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
### exl2 quant (measurement.json in main branch)
|
11 |
+
---
|
12 |
+
### check revisions for quants
|
13 |
+
---
|
14 |
+
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
[<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)
|
20 |
+
<details><summary>See axolotl config</summary>
|
21 |
+
|
22 |
+
axolotl version: `0.4.1`
|
23 |
+
```yaml
|
24 |
+
base_model: google/gemma-2-9b
|
25 |
+
model_type: AutoModelForCausalLM
|
26 |
+
tokenizer_type: AutoTokenizer
|
27 |
+
|
28 |
+
#trust_remote_code: true
|
29 |
+
|
30 |
+
load_in_8bit: false
|
31 |
+
load_in_4bit: false
|
32 |
+
strict: false
|
33 |
+
|
34 |
+
datasets:
|
35 |
+
- path: anthracite-org/stheno-filtered-v1.1
|
36 |
+
type: customgemma2
|
37 |
+
- path: anthracite-org/kalo-opus-instruct-22k-no-refusal
|
38 |
+
type: customgemma2
|
39 |
+
- path: anthracite-org/nopm_claude_writing_fixed
|
40 |
+
type: customgemma2
|
41 |
+
- path: Epiculous/Synthstruct-Gens-v1.1-Filtered-n-Cleaned
|
42 |
+
type: customgemma2
|
43 |
+
- path: Epiculous/SynthRP-Gens-v1.1-Filtered-n-Cleaned
|
44 |
+
type: customgemma2
|
45 |
+
shuffle_merged_datasets: true
|
46 |
+
default_system_message: "You are an assistant that responds to the user."
|
47 |
+
dataset_prepared_path: magnum-v3-9b-data-customgemma2
|
48 |
+
val_set_size: 0.0
|
49 |
+
output_dir: ./magnum-v3-9b-customgemma2
|
50 |
+
|
51 |
+
sequence_len: 8192
|
52 |
+
sample_packing: true
|
53 |
+
eval_sample_packing: false
|
54 |
+
pad_to_sequence_len:
|
55 |
+
|
56 |
+
adapter:
|
57 |
+
lora_model_dir:
|
58 |
+
lora_r:
|
59 |
+
lora_alpha:
|
60 |
+
lora_dropout:
|
61 |
+
lora_target_linear:
|
62 |
+
lora_fan_in_fan_out:
|
63 |
+
|
64 |
+
wandb_project: magnum-9b
|
65 |
+
wandb_entity:
|
66 |
+
wandb_watch:
|
67 |
+
wandb_name: attempt-03-customgemma2
|
68 |
+
wandb_log_model:
|
69 |
+
|
70 |
+
gradient_accumulation_steps: 8
|
71 |
+
micro_batch_size: 1
|
72 |
+
num_epochs: 2
|
73 |
+
optimizer: paged_adamw_8bit
|
74 |
+
lr_scheduler: cosine
|
75 |
+
learning_rate: 0.000006
|
76 |
+
|
77 |
+
train_on_inputs: false
|
78 |
+
group_by_length: false
|
79 |
+
bf16: auto
|
80 |
+
fp16:
|
81 |
+
tf32: false
|
82 |
+
|
83 |
+
gradient_checkpointing: unsloth
|
84 |
+
early_stopping_patience:
|
85 |
+
resume_from_checkpoint:
|
86 |
+
local_rank:
|
87 |
+
logging_steps: 1
|
88 |
+
xformers_attention:
|
89 |
+
flash_attention: false
|
90 |
+
eager_attention: true
|
91 |
+
|
92 |
+
warmup_steps: 50
|
93 |
+
evals_per_epoch:
|
94 |
+
eval_table_size:
|
95 |
+
eval_max_new_tokens:
|
96 |
+
saves_per_epoch: 2
|
97 |
+
debug:
|
98 |
+
deepspeed: deepspeed_configs/zero3_bf16.json
|
99 |
+
weight_decay: 0.05
|
100 |
+
fsdp:
|
101 |
+
fsdp_config:
|
102 |
+
special_tokens:
|
103 |
+
```
|
104 |
+
|
105 |
+
</details><br>
|
106 |
+
|
107 |
+
# magnum-v3-9b-customgemma2
|
108 |
+
|
109 |
+
This model is a fine-tuned version of [google/gemma-2-9b](https://huggingface.co/google/gemma-2-9b) on the None dataset.
|
110 |
+
|
111 |
+
## Model description
|
112 |
+
|
113 |
+
More information needed
|
114 |
+
|
115 |
+
## Intended uses & limitations
|
116 |
+
|
117 |
+
More information needed
|
118 |
+
|
119 |
+
## Training and evaluation data
|
120 |
+
|
121 |
+
More information needed
|
122 |
+
|
123 |
+
## Training procedure
|
124 |
+
|
125 |
+
### Training hyperparameters
|
126 |
+
|
127 |
+
The following hyperparameters were used during training:
|
128 |
+
- learning_rate: 6e-06
|
129 |
+
- train_batch_size: 1
|
130 |
+
- eval_batch_size: 1
|
131 |
+
- seed: 42
|
132 |
+
- distributed_type: multi-GPU
|
133 |
+
- num_devices: 8
|
134 |
+
- gradient_accumulation_steps: 8
|
135 |
+
- total_train_batch_size: 64
|
136 |
+
- total_eval_batch_size: 8
|
137 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
138 |
+
- lr_scheduler_type: cosine
|
139 |
+
- lr_scheduler_warmup_steps: 50
|
140 |
+
- num_epochs: 2
|
141 |
+
|
142 |
+
### Training results
|
143 |
+
|
144 |
+
|
145 |
+
|
146 |
+
### Framework versions
|
147 |
+
|
148 |
+
- Transformers 4.44.0
|
149 |
+
- Pytorch 2.4.0+cu121
|
150 |
+
- Datasets 2.20.0
|
151 |
+
- Tokenizers 0.19.1
|