error577 commited on
Commit
28cd9d3
·
verified ·
1 Parent(s): 868db76

End of training

Browse files
Files changed (3) hide show
  1. README.md +160 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: f8c0b1ac-e22f-453b-a9de-55b1d061ecf5
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: qlora
21
+ auto_resume_from_checkpoints: true
22
+ base_model: NousResearch/Yarn-Llama-2-13b-64k
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataloader_num_workers: 12
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - 4a23fa968cd83e6d_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/4a23fa968cd83e6d_train_data.json
33
+ type:
34
+ field_input: context
35
+ field_instruction: instruction
36
+ field_output: response
37
+ format: '{instruction} {input}'
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: 100
46
+ eval_table_size: null
47
+ evals_per_epoch: null
48
+ flash_attention: false
49
+ fp16: false
50
+ fsdp: null
51
+ fsdp_config: null
52
+ gradient_accumulation_steps: 4
53
+ gradient_checkpointing: true
54
+ group_by_length: true
55
+ hub_model_id: error577/f8c0b1ac-e22f-453b-a9de-55b1d061ecf5
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: 10
64
+ lora_alpha: 128
65
+ lora_dropout: 0.05
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: 1
74
+ mlflow_experiment_name: /tmp/4a23fa968cd83e6d_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: 100
84
+ sequence_len: 256
85
+ strict: false
86
+ tf32: false
87
+ tokenizer_type: AutoTokenizer
88
+ train_on_inputs: false
89
+ trust_remote_code: true
90
+ val_set_size: 0.005
91
+ wandb_entity: null
92
+ wandb_mode: online
93
+ wandb_name: b0f51ff1-f5b7-4063-a58c-292276a1df84
94
+ wandb_project: Gradients-On-Demand
95
+ wandb_run: your_name
96
+ wandb_runid: b0f51ff1-f5b7-4063-a58c-292276a1df84
97
+ warmup_steps: 30
98
+ weight_decay: 0.0
99
+ xformers_attention: null
100
+
101
+ ```
102
+
103
+ </details><br>
104
+
105
+ # f8c0b1ac-e22f-453b-a9de-55b1d061ecf5
106
+
107
+ 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.
108
+ It achieves the following results on the evaluation set:
109
+ - Loss: 1.1454
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: 0.0002
129
+ - train_batch_size: 1
130
+ - eval_batch_size: 1
131
+ - seed: 42
132
+ - gradient_accumulation_steps: 4
133
+ - total_train_batch_size: 4
134
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_4BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
135
+ - lr_scheduler_type: cosine
136
+ - lr_scheduler_warmup_steps: 30
137
+ - num_epochs: 3
138
+
139
+ ### Training results
140
+
141
+ | Training Loss | Epoch | Step | Validation Loss |
142
+ |:-------------:|:------:|:----:|:---------------:|
143
+ | No log | 0.0001 | 1 | 1.3424 |
144
+ | 5.4045 | 0.0139 | 100 | 1.1391 |
145
+ | 6.0195 | 0.0277 | 200 | 1.1402 |
146
+ | 5.4938 | 0.0416 | 300 | 1.1124 |
147
+ | 5.5688 | 0.0554 | 400 | 1.1158 |
148
+ | 4.9104 | 0.0693 | 500 | 1.1073 |
149
+ | 5.9828 | 0.0831 | 600 | 1.1404 |
150
+ | 4.3952 | 0.0970 | 700 | 1.1078 |
151
+ | 5.7456 | 0.1108 | 800 | 1.1454 |
152
+
153
+
154
+ ### Framework versions
155
+
156
+ - PEFT 0.13.2
157
+ - Transformers 4.46.0
158
+ - Pytorch 2.5.0+cu124
159
+ - Datasets 3.0.1
160
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d68e9dd8b9ee32d17f0061dee513081ee1f4d3b57ffef08c188c66cca4adc2de
3
+ size 500897546
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eab27a442053707a3f6362261bb0b2ba1c21906fd347ae9e38c2846aad860c09
3
  size 500770656
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff2ef0746d7375caab2014145060ec94a9a292ba1c96cc21476c289e4731ccd9
3
  size 500770656