End of training
Browse files- README.md +155 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: dltjdgh0928/test_instruction
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: miner1_f81563ba-5c94-4caf-a3b7-56d28e62fae5_1731033882
|
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: dltjdgh0928/test_instruction
|
23 |
+
bf16: auto
|
24 |
+
chat_template: llama3
|
25 |
+
dataset_prepared_path: null
|
26 |
+
datasets:
|
27 |
+
- data_files:
|
28 |
+
- Code_Vulnerability_Security_DPO_train_data.json
|
29 |
+
ds_type: json
|
30 |
+
path: /workspace/input_data/Code_Vulnerability_Security_DPO_train_data.json
|
31 |
+
type:
|
32 |
+
field_input: lang
|
33 |
+
field_instruction: question
|
34 |
+
field_output: chosen
|
35 |
+
system_format: '{system}'
|
36 |
+
system_prompt: ''
|
37 |
+
debug: null
|
38 |
+
deepspeed: null
|
39 |
+
early_stopping_patience: 1
|
40 |
+
eval_max_new_tokens: 128
|
41 |
+
eval_steps: 5
|
42 |
+
eval_table_size: null
|
43 |
+
flash_attention: true
|
44 |
+
fp16: null
|
45 |
+
fsdp: null
|
46 |
+
fsdp_config: null
|
47 |
+
gradient_accumulation_steps: 4
|
48 |
+
gradient_checkpointing: true
|
49 |
+
group_by_length: false
|
50 |
+
hours_to_complete: 6
|
51 |
+
hub_model_id: besimray/miner1_f81563ba-5c94-4caf-a3b7-56d28e62fae5_1731033882
|
52 |
+
hub_strategy: checkpoint
|
53 |
+
hub_token: null
|
54 |
+
learning_rate: 0.0002
|
55 |
+
load_in_4bit: false
|
56 |
+
load_in_8bit: true
|
57 |
+
local_rank: null
|
58 |
+
logging_steps: 1
|
59 |
+
lora_alpha: 32
|
60 |
+
lora_dropout: 0.05
|
61 |
+
lora_fan_in_fan_out: null
|
62 |
+
lora_model_dir: null
|
63 |
+
lora_r: 32
|
64 |
+
lora_target_linear: true
|
65 |
+
lr_scheduler: cosine
|
66 |
+
max_steps: 500
|
67 |
+
micro_batch_size: 2
|
68 |
+
mlflow_experiment_name: /tmp/Code_Vulnerability_Security_DPO_train_data.json
|
69 |
+
model_type: AutoModelForCausalLM
|
70 |
+
num_epochs: 4
|
71 |
+
optimizer: adamw_bnb_8bit
|
72 |
+
output_dir: miner_id_24
|
73 |
+
pad_to_sequence_len: true
|
74 |
+
resume_from_checkpoint: null
|
75 |
+
s2_attention: null
|
76 |
+
sample_packing: false
|
77 |
+
save_steps: 10
|
78 |
+
save_strategy: steps
|
79 |
+
sequence_len: 4096
|
80 |
+
started_at: '2024-11-08T02:44:42.513600'
|
81 |
+
strict: false
|
82 |
+
tf32: false
|
83 |
+
tokenizer_type: AutoTokenizer
|
84 |
+
train_on_inputs: false
|
85 |
+
trust_remote_code: true
|
86 |
+
val_set_size: 0.05
|
87 |
+
wandb_entity: besimray24-rayon
|
88 |
+
wandb_mode: online
|
89 |
+
wandb_project: Public_TuningSN
|
90 |
+
wandb_run: miner_id_24
|
91 |
+
wandb_runid: f81563ba-5c94-4caf-a3b7-56d28e62fae5
|
92 |
+
warmup_steps: 10
|
93 |
+
weight_decay: 0.0
|
94 |
+
xformers_attention: null
|
95 |
+
|
96 |
+
```
|
97 |
+
|
98 |
+
</details><br>
|
99 |
+
|
100 |
+
# miner1_f81563ba-5c94-4caf-a3b7-56d28e62fae5_1731033882
|
101 |
+
|
102 |
+
This model is a fine-tuned version of [dltjdgh0928/test_instruction](https://huggingface.co/dltjdgh0928/test_instruction) on the None dataset.
|
103 |
+
It achieves the following results on the evaluation set:
|
104 |
+
- Loss: 0.3076
|
105 |
+
|
106 |
+
## Model description
|
107 |
+
|
108 |
+
More information needed
|
109 |
+
|
110 |
+
## Intended uses & limitations
|
111 |
+
|
112 |
+
More information needed
|
113 |
+
|
114 |
+
## Training and evaluation data
|
115 |
+
|
116 |
+
More information needed
|
117 |
+
|
118 |
+
## Training procedure
|
119 |
+
|
120 |
+
### Training hyperparameters
|
121 |
+
|
122 |
+
The following hyperparameters were used during training:
|
123 |
+
- learning_rate: 0.0002
|
124 |
+
- train_batch_size: 2
|
125 |
+
- eval_batch_size: 2
|
126 |
+
- seed: 42
|
127 |
+
- gradient_accumulation_steps: 4
|
128 |
+
- total_train_batch_size: 8
|
129 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
130 |
+
- lr_scheduler_type: cosine
|
131 |
+
- lr_scheduler_warmup_steps: 10
|
132 |
+
- training_steps: 500
|
133 |
+
|
134 |
+
### Training results
|
135 |
+
|
136 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
137 |
+
|:-------------:|:------:|:----:|:---------------:|
|
138 |
+
| 2.2815 | 0.0018 | 1 | 0.5765 |
|
139 |
+
| 1.5985 | 0.0092 | 5 | 0.4431 |
|
140 |
+
| 1.2781 | 0.0185 | 10 | 0.3860 |
|
141 |
+
| 2.113 | 0.0277 | 15 | 0.3428 |
|
142 |
+
| 1.4677 | 0.0370 | 20 | 0.3295 |
|
143 |
+
| 1.6174 | 0.0462 | 25 | 0.3228 |
|
144 |
+
| 1.2662 | 0.0555 | 30 | 0.3060 |
|
145 |
+
| 1.4139 | 0.0647 | 35 | 0.3003 |
|
146 |
+
| 1.4329 | 0.0739 | 40 | 0.3076 |
|
147 |
+
|
148 |
+
|
149 |
+
### Framework versions
|
150 |
+
|
151 |
+
- PEFT 0.13.2
|
152 |
+
- Transformers 4.46.1
|
153 |
+
- Pytorch 2.3.1+cu121
|
154 |
+
- Datasets 3.0.1
|
155 |
+
- Tokenizers 0.20.3
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:937aef60e81d3d1e9abdd10ace7a739163db56b81eb01e2626bba10101d16579
|
3 |
+
size 335706186
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 335604696
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:061c34a8ed6809cd0904d70b19b43324b3658413d60d98a7f6d48e2c3bffaef4
|
3 |
size 335604696
|