End of training
Browse files- README.md +163 -0
- adapter_config.json +4 -4
- adapter_model.bin +3 -0
- adapter_model.safetensors +1 -1
- training_args.bin +1 -1
README.md
ADDED
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: unsloth/gemma-1.1-2b-it
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: 8572f0a9-f846-409b-a9ea-566f2cd90ca2
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
[<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)
|
17 |
+
<details><summary>See axolotl config</summary>
|
18 |
+
|
19 |
+
axolotl version: `0.4.1`
|
20 |
+
```yaml
|
21 |
+
adapter: lora
|
22 |
+
base_model: unsloth/gemma-1.1-2b-it
|
23 |
+
bf16: false
|
24 |
+
chat_template: llama3
|
25 |
+
dataset_prepared_path: null
|
26 |
+
datasets:
|
27 |
+
- data_files:
|
28 |
+
- e8a377b203ce3885_train_data.json
|
29 |
+
ds_type: json
|
30 |
+
format: custom
|
31 |
+
path: /workspace/input_data/e8a377b203ce3885_train_data.json
|
32 |
+
type:
|
33 |
+
field_instruction: post
|
34 |
+
field_output: implicit_class
|
35 |
+
format: '{instruction}'
|
36 |
+
no_input_format: '{instruction}'
|
37 |
+
system_format: '{system}'
|
38 |
+
system_prompt: ''
|
39 |
+
debug: null
|
40 |
+
deepspeed: null
|
41 |
+
devices:
|
42 |
+
- 0
|
43 |
+
- 1
|
44 |
+
- 2
|
45 |
+
- 3
|
46 |
+
- 4
|
47 |
+
- 5
|
48 |
+
- 6
|
49 |
+
- 7
|
50 |
+
early_stopping_patience: null
|
51 |
+
eval_max_new_tokens: 128
|
52 |
+
eval_table_size: null
|
53 |
+
evals_per_epoch: 4
|
54 |
+
flash_attention: true
|
55 |
+
fp16: true
|
56 |
+
fsdp: null
|
57 |
+
fsdp_config: null
|
58 |
+
gradient_accumulation_steps: 4
|
59 |
+
gradient_checkpointing: false
|
60 |
+
group_by_length: false
|
61 |
+
hub_model_id: jssky/8572f0a9-f846-409b-a9ea-566f2cd90ca2
|
62 |
+
hub_repo: null
|
63 |
+
hub_strategy: checkpoint
|
64 |
+
hub_token: null
|
65 |
+
learning_rate: 0.0002
|
66 |
+
load_in_4bit: false
|
67 |
+
load_in_8bit: false
|
68 |
+
local_rank: null
|
69 |
+
logging_steps: 1
|
70 |
+
lora_alpha: 32
|
71 |
+
lora_dropout: 0.05
|
72 |
+
lora_fan_in_fan_out: null
|
73 |
+
lora_model_dir: null
|
74 |
+
lora_r: 16
|
75 |
+
lora_target_linear: true
|
76 |
+
lr_scheduler: cosine
|
77 |
+
max_steps: 10
|
78 |
+
micro_batch_size: 1
|
79 |
+
mlflow_experiment_name: /tmp/e8a377b203ce3885_train_data.json
|
80 |
+
model_type: AutoModelForCausalLM
|
81 |
+
num_epochs: 1
|
82 |
+
num_gpus: 8
|
83 |
+
optimizer: adamw_bnb_8bit
|
84 |
+
output_dir: miner_id_24
|
85 |
+
pad_to_sequence_len: true
|
86 |
+
resume_from_checkpoint: null
|
87 |
+
s2_attention: null
|
88 |
+
sample_packing: false
|
89 |
+
saves_per_epoch: 4
|
90 |
+
sequence_len: 4056
|
91 |
+
strict: false
|
92 |
+
tf32: false
|
93 |
+
tokenizer_type: AutoTokenizer
|
94 |
+
train_batch_size: 32
|
95 |
+
train_on_inputs: false
|
96 |
+
trust_remote_code: true
|
97 |
+
val_set_size: 0.05
|
98 |
+
wandb_entity: null
|
99 |
+
wandb_mode: online
|
100 |
+
wandb_name: 8572f0a9-f846-409b-a9ea-566f2cd90ca2
|
101 |
+
wandb_project: Gradients-On-Demand
|
102 |
+
wandb_run: your_name
|
103 |
+
wandb_runid: 8572f0a9-f846-409b-a9ea-566f2cd90ca2
|
104 |
+
warmup_steps: 10
|
105 |
+
weight_decay: 0.0
|
106 |
+
xformers_attention: null
|
107 |
+
|
108 |
+
```
|
109 |
+
|
110 |
+
</details><br>
|
111 |
+
|
112 |
+
# 8572f0a9-f846-409b-a9ea-566f2cd90ca2
|
113 |
+
|
114 |
+
This model is a fine-tuned version of [unsloth/gemma-1.1-2b-it](https://huggingface.co/unsloth/gemma-1.1-2b-it) on the None dataset.
|
115 |
+
It achieves the following results on the evaluation set:
|
116 |
+
- Loss: 6.3890
|
117 |
+
|
118 |
+
## Model description
|
119 |
+
|
120 |
+
More information needed
|
121 |
+
|
122 |
+
## Intended uses & limitations
|
123 |
+
|
124 |
+
More information needed
|
125 |
+
|
126 |
+
## Training and evaluation data
|
127 |
+
|
128 |
+
More information needed
|
129 |
+
|
130 |
+
## Training procedure
|
131 |
+
|
132 |
+
### Training hyperparameters
|
133 |
+
|
134 |
+
The following hyperparameters were used during training:
|
135 |
+
- learning_rate: 0.0002
|
136 |
+
- train_batch_size: 1
|
137 |
+
- eval_batch_size: 1
|
138 |
+
- seed: 42
|
139 |
+
- gradient_accumulation_steps: 4
|
140 |
+
- total_train_batch_size: 4
|
141 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
142 |
+
- lr_scheduler_type: cosine
|
143 |
+
- lr_scheduler_warmup_steps: 10
|
144 |
+
- training_steps: 10
|
145 |
+
- mixed_precision_training: Native AMP
|
146 |
+
|
147 |
+
### Training results
|
148 |
+
|
149 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
150 |
+
|:-------------:|:------:|:----:|:---------------:|
|
151 |
+
| 15.4792 | 0.0007 | 1 | 12.3048 |
|
152 |
+
| 11.3833 | 0.0022 | 3 | 12.0512 |
|
153 |
+
| 7.3908 | 0.0044 | 6 | 9.4415 |
|
154 |
+
| 6.6914 | 0.0066 | 9 | 6.3890 |
|
155 |
+
|
156 |
+
|
157 |
+
### Framework versions
|
158 |
+
|
159 |
+
- PEFT 0.13.2
|
160 |
+
- Transformers 4.46.0
|
161 |
+
- Pytorch 2.5.0+cu124
|
162 |
+
- Datasets 3.0.1
|
163 |
+
- Tokenizers 0.20.1
|
adapter_config.json
CHANGED
@@ -20,12 +20,12 @@
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
-
"k_proj",
|
24 |
-
"down_proj",
|
25 |
-
"v_proj",
|
26 |
"up_proj",
|
27 |
-
"gate_proj",
|
28 |
"q_proj",
|
|
|
|
|
|
|
|
|
29 |
"o_proj"
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
|
|
|
|
|
|
23 |
"up_proj",
|
|
|
24 |
"q_proj",
|
25 |
+
"v_proj",
|
26 |
+
"k_proj",
|
27 |
+
"gate_proj",
|
28 |
+
"down_proj",
|
29 |
"o_proj"
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9051410511f5979d2db9aaa71ea6696cb1036804d0c3cd055fe5c247b2cd4625
|
3 |
+
size 78537274
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 78480072
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb1c264f6196955ec5d50aceba9f69ebb491f5f59d3179389aba510cf2502268
|
3 |
size 78480072
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 6712
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:722f3b82bb852127c4404471dd8bb057b70f4e0cb5a02b713538b276ca5a19c9
|
3 |
size 6712
|