error577 commited on
Commit
940de97
·
verified ·
1 Parent(s): 74ad524

End of training

Browse files
Files changed (3) hide show
  1. README.md +171 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: huggyllama/llama-7b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: d3f85da4-8048-47c8-ad48-5fbd9a8a70fc
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: qlora
22
+ auto_resume_from_checkpoints: true
23
+ base_model: huggyllama/llama-7b
24
+ bf16: auto
25
+ chat_template: llama3
26
+ dataset_prepared_path: null
27
+ dataset_processes: 6
28
+ datasets:
29
+ - data_files:
30
+ - 2def6f0bc8094c63_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ path: /workspace/input_data/2def6f0bc8094c63_train_data.json
34
+ type:
35
+ field_instruction: instruction
36
+ field_output: output
37
+ format: '{instruction}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ early_stopping_patience: 3
44
+ eval_max_new_tokens: 128
45
+ eval_steps: 200
46
+ eval_table_size: null
47
+ evals_per_epoch: null
48
+ flash_attention: true
49
+ fp16: false
50
+ fsdp: null
51
+ fsdp_config: null
52
+ gradient_accumulation_steps: 4
53
+ gradient_checkpointing: true
54
+ group_by_length: false
55
+ hub_model_id: error577/d3f85da4-8048-47c8-ad48-5fbd9a8a70fc
56
+ hub_repo: null
57
+ hub_strategy: checkpoint
58
+ hub_token: null
59
+ learning_rate: 0.0002
60
+ load_in_4bit: true
61
+ load_in_8bit: false
62
+ local_rank: null
63
+ logging_steps: 1
64
+ lora_alpha: 64
65
+ lora_dropout: 0.1
66
+ lora_fan_in_fan_out: null
67
+ lora_model_dir: null
68
+ lora_r: 32
69
+ lora_target_linear: true
70
+ lr_scheduler: cosine
71
+ max_grad_norm: 1.0
72
+ max_steps: null
73
+ micro_batch_size: 2
74
+ mlflow_experiment_name: /tmp/2def6f0bc8094c63_train_data.json
75
+ model_type: AutoModelForCausalLM
76
+ num_epochs: 3
77
+ optimizer: adamw_torch_4bit
78
+ output_dir: miner_id_24
79
+ pad_to_sequence_len: true
80
+ resume_from_checkpoint: null
81
+ s2_attention: null
82
+ sample_packing: false
83
+ save_steps: 200
84
+ sequence_len: 512
85
+ special_tokens:
86
+ pad_token: </s>
87
+ strict: false
88
+ tf32: false
89
+ tokenizer_type: AutoTokenizer
90
+ train_on_inputs: false
91
+ trust_remote_code: true
92
+ val_set_size: 0.005
93
+ wandb_entity: null
94
+ wandb_mode: online
95
+ wandb_name: 776f445d-12cf-45fd-afe3-789f62d99645
96
+ wandb_project: Gradients-On-Demand
97
+ wandb_run: your_name
98
+ wandb_runid: 776f445d-12cf-45fd-afe3-789f62d99645
99
+ warmup_steps: 30
100
+ weight_decay: 0.0
101
+ xformers_attention: null
102
+
103
+ ```
104
+
105
+ </details><br>
106
+
107
+ # d3f85da4-8048-47c8-ad48-5fbd9a8a70fc
108
+
109
+ This model is a fine-tuned version of [huggyllama/llama-7b](https://huggingface.co/huggyllama/llama-7b) on the None dataset.
110
+ It achieves the following results on the evaluation set:
111
+ - Loss: 0.3508
112
+
113
+ ## Model description
114
+
115
+ More information needed
116
+
117
+ ## Intended uses & limitations
118
+
119
+ More information needed
120
+
121
+ ## Training and evaluation data
122
+
123
+ More information needed
124
+
125
+ ## Training procedure
126
+
127
+ ### Training hyperparameters
128
+
129
+ The following hyperparameters were used during training:
130
+ - learning_rate: 0.0002
131
+ - train_batch_size: 2
132
+ - eval_batch_size: 2
133
+ - seed: 42
134
+ - gradient_accumulation_steps: 4
135
+ - total_train_batch_size: 8
136
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_4BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
137
+ - lr_scheduler_type: cosine
138
+ - lr_scheduler_warmup_steps: 30
139
+ - num_epochs: 3
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | 0.7775 | 0.0001 | 1 | 0.8330 |
146
+ | 0.5424 | 0.0156 | 200 | 0.4220 |
147
+ | 0.612 | 0.0312 | 400 | 0.4068 |
148
+ | 0.3191 | 0.0467 | 600 | 0.4012 |
149
+ | 0.5935 | 0.0623 | 800 | 0.3815 |
150
+ | 0.4242 | 0.0779 | 1000 | 0.3739 |
151
+ | 0.4253 | 0.0935 | 1200 | 0.3748 |
152
+ | 0.4555 | 0.1091 | 1400 | 0.3690 |
153
+ | 0.2908 | 0.1247 | 1600 | 0.3673 |
154
+ | 0.3271 | 0.1402 | 1800 | 0.3647 |
155
+ | 0.3553 | 0.1558 | 2000 | 0.3655 |
156
+ | 0.274 | 0.1714 | 2200 | 0.3612 |
157
+ | 0.3973 | 0.1870 | 2400 | 0.3605 |
158
+ | 0.2867 | 0.2026 | 2600 | 0.3523 |
159
+ | 0.2378 | 0.2181 | 2800 | 0.3508 |
160
+ | 0.5015 | 0.2337 | 3000 | 0.3513 |
161
+ | 0.4597 | 0.2493 | 3200 | 0.3510 |
162
+ | 0.3814 | 0.2649 | 3400 | 0.3508 |
163
+
164
+
165
+ ### Framework versions
166
+
167
+ - PEFT 0.13.2
168
+ - Transformers 4.46.0
169
+ - Pytorch 2.5.0+cu124
170
+ - Datasets 3.0.1
171
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b80348c65cdf3dee6461eeeea5d823334c0fc8d47c4d2194a9fb5aa4975c7b7
3
+ size 319977674
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:611da9169e2fcbc35717df9b7b4777d9f26d62cbab3cc2de779aed5eb11c413a
3
  size 319876032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fd340f958970d5bc8f310e318a6c31193fc5729bb31f1855ee219d1f1b057cd
3
  size 319876032