Romain-XV commited on
Commit
535bc91
·
verified ·
1 Parent(s): d8ccbae

End of training

Browse files
Files changed (3) hide show
  1. README.md +159 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/Yarn-Llama-2-7b-128k
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: d8949381-8d5f-4ae1-9feb-c10fb85c1de0
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-128k
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 3f00855d813f9df5_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/3f00855d813f9df5_train_data.json
31
+ type:
32
+ field_input: source
33
+ field_instruction: question
34
+ field_output: prompt
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: 4
42
+ eval_max_new_tokens: 128
43
+ eval_steps: 100
44
+ eval_table_size: null
45
+ flash_attention: false
46
+ fp16: null
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 6
50
+ gradient_checkpointing: true
51
+ group_by_length: false
52
+ hub_model_id: Romain-XV/d8949381-8d5f-4ae1-9feb-c10fb85c1de0
53
+ hub_repo: null
54
+ hub_strategy: checkpoint
55
+ hub_token: null
56
+ learning_rate: 0.0002
57
+ load_best_model_at_end: true
58
+ load_in_4bit: true
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 1
62
+ lora_alpha: 128
63
+ lora_dropout: 0.3
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 64
67
+ lora_target_linear: true
68
+ lora_target_modules:
69
+ - q_proj
70
+ - k_proj
71
+ - v_proj
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 1.0
74
+ max_steps: 588
75
+ micro_batch_size: 4
76
+ mlflow_experiment_name: /tmp/3f00855d813f9df5_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 3
79
+ optimizer: adamw_bnb_8bit
80
+ output_dir: miner_id_24
81
+ pad_to_sequence_len: true
82
+ resume_from_checkpoint: null
83
+ s2_attention: null
84
+ sample_packing: false
85
+ save_steps: 100
86
+ sequence_len: 2048
87
+ strict: false
88
+ tf32: true
89
+ tokenizer_type: AutoTokenizer
90
+ train_on_inputs: false
91
+ trust_remote_code: true
92
+ val_set_size: 0.04
93
+ wandb_entity: null
94
+ wandb_mode: online
95
+ wandb_name: c5643d5f-eeb3-4d79-ad38-3b11fd81c6b6
96
+ wandb_project: Gradients-On-Demand
97
+ wandb_run: your_name
98
+ wandb_runid: c5643d5f-eeb3-4d79-ad38-3b11fd81c6b6
99
+ warmup_steps: 10
100
+ weight_decay: 0.0
101
+ xformers_attention: null
102
+
103
+ ```
104
+
105
+ </details><br>
106
+
107
+ # d8949381-8d5f-4ae1-9feb-c10fb85c1de0
108
+
109
+ This model is a fine-tuned version of [NousResearch/Yarn-Llama-2-7b-128k](https://huggingface.co/NousResearch/Yarn-Llama-2-7b-128k) on the None dataset.
110
+ It achieves the following results on the evaluation set:
111
+ - Loss: 0.0010
112
+
113
+ ## Model description
114
+
115
+ More information needed
116
+
117
+ ## Intended uses & limitations
118
+
119
+ More information needed
120
+
121
+ ## Training and evaluation data
122
+
123
+ More information needed
124
+
125
+ ## Training procedure
126
+
127
+ ### Training hyperparameters
128
+
129
+ The following hyperparameters were used during training:
130
+ - learning_rate: 0.0002
131
+ - train_batch_size: 4
132
+ - eval_batch_size: 4
133
+ - seed: 42
134
+ - gradient_accumulation_steps: 6
135
+ - total_train_batch_size: 24
136
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
137
+ - lr_scheduler_type: cosine
138
+ - lr_scheduler_warmup_steps: 10
139
+ - training_steps: 588
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | 0.9661 | 0.0006 | 1 | 0.2563 |
146
+ | 0.0136 | 0.0577 | 100 | 0.0118 |
147
+ | 0.0021 | 0.1154 | 200 | 0.0015 |
148
+ | 0.0276 | 0.1730 | 300 | 0.0013 |
149
+ | 0.0003 | 0.2307 | 400 | 0.0012 |
150
+ | 0.0001 | 0.2884 | 500 | 0.0010 |
151
+
152
+
153
+ ### Framework versions
154
+
155
+ - PEFT 0.13.2
156
+ - Transformers 4.46.0
157
+ - Pytorch 2.5.0+cu124
158
+ - Datasets 3.0.1
159
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9233a4f28cb0137f283d4f59a157d5dd0ba1f7e4cb60846246e934baa605f98c
3
+ size 639793354
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8fe0fed13538d60e29cd4c40617a904be0d495d20dce3d817763c4605a48f2e2
3
  size 639691872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5a509f63f00d367a5c11498f8184cf3ff2fd851ce54ead76faf84db6de30c28
3
  size 639691872