Alphatao commited on
Commit
eae1ac4
·
verified ·
1 Parent(s): d0ccb73

End of training

Browse files
Files changed (3) hide show
  1. README.md +162 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/Yarn-Llama-2-7b-64k
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: b58f49fc-bc1d-4d36-b2dc-bd997c6cbee2
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-7b-64k
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - d54dc1cfdfa3d8ad_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/d54dc1cfdfa3d8ad_train_data.json
31
+ type:
32
+ field_input: import_statement
33
+ field_instruction: all_code
34
+ field_output: next_line
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ device_map:
41
+ ? ''
42
+ : 0,1,2,3,4,5,6,7
43
+ early_stopping_patience: 2
44
+ eval_max_new_tokens: 128
45
+ eval_steps: 400
46
+ eval_table_size: null
47
+ flash_attention: false
48
+ gradient_accumulation_steps: 4
49
+ gradient_checkpointing: true
50
+ group_by_length: false
51
+ hub_model_id: Alphatao/b58f49fc-bc1d-4d36-b2dc-bd997c6cbee2
52
+ hub_repo: null
53
+ hub_strategy: null
54
+ hub_token: null
55
+ learning_rate: 0.0002
56
+ load_best_model_at_end: true
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 1
61
+ lora_alpha: 32
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 16
66
+ lora_target_linear: true
67
+ lora_target_modules:
68
+ - q_proj
69
+ - k_proj
70
+ - v_proj
71
+ - o_proj
72
+ - down_proj
73
+ - up_proj
74
+ lr_scheduler: cosine
75
+ max_grad_norm: 1.0
76
+ max_steps: 2485
77
+ micro_batch_size: 2
78
+ mlflow_experiment_name: /tmp/d54dc1cfdfa3d8ad_train_data.json
79
+ model_type: AutoModelForCausalLM
80
+ num_epochs: 2
81
+ optimizer: adamw_bnb_8bit
82
+ output_dir: miner_id_24
83
+ pad_to_sequence_len: true
84
+ resume_from_checkpoint: null
85
+ s2_attention: null
86
+ sample_packing: false
87
+ save_steps: 400
88
+ sequence_len: 2048
89
+ strict: false
90
+ tf32: true
91
+ tokenizer_type: AutoTokenizer
92
+ train_on_inputs: false
93
+ trust_remote_code: true
94
+ val_set_size: 0.05
95
+ wandb_entity: null
96
+ wandb_mode: online
97
+ wandb_name: db5c91e4-6eec-4a7b-8ce2-82b729d2ea5c
98
+ wandb_project: Gradients-On-Demand
99
+ wandb_run: your_name
100
+ wandb_runid: db5c91e4-6eec-4a7b-8ce2-82b729d2ea5c
101
+ warmup_steps: 10
102
+ weight_decay: 0.0
103
+ xformers_attention: null
104
+
105
+ ```
106
+
107
+ </details><br>
108
+
109
+ # b58f49fc-bc1d-4d36-b2dc-bd997c6cbee2
110
+
111
+ This model is a fine-tuned version of [NousResearch/Yarn-Llama-2-7b-64k](https://huggingface.co/NousResearch/Yarn-Llama-2-7b-64k) on the None dataset.
112
+ It achieves the following results on the evaluation set:
113
+ - Loss: 1.0706
114
+
115
+ ## Model description
116
+
117
+ More information needed
118
+
119
+ ## Intended uses & limitations
120
+
121
+ More information needed
122
+
123
+ ## Training and evaluation data
124
+
125
+ More information needed
126
+
127
+ ## Training procedure
128
+
129
+ ### Training hyperparameters
130
+
131
+ The following hyperparameters were used during training:
132
+ - learning_rate: 0.0002
133
+ - train_batch_size: 2
134
+ - eval_batch_size: 2
135
+ - seed: 42
136
+ - gradient_accumulation_steps: 4
137
+ - total_train_batch_size: 8
138
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
139
+ - lr_scheduler_type: cosine
140
+ - lr_scheduler_warmup_steps: 10
141
+ - training_steps: 2485
142
+
143
+ ### Training results
144
+
145
+ | Training Loss | Epoch | Step | Validation Loss |
146
+ |:-------------:|:------:|:----:|:---------------:|
147
+ | 14.4338 | 0.0004 | 1 | 3.4618 |
148
+ | 4.873 | 0.1500 | 400 | 1.2406 |
149
+ | 3.5672 | 0.2999 | 800 | 1.1978 |
150
+ | 6.6826 | 0.4499 | 1200 | 1.1439 |
151
+ | 3.9832 | 0.5999 | 1600 | 1.1046 |
152
+ | 5.5897 | 0.7498 | 2000 | 1.0786 |
153
+ | 3.3909 | 0.8998 | 2400 | 1.0706 |
154
+
155
+
156
+ ### Framework versions
157
+
158
+ - PEFT 0.13.2
159
+ - Transformers 4.46.0
160
+ - Pytorch 2.5.0+cu124
161
+ - Datasets 3.0.1
162
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9914b2c2f693f38baa7da43e8c1f0ec8b1cdf7528c610084285834ee943770a
3
+ size 160069834
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c496fb532a83e931edb7676bc9e401b0fae84675828ab0e20cac03a7cdc6e66a
3
  size 159967880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c896d9bacff96cb14c5ed32adda92e46ff7dc61c4a9de2e90aa9aeaaf91412f5
3
  size 159967880