RoyJoy commited on
Commit
d5a5c4b
1 Parent(s): b92f586

End of training

Browse files
Files changed (2) hide show
  1. README.md +168 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: NousResearch/Yarn-Mistral-7b-128k
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: b7b9b75c-4afc-40e3-ac24-617be50be930
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<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)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: NousResearch/Yarn-Mistral-7b-128k
23
+ bf16: auto
24
+ chat_template: llama3
25
+ cosine_min_lr_ratio: 0.1
26
+ data_processes: 4
27
+ dataset_prepared_path: null
28
+ datasets:
29
+ - data_files:
30
+ - a7ce660495626653_train_data.json
31
+ ds_type: json
32
+ field: title
33
+ path: /workspace/input_data/a7ce660495626653_train_data.json
34
+ type: completion
35
+ debug: null
36
+ deepspeed: null
37
+ device_map: balanced
38
+ do_eval: true
39
+ early_stopping_patience: 1
40
+ eval_batch_size: 1
41
+ eval_sample_packing: false
42
+ eval_steps: 25
43
+ evaluation_strategy: steps
44
+ flash_attention: true
45
+ fp16: null
46
+ fsdp: null
47
+ fsdp_config: null
48
+ gradient_accumulation_steps: 16
49
+ gradient_checkpointing: true
50
+ group_by_length: true
51
+ hub_model_id: sn56a2/b7b9b75c-4afc-40e3-ac24-617be50be930
52
+ hub_strategy: checkpoint
53
+ hub_token: null
54
+ learning_rate: 0.0001
55
+ load_in_4bit: false
56
+ load_in_8bit: false
57
+ local_rank: null
58
+ logging_steps: 1
59
+ lora_alpha: 64
60
+ lora_dropout: 0.05
61
+ lora_fan_in_fan_out: null
62
+ lora_model_dir: null
63
+ lora_r: 32
64
+ lora_target_linear: true
65
+ lora_target_modules:
66
+ - q_proj
67
+ - v_proj
68
+ lr_scheduler: cosine
69
+ max_grad_norm: 1.0
70
+ max_memory:
71
+ 0: 75GB
72
+ 1: 75GB
73
+ 2: 75GB
74
+ 3: 75GB
75
+ max_steps: 50
76
+ micro_batch_size: 2
77
+ mixed_precision: bf16
78
+ mlflow_experiment_name: /tmp/a7ce660495626653_train_data.json
79
+ model_type: AutoModelForCausalLM
80
+ num_epochs: 3
81
+ optim_args:
82
+ adam_beta1: 0.9
83
+ adam_beta2: 0.95
84
+ adam_epsilon: 1e-5
85
+ optimizer: adamw_torch
86
+ output_dir: miner_id_24
87
+ pad_to_sequence_len: true
88
+ resume_from_checkpoint: null
89
+ s2_attention: null
90
+ sample_packing: false
91
+ save_steps: 25
92
+ save_strategy: steps
93
+ sequence_len: 2048
94
+ special_tokens:
95
+ pad_token: </s>
96
+ strict: false
97
+ tf32: false
98
+ tokenizer_type: AutoTokenizer
99
+ torch_compile: false
100
+ train_on_inputs: false
101
+ trust_remote_code: true
102
+ val_set_size: 50
103
+ wandb_entity: sn56-miner
104
+ wandb_mode: disabled
105
+ wandb_name: b7b9b75c-4afc-40e3-ac24-617be50be930
106
+ wandb_project: god
107
+ wandb_runid: b7b9b75c-4afc-40e3-ac24-617be50be930
108
+ warmup_ratio: 0.04
109
+ weight_decay: 0.01
110
+ xformers_attention: null
111
+
112
+ ```
113
+
114
+ </details><br>
115
+
116
+ # b7b9b75c-4afc-40e3-ac24-617be50be930
117
+
118
+ This model is a fine-tuned version of [NousResearch/Yarn-Mistral-7b-128k](https://huggingface.co/NousResearch/Yarn-Mistral-7b-128k) on the None dataset.
119
+ It achieves the following results on the evaluation set:
120
+ - Loss: 3.0543
121
+
122
+ ## Model description
123
+
124
+ More information needed
125
+
126
+ ## Intended uses & limitations
127
+
128
+ More information needed
129
+
130
+ ## Training and evaluation data
131
+
132
+ More information needed
133
+
134
+ ## Training procedure
135
+
136
+ ### Training hyperparameters
137
+
138
+ The following hyperparameters were used during training:
139
+ - learning_rate: 0.0001
140
+ - train_batch_size: 2
141
+ - eval_batch_size: 1
142
+ - seed: 42
143
+ - distributed_type: multi-GPU
144
+ - num_devices: 4
145
+ - gradient_accumulation_steps: 16
146
+ - total_train_batch_size: 128
147
+ - total_eval_batch_size: 4
148
+ - 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
149
+ - lr_scheduler_type: cosine
150
+ - lr_scheduler_warmup_steps: 2
151
+ - training_steps: 50
152
+
153
+ ### Training results
154
+
155
+ | Training Loss | Epoch | Step | Validation Loss |
156
+ |:-------------:|:------:|:----:|:---------------:|
157
+ | 91.0618 | 0.0005 | 1 | 6.9317 |
158
+ | 49.8131 | 0.0119 | 25 | 3.2954 |
159
+ | 50.5648 | 0.0239 | 50 | 3.0543 |
160
+
161
+
162
+ ### Framework versions
163
+
164
+ - PEFT 0.13.2
165
+ - Transformers 4.46.0
166
+ - Pytorch 2.5.0+cu124
167
+ - Datasets 3.0.1
168
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b05cd52eba7214c01507829556a21fca95a794147c7ee7aeb7f52cdd6274702
3
+ size 335706186