ErrorAI commited on
Commit
8a75868
·
verified ·
1 Parent(s): b9aa661

End of training

Browse files
Files changed (2) hide show
  1. README.md +156 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: llama2
4
+ base_model: codellama/CodeLlama-7b-Instruct-hf
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: d65cff67-01b5-4601-af73-e35a905f89c2
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: codellama/CodeLlama-7b-Instruct-hf
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 491e79bb4bf12845_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/491e79bb4bf12845_train_data.json
32
+ type:
33
+ field_input: source
34
+ field_instruction: prompt
35
+ field_output: chosen
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: null
45
+ eval_max_new_tokens: 128
46
+ eval_steps: null
47
+ eval_table_size: null
48
+ evals_per_epoch: null
49
+ flash_attention: true
50
+ fp16: null
51
+ fsdp: null
52
+ fsdp_config: null
53
+ gradient_accumulation_steps: 4
54
+ gradient_checkpointing: true
55
+ group_by_length: true
56
+ hub_model_id: ErrorAI/d65cff67-01b5-4601-af73-e35a905f89c2
57
+ hub_repo: null
58
+ hub_strategy: checkpoint
59
+ hub_token: null
60
+ learning_rate: 0.0001
61
+ load_in_4bit: false
62
+ load_in_8bit: false
63
+ local_rank: null
64
+ logging_steps: 1
65
+ lora_alpha: 16
66
+ lora_dropout: 0.05
67
+ lora_fan_in_fan_out: null
68
+ lora_model_dir: null
69
+ lora_r: 8
70
+ lora_target_linear: true
71
+ lr_scheduler: cosine
72
+ max_grad_norm: 1.0
73
+ max_steps: 1375
74
+ micro_batch_size: 4
75
+ mlflow_experiment_name: /tmp/491e79bb4bf12845_train_data.json
76
+ model_type: AutoModelForCausalLM
77
+ num_epochs: 1
78
+ optimizer: adamw_bnb_8bit
79
+ output_dir: miner_id_24
80
+ pad_to_sequence_len: true
81
+ resume_from_checkpoint: null
82
+ s2_attention: null
83
+ sample_packing: false
84
+ saves_per_epoch: 4
85
+ sequence_len: 1024
86
+ special_tokens:
87
+ pad_token: </s>
88
+ strict: false
89
+ tf32: true
90
+ tokenizer_type: AutoTokenizer
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: 246c0663-cd06-4391-83b4-43040d07913e
97
+ wandb_project: Gradients-On-Demand
98
+ wandb_run: your_name
99
+ wandb_runid: 246c0663-cd06-4391-83b4-43040d07913e
100
+ warmup_steps: 5
101
+ weight_decay: 0.0
102
+ xformers_attention: null
103
+
104
+ ```
105
+
106
+ </details><br>
107
+
108
+ # d65cff67-01b5-4601-af73-e35a905f89c2
109
+
110
+ This model is a fine-tuned version of [codellama/CodeLlama-7b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-7b-Instruct-hf) on the None dataset.
111
+ It achieves the following results on the evaluation set:
112
+ - Loss: 0.7332
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: 4
133
+ - eval_batch_size: 4
134
+ - seed: 42
135
+ - gradient_accumulation_steps: 4
136
+ - total_train_batch_size: 16
137
+ - optimizer: Use OptimizerNames.ADAMW_BNB 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: 5
140
+ - training_steps: 159
141
+
142
+ ### Training results
143
+
144
+ | Training Loss | Epoch | Step | Validation Loss |
145
+ |:-------------:|:------:|:----:|:---------------:|
146
+ | 0.6368 | 0.9968 | 158 | 0.7573 |
147
+ | 1.3159 | 1.0032 | 159 | 0.7332 |
148
+
149
+
150
+ ### Framework versions
151
+
152
+ - PEFT 0.13.2
153
+ - Transformers 4.46.0
154
+ - Pytorch 2.5.0+cu124
155
+ - Datasets 3.0.1
156
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b4cf5512d9d94f3f9132ad59ff694712bd3a33c94f65807b9cfd2f2d4c15fe1
3
+ size 80115210