romainnn commited on
Commit
c5bb211
·
verified ·
1 Parent(s): 0e39765

End of training

Browse files
Files changed (3) hide show
  1. README.md +165 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/codellama-7b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 9fa438f6-c660-4e7c-9c8d-874a6687f82b
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: unsloth/codellama-7b
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - c15fa704a74c4234_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/c15fa704a74c4234_train_data.json
32
+ type:
33
+ field_input: source
34
+ field_instruction: prompt
35
+ field_output: gpt4_response
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ early_stopping_patience: 2
43
+ eval_max_new_tokens: 128
44
+ eval_steps: 100
45
+ eval_table_size: null
46
+ flash_attention: true
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: romainnn/9fa438f6-c660-4e7c-9c8d-874a6687f82b
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 0.0001
58
+ load_best_model_at_end: true
59
+ load_in_4bit: false
60
+ load_in_8bit: false
61
+ local_rank: null
62
+ logging_steps: 1
63
+ lora_alpha: 32
64
+ lora_dropout: 0.05
65
+ lora_fan_in_fan_out: null
66
+ lora_model_dir: null
67
+ lora_r: 16
68
+ lora_target_linear: true
69
+ lora_target_modules:
70
+ - q_proj
71
+ - k_proj
72
+ - v_proj
73
+ lr_scheduler: cosine
74
+ max_steps: 1188
75
+ micro_batch_size: 4
76
+ mlflow_experiment_name: /tmp/c15fa704a74c4234_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 1
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.05
93
+ wandb_entity: null
94
+ wandb_mode: online
95
+ wandb_name: afbdec3b-c03a-4c81-854a-4dc26b5297ff
96
+ wandb_project: Gradients-On-Demand
97
+ wandb_run: your_name
98
+ wandb_runid: afbdec3b-c03a-4c81-854a-4dc26b5297ff
99
+ warmup_steps: 10
100
+ weight_decay: 0.0
101
+ xformers_attention: null
102
+
103
+ ```
104
+
105
+ </details><br>
106
+
107
+ # 9fa438f6-c660-4e7c-9c8d-874a6687f82b
108
+
109
+ This model is a fine-tuned version of [unsloth/codellama-7b](https://huggingface.co/unsloth/codellama-7b) on the None dataset.
110
+ It achieves the following results on the evaluation set:
111
+ - Loss: 0.9114
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.0001
131
+ - train_batch_size: 4
132
+ - eval_batch_size: 4
133
+ - seed: 42
134
+ - gradient_accumulation_steps: 4
135
+ - total_train_batch_size: 16
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: 1188
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | 1.1777 | 0.0001 | 1 | 1.2339 |
146
+ | 1.0236 | 0.0142 | 100 | 0.9750 |
147
+ | 1.1987 | 0.0283 | 200 | 0.9529 |
148
+ | 1.0466 | 0.0425 | 300 | 0.9409 |
149
+ | 0.6935 | 0.0567 | 400 | 0.9336 |
150
+ | 0.9046 | 0.0708 | 500 | 0.9271 |
151
+ | 0.6868 | 0.0850 | 600 | 0.9218 |
152
+ | 1.0091 | 0.0992 | 700 | 0.9182 |
153
+ | 0.9433 | 0.1133 | 800 | 0.9156 |
154
+ | 0.8122 | 0.1275 | 900 | 0.9132 |
155
+ | 0.9575 | 0.1416 | 1000 | 0.9119 |
156
+ | 1.0785 | 0.1558 | 1100 | 0.9114 |
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:e602685182852f46326d9a45f57b2b5226d7871175e9826b787eaab35c315780
3
+ size 160069834
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d6c544b8b853b5f0fce3bc5ac5e72a9ef230e6f84ba591f59b9e7e0b90238c66
3
  size 159967880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbdae6d0d2950ecb764dd7efd3281187ec55996c3f10332228a5fc0c0f1417b5
3
  size 159967880