dimasik1987 commited on
Commit
16e4d3f
1 Parent(s): 573e5d0

End of training

Browse files
Files changed (2) hide show
  1. README.md +165 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/CodeLlama-7b-hf-flash
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 83c2ff06-3778-41df-a6de-a8582abdaca3
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/CodeLlama-7b-hf-flash
22
+ bf16: auto
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 6700e7210e3f6191_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/6700e7210e3f6191_train_data.json
31
+ type:
32
+ field_input: intent
33
+ field_instruction: instruction
34
+ field_output: response
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ device: cuda
42
+ early_stopping_patience: null
43
+ eval_max_new_tokens: 128
44
+ eval_table_size: null
45
+ evals_per_epoch: 4
46
+ flash_attention: false
47
+ fp16: null
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 4
51
+ gradient_checkpointing: true
52
+ group_by_length: false
53
+ hub_model_id: dimasik1987/83c2ff06-3778-41df-a6de-a8582abdaca3
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 0.0001
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 1
62
+ lora_alpha: 64
63
+ lora_dropout: 0.05
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 32
67
+ lora_target_linear: true
68
+ lr_scheduler: cosine
69
+ max_memory:
70
+ 0: 70GiB
71
+ max_steps: 50
72
+ micro_batch_size: 2
73
+ mlflow_experiment_name: /tmp/6700e7210e3f6191_train_data.json
74
+ model_type: AutoModelForCausalLM
75
+ num_epochs: 3
76
+ optimizer: adamw_torch
77
+ output_dir: miner_id_24
78
+ pad_to_sequence_len: true
79
+ resume_from_checkpoint: null
80
+ s2_attention: null
81
+ sample_packing: false
82
+ save_steps: 25
83
+ save_strategy: steps
84
+ sequence_len: 2028
85
+ special_tokens:
86
+ pad_token: </s>
87
+ strict: false
88
+ tf32: false
89
+ tokenizer_type: AutoTokenizer
90
+ torch_dtype: bfloat16
91
+ train_on_inputs: false
92
+ trust_remote_code: true
93
+ val_set_size: 0.05
94
+ wandb_entity: null
95
+ wandb_mode: online
96
+ wandb_name: 83c2ff06-3778-41df-a6de-a8582abdaca3
97
+ wandb_project: Gradients-On-Demand
98
+ wandb_run: your_name
99
+ wandb_runid: 83c2ff06-3778-41df-a6de-a8582abdaca3
100
+ warmup_steps: 10
101
+ weight_decay: 0.01
102
+ xformers_attention: null
103
+
104
+ ```
105
+
106
+ </details><br>
107
+
108
+ # 83c2ff06-3778-41df-a6de-a8582abdaca3
109
+
110
+ This model is a fine-tuned version of [NousResearch/CodeLlama-7b-hf-flash](https://huggingface.co/NousResearch/CodeLlama-7b-hf-flash) on the None dataset.
111
+ It achieves the following results on the evaluation set:
112
+ - Loss: 0.7738
113
+
114
+ ## Model description
115
+
116
+ More information needed
117
+
118
+ ## Intended uses & limitations
119
+
120
+ More information needed
121
+
122
+ ## Training and evaluation data
123
+
124
+ More information needed
125
+
126
+ ## Training procedure
127
+
128
+ ### Training hyperparameters
129
+
130
+ The following hyperparameters were used during training:
131
+ - learning_rate: 0.0001
132
+ - train_batch_size: 2
133
+ - eval_batch_size: 2
134
+ - seed: 42
135
+ - gradient_accumulation_steps: 4
136
+ - total_train_batch_size: 8
137
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
138
+ - lr_scheduler_type: cosine
139
+ - lr_scheduler_warmup_steps: 10
140
+ - training_steps: 50
141
+
142
+ ### Training results
143
+
144
+ | Training Loss | Epoch | Step | Validation Loss |
145
+ |:-------------:|:------:|:----:|:---------------:|
146
+ | 5.8203 | 0.0003 | 1 | 1.4616 |
147
+ | 5.7421 | 0.0017 | 5 | 1.4401 |
148
+ | 4.9761 | 0.0033 | 10 | 1.2095 |
149
+ | 4.6298 | 0.0050 | 15 | 0.9935 |
150
+ | 3.6041 | 0.0066 | 20 | 0.8895 |
151
+ | 3.4775 | 0.0083 | 25 | 0.8444 |
152
+ | 2.8792 | 0.0099 | 30 | 0.8117 |
153
+ | 3.3873 | 0.0116 | 35 | 0.7912 |
154
+ | 3.1162 | 0.0132 | 40 | 0.7798 |
155
+ | 3.3973 | 0.0149 | 45 | 0.7749 |
156
+ | 2.9933 | 0.0165 | 50 | 0.7738 |
157
+
158
+
159
+ ### Framework versions
160
+
161
+ - PEFT 0.13.2
162
+ - Transformers 4.46.0
163
+ - Pytorch 2.5.0+cu124
164
+ - Datasets 3.0.1
165
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:443ebf902a2bec50d60dc1ad2ed4dad5511fb77d7d7a67942d1ca11113c06fa7
3
+ size 319977674