mamung commited on
Commit
4f67b5e
·
verified ·
1 Parent(s): 185b9f2

End of training

Browse files
Files changed (2) hide show
  1. README.md +169 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/Yarn-Llama-2-13b-64k
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 6e522444-aae4-456b-9624-effc18a311e7
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<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)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.1`
19
+ ```yaml
20
+ adapter: lora
21
+ base_model: NousResearch/Yarn-Llama-2-13b-64k
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 19b54d4bbbdc6dde_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/19b54d4bbbdc6dde_train_data.json
31
+ type:
32
+ field_input: choices
33
+ field_instruction: question
34
+ field_output: context
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: null
42
+ eval_max_new_tokens: 256
43
+ eval_table_size: null
44
+ evals_per_epoch: 4
45
+ flash_attention: false
46
+ fp16: null
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 32
50
+ gradient_checkpointing: true
51
+ group_by_length: false
52
+ hub_model_id: mamung/6e522444-aae4-456b-9624-effc18a311e7
53
+ hub_repo: null
54
+ hub_strategy: checkpoint
55
+ hub_token: null
56
+ learning_rate: 0.0002
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 3
61
+ lora_alpha: 64
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 32
66
+ lora_target_linear: true
67
+ lora_target_modules:
68
+ - q_proj
69
+ - k_proj
70
+ - v_proj
71
+ - o_proj
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 2
74
+ max_steps: 100
75
+ micro_batch_size: 2
76
+ mlflow_experiment_name: /tmp/19b54d4bbbdc6dde_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 3
79
+ optim_args:
80
+ adam_beta1: 0.9
81
+ adam_beta2: 0.95
82
+ adam_epsilon: 1.0e-05
83
+ optimizer: adamw_torch
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: 2048
91
+ strict: false
92
+ tf32: false
93
+ tokenizer_type: AutoTokenizer
94
+ train_on_inputs: false
95
+ trust_remote_code: true
96
+ val_set_size: 0.05
97
+ wandb_entity: eddysang
98
+ wandb_mode: online
99
+ wandb_name: 521c3ea5-1f47-4694-9e37-1414f5518b0d
100
+ wandb_project: Gradients-On-Demand
101
+ wandb_run: your_name
102
+ wandb_runid: 521c3ea5-1f47-4694-9e37-1414f5518b0d
103
+ warmup_steps: 20
104
+ weight_decay: 0.02
105
+ xformers_attention: false
106
+
107
+ ```
108
+
109
+ </details><br>
110
+
111
+ # 6e522444-aae4-456b-9624-effc18a311e7
112
+
113
+ This model is a fine-tuned version of [NousResearch/Yarn-Llama-2-13b-64k](https://huggingface.co/NousResearch/Yarn-Llama-2-13b-64k) on the None dataset.
114
+ It achieves the following results on the evaluation set:
115
+ - Loss: 0.1278
116
+
117
+ ## Model description
118
+
119
+ More information needed
120
+
121
+ ## Intended uses & limitations
122
+
123
+ More information needed
124
+
125
+ ## Training and evaluation data
126
+
127
+ More information needed
128
+
129
+ ## Training procedure
130
+
131
+ ### Training hyperparameters
132
+
133
+ The following hyperparameters were used during training:
134
+ - learning_rate: 0.0002
135
+ - train_batch_size: 2
136
+ - eval_batch_size: 2
137
+ - seed: 42
138
+ - gradient_accumulation_steps: 32
139
+ - total_train_batch_size: 64
140
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-05
141
+ - lr_scheduler_type: cosine
142
+ - lr_scheduler_warmup_steps: 20
143
+ - training_steps: 100
144
+
145
+ ### Training results
146
+
147
+ | Training Loss | Epoch | Step | Validation Loss |
148
+ |:-------------:|:------:|:----:|:---------------:|
149
+ | No log | 0.0006 | 1 | 1.4611 |
150
+ | 40.5082 | 0.0051 | 9 | 1.1336 |
151
+ | 28.5576 | 0.0102 | 18 | 0.7915 |
152
+ | 16.6132 | 0.0154 | 27 | 0.5091 |
153
+ | 11.1845 | 0.0205 | 36 | 0.3489 |
154
+ | 9.5439 | 0.0256 | 45 | 0.2648 |
155
+ | 6.8594 | 0.0307 | 54 | 0.2119 |
156
+ | 6.1439 | 0.0358 | 63 | 0.1746 |
157
+ | 4.9189 | 0.0409 | 72 | 0.1521 |
158
+ | 3.6729 | 0.0461 | 81 | 0.1378 |
159
+ | 4.3068 | 0.0512 | 90 | 0.1297 |
160
+ | 4.816 | 0.0563 | 99 | 0.1278 |
161
+
162
+
163
+ ### Framework versions
164
+
165
+ - PEFT 0.13.2
166
+ - Transformers 4.46.0
167
+ - Pytorch 2.5.0+cu124
168
+ - Datasets 3.0.1
169
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7f7075992e15f6781675e0ad355955c88b111a474fdfa91f18f451fe673a9d3
3
+ size 500897546