dada22231 commited on
Commit
8adea2e
1 Parent(s): 9771293

End of training

Browse files
Files changed (3) hide show
  1. README.md +174 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 18763924-4b77-44ae-a2c1-8895de43be88
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: auto
23
+ chat_template: llama3
24
+ cosine_min_lr_ratio: 0.1
25
+ data_processes: 16
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - 23474895dfa90a1d_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/23474895dfa90a1d_train_data.json
33
+ type:
34
+ field_input: input
35
+ field_instruction: instruction
36
+ field_output: output
37
+ format: '{instruction} {input}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ device_map: auto
44
+ do_eval: true
45
+ early_stopping_patience: 1
46
+ eval_batch_size: 1
47
+ eval_sample_packing: false
48
+ eval_steps: 25
49
+ evaluation_strategy: steps
50
+ flash_attention: false
51
+ fp16: null
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 32
55
+ gradient_checkpointing: true
56
+ group_by_length: true
57
+ hub_model_id: dada22231/18763924-4b77-44ae-a2c1-8895de43be88
58
+ hub_strategy: checkpoint
59
+ hub_token: null
60
+ hub_username: dada22231
61
+ learning_rate: 0.0001
62
+ load_in_4bit: false
63
+ load_in_8bit: false
64
+ local_rank: null
65
+ logging_steps: 1
66
+ lora_alpha: 64
67
+ lora_dropout: 0.05
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 32
71
+ lora_target_linear: true
72
+ lora_target_modules:
73
+ - q_proj
74
+ - v_proj
75
+ lr_scheduler: cosine
76
+ max_grad_norm: 1.0
77
+ max_memory:
78
+ 0: 70GiB
79
+ 1: 70GiB
80
+ 2: 70GiB
81
+ 3: 70GiB
82
+ max_steps: 95
83
+ micro_batch_size: 1
84
+ mlflow_experiment_name: /tmp/23474895dfa90a1d_train_data.json
85
+ model_type: AutoModelForCausalLM
86
+ num_epochs: 3
87
+ optim_args:
88
+ adam_beta1: 0.9
89
+ adam_beta2: 0.95
90
+ adam_epsilon: 1e-5
91
+ optimizer: adamw_torch
92
+ output_dir: miner_id_24
93
+ pad_to_sequence_len: true
94
+ repository_id: dada22231/18763924-4b77-44ae-a2c1-8895de43be88
95
+ resume_from_checkpoint: null
96
+ s2_attention: null
97
+ sample_packing: false
98
+ save_steps: 25
99
+ save_strategy: steps
100
+ sequence_len: 2048
101
+ strict: false
102
+ tf32: false
103
+ tokenizer_type: AutoTokenizer
104
+ torch_compile: false
105
+ train_on_inputs: false
106
+ trust_remote_code: true
107
+ val_set_size: 50
108
+ wandb_entity: null
109
+ wandb_mode: online
110
+ wandb_name: 18763924-4b77-44ae-a2c1-8895de43be88
111
+ wandb_project: Public_TuningSN
112
+ wandb_runid: 18763924-4b77-44ae-a2c1-8895de43be88
113
+ warmup_ratio: 0.04
114
+ weight_decay: 0.01
115
+ xformers_attention: null
116
+
117
+ ```
118
+
119
+ </details><br>
120
+
121
+ # 18763924-4b77-44ae-a2c1-8895de43be88
122
+
123
+ 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.
124
+ It achieves the following results on the evaluation set:
125
+ - Loss: 0.6238
126
+
127
+ ## Model description
128
+
129
+ More information needed
130
+
131
+ ## Intended uses & limitations
132
+
133
+ More information needed
134
+
135
+ ## Training and evaluation data
136
+
137
+ More information needed
138
+
139
+ ## Training procedure
140
+
141
+ ### Training hyperparameters
142
+
143
+ The following hyperparameters were used during training:
144
+ - learning_rate: 0.0001
145
+ - train_batch_size: 1
146
+ - eval_batch_size: 1
147
+ - seed: 42
148
+ - distributed_type: multi-GPU
149
+ - num_devices: 4
150
+ - gradient_accumulation_steps: 32
151
+ - total_train_batch_size: 128
152
+ - total_eval_batch_size: 4
153
+ - 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-5
154
+ - lr_scheduler_type: cosine
155
+ - lr_scheduler_warmup_steps: 3
156
+ - training_steps: 95
157
+
158
+ ### Training results
159
+
160
+ | Training Loss | Epoch | Step | Validation Loss |
161
+ |:-------------:|:------:|:----:|:---------------:|
162
+ | 43.7265 | 0.0013 | 1 | 1.7054 |
163
+ | 35.105 | 0.0324 | 25 | 0.7101 |
164
+ | 35.8908 | 0.0648 | 50 | 0.6524 |
165
+ | 34.7624 | 0.0973 | 75 | 0.6238 |
166
+
167
+
168
+ ### Framework versions
169
+
170
+ - PEFT 0.13.2
171
+ - Transformers 4.46.0
172
+ - Pytorch 2.5.0+cu124
173
+ - Datasets 3.0.1
174
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc27d71425ac449644a84c8cf9d5fb6d762d45d16d2c79d0d5234896ed7f6970
3
+ size 319977674
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4535495114a6129065de48e93703b0614f1b2313336bf6758ce9fde9582a17b6
3
  size 319876032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9624e9a151663ac191cc4fa232c61bd9caaa5f68fc967bf4426ca5df8971d9b9
3
  size 319876032