nttx commited on
Commit
ebbfd42
1 Parent(s): 9224db2

End of training

Browse files
Files changed (2) hide show
  1. README.md +155 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 70e4516c-ac0a-4f0c-b3ec-3d06f534753f
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
+ - 5673ad2a5e5a5e43_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/5673ad2a5e5a5e43_train_data.json
31
+ type:
32
+ field_input: original_sentence
33
+ field_instruction: error_corr_pair
34
+ field_output: corrected_sentence
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ device_map: auto
42
+ early_stopping_patience: 1
43
+ eval_max_new_tokens: 128
44
+ eval_steps: 25
45
+ eval_table_size: null
46
+ evals_per_epoch: null
47
+ flash_attention: false
48
+ fp16: false
49
+ fsdp: null
50
+ fsdp_config: null
51
+ gradient_accumulation_steps: 4
52
+ gradient_checkpointing: true
53
+ group_by_length: false
54
+ hub_model_id: nttx/70e4516c-ac0a-4f0c-b3ec-3d06f534753f
55
+ hub_repo: null
56
+ hub_strategy: checkpoint
57
+ hub_token: null
58
+ learning_rate: 0.0001
59
+ load_in_4bit: false
60
+ load_in_8bit: false
61
+ local_rank: null
62
+ logging_steps: 1
63
+ lora_alpha: 128
64
+ lora_dropout: 0.05
65
+ lora_fan_in_fan_out: null
66
+ lora_model_dir: null
67
+ lora_r: 64
68
+ lora_target_linear: true
69
+ lr_scheduler: cosine
70
+ max_memory:
71
+ 0: 70GB
72
+ max_steps: 50
73
+ micro_batch_size: 8
74
+ mlflow_experiment_name: /tmp/5673ad2a5e5a5e43_train_data.json
75
+ model_type: AutoModelForCausalLM
76
+ num_epochs: 3
77
+ optimizer: adamw_torch
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: 25
84
+ saves_per_epoch: null
85
+ sequence_len: 1024
86
+ strict: false
87
+ tf32: false
88
+ tokenizer_type: AutoTokenizer
89
+ train_on_inputs: false
90
+ trust_remote_code: true
91
+ val_set_size: 0.05
92
+ wandb_entity: null
93
+ wandb_mode: online
94
+ wandb_name: 70e4516c-ac0a-4f0c-b3ec-3d06f534753f
95
+ wandb_project: Gradients-On-Demand
96
+ wandb_run: your_name
97
+ wandb_runid: 70e4516c-ac0a-4f0c-b3ec-3d06f534753f
98
+ warmup_steps: 20
99
+ weight_decay: 0.0
100
+ xformers_attention: null
101
+
102
+ ```
103
+
104
+ </details><br>
105
+
106
+ # 70e4516c-ac0a-4f0c-b3ec-3d06f534753f
107
+
108
+ 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.
109
+ It achieves the following results on the evaluation set:
110
+ - Loss: 0.0084
111
+
112
+ ## Model description
113
+
114
+ More information needed
115
+
116
+ ## Intended uses & limitations
117
+
118
+ More information needed
119
+
120
+ ## Training and evaluation data
121
+
122
+ More information needed
123
+
124
+ ## Training procedure
125
+
126
+ ### Training hyperparameters
127
+
128
+ The following hyperparameters were used during training:
129
+ - learning_rate: 0.0001
130
+ - train_batch_size: 8
131
+ - eval_batch_size: 8
132
+ - seed: 42
133
+ - gradient_accumulation_steps: 4
134
+ - total_train_batch_size: 32
135
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
136
+ - lr_scheduler_type: cosine
137
+ - lr_scheduler_warmup_steps: 20
138
+ - training_steps: 50
139
+
140
+ ### Training results
141
+
142
+ | Training Loss | Epoch | Step | Validation Loss |
143
+ |:-------------:|:------:|:----:|:---------------:|
144
+ | 2.1548 | 0.0073 | 1 | 0.6558 |
145
+ | 0.1183 | 0.1818 | 25 | 0.0149 |
146
+ | 0.0447 | 0.3636 | 50 | 0.0084 |
147
+
148
+
149
+ ### Framework versions
150
+
151
+ - PEFT 0.13.2
152
+ - Transformers 4.46.0
153
+ - Pytorch 2.5.0+cu124
154
+ - Datasets 3.0.1
155
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40c610484501c10b9f205bfefd1c9f7ac0fb6eb9e8925f5a813f36ee383a3755
3
+ size 639793354