lesso01 commited on
Commit
b92b0c1
1 Parent(s): f0e1530

End of training

Browse files
Files changed (2) hide show
  1. README.md +163 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 8286b448-364a-42aa-81cd-dd63f301c534
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: true
23
+ chat_template: llama3
24
+ datasets:
25
+ - data_files:
26
+ - 63a8fc606f806946_train_data.json
27
+ ds_type: json
28
+ format: custom
29
+ path: /workspace/input_data/63a8fc606f806946_train_data.json
30
+ type:
31
+ field_input: question_fa
32
+ field_instruction: question
33
+ field_output: answerKey
34
+ format: '{instruction} {input}'
35
+ no_input_format: '{instruction}'
36
+ system_format: '{system}'
37
+ system_prompt: ''
38
+ debug: null
39
+ deepspeed: null
40
+ early_stopping_patience: null
41
+ eval_max_new_tokens: 128
42
+ eval_table_size: null
43
+ evals_per_epoch: 4
44
+ flash_attention: false
45
+ fp16: false
46
+ fsdp: null
47
+ fsdp_config: null
48
+ gradient_accumulation_steps: 2
49
+ gradient_checkpointing: true
50
+ group_by_length: false
51
+ hub_model_id: lesso01/8286b448-364a-42aa-81cd-dd63f301c534
52
+ hub_repo: null
53
+ hub_strategy: checkpoint
54
+ hub_token: null
55
+ learning_rate: 0.0001
56
+ load_in_4bit: false
57
+ load_in_8bit: false
58
+ local_rank: null
59
+ logging_steps: 1
60
+ lora_alpha: 32
61
+ lora_dropout: 0.05
62
+ lora_fan_in_fan_out: null
63
+ lora_model_dir: null
64
+ lora_r: 16
65
+ lora_target_linear: true
66
+ lr_scheduler: cosine
67
+ max_memory:
68
+ 0: 80GiB
69
+ max_steps: 100
70
+ micro_batch_size: 8
71
+ mlflow_experiment_name: /tmp/63a8fc606f806946_train_data.json
72
+ model_type: AutoModelForCausalLM
73
+ num_epochs: 3
74
+ optimizer: adamw_torch
75
+ output_dir: miner_id_24
76
+ pad_to_sequence_len: true
77
+ resume_from_checkpoint: null
78
+ s2_attention: null
79
+ sample_packing: false
80
+ save_steps: 25
81
+ save_strategy: steps
82
+ sequence_len: 1024
83
+ special_tokens:
84
+ pad_token: </s>
85
+ strict: false
86
+ tf32: false
87
+ tokenizer_type: AutoTokenizer
88
+ train_on_inputs: false
89
+ trust_remote_code: true
90
+ val_set_size: 0.05
91
+ wandb_entity: null
92
+ wandb_mode: online
93
+ wandb_name: 8286b448-364a-42aa-81cd-dd63f301c534
94
+ wandb_project: Gradients-On-Demand
95
+ wandb_run: your_name
96
+ wandb_runid: 8286b448-364a-42aa-81cd-dd63f301c534
97
+ warmup_steps: 10
98
+ weight_decay: 0.01
99
+ xformers_attention: false
100
+
101
+ ```
102
+
103
+ </details><br>
104
+
105
+ # 8286b448-364a-42aa-81cd-dd63f301c534
106
+
107
+ 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.
108
+ It achieves the following results on the evaluation set:
109
+ - Loss: 0.7271
110
+
111
+ ## Model description
112
+
113
+ More information needed
114
+
115
+ ## Intended uses & limitations
116
+
117
+ More information needed
118
+
119
+ ## Training and evaluation data
120
+
121
+ More information needed
122
+
123
+ ## Training procedure
124
+
125
+ ### Training hyperparameters
126
+
127
+ The following hyperparameters were used during training:
128
+ - learning_rate: 0.0001
129
+ - train_batch_size: 8
130
+ - eval_batch_size: 8
131
+ - seed: 42
132
+ - gradient_accumulation_steps: 2
133
+ - total_train_batch_size: 16
134
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
135
+ - lr_scheduler_type: cosine
136
+ - lr_scheduler_warmup_steps: 10
137
+ - training_steps: 100
138
+
139
+ ### Training results
140
+
141
+ | Training Loss | Epoch | Step | Validation Loss |
142
+ |:-------------:|:------:|:----:|:---------------:|
143
+ | 16.7418 | 0.0070 | 1 | 8.3652 |
144
+ | 13.8646 | 0.0634 | 9 | 5.6081 |
145
+ | 2.6541 | 0.1268 | 18 | 1.0343 |
146
+ | 2.0743 | 0.1901 | 27 | 0.8307 |
147
+ | 2.1048 | 0.2535 | 36 | 0.7210 |
148
+ | 1.5122 | 0.3169 | 45 | 0.7484 |
149
+ | 1.5609 | 0.3803 | 54 | 0.7512 |
150
+ | 1.3671 | 0.4437 | 63 | 0.7309 |
151
+ | 1.4944 | 0.5070 | 72 | 0.7280 |
152
+ | 1.6337 | 0.5704 | 81 | 0.7295 |
153
+ | 1.3877 | 0.6338 | 90 | 0.7245 |
154
+ | 1.6764 | 0.6972 | 99 | 0.7271 |
155
+
156
+
157
+ ### Framework versions
158
+
159
+ - PEFT 0.13.2
160
+ - Transformers 4.46.0
161
+ - Pytorch 2.5.0+cu124
162
+ - Datasets 3.0.1
163
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:259b138351cfa64e9d9388ae16be03c2a1c9c733880cd821badb61d3630933a5
3
+ size 160069834