End of training
Browse files- README.md +123 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
- loss_plot.png +0 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: other
|
| 4 |
+
base_model: deepseek-ai/deepseek-coder-6.7b-base
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: small-4e4
|
| 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 |
+
# small-4e4
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [deepseek-ai/deepseek-coder-6.7b-base](https://huggingface.co/deepseek-ai/deepseek-coder-6.7b-base) on an unknown dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.1423
|
| 20 |
+
|
| 21 |
+
## Model description
|
| 22 |
+
|
| 23 |
+
More information needed
|
| 24 |
+
|
| 25 |
+
## Intended uses & limitations
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Training and evaluation data
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training procedure
|
| 34 |
+
|
| 35 |
+
### Training hyperparameters
|
| 36 |
+
|
| 37 |
+
The following hyperparameters were used during training:
|
| 38 |
+
- learning_rate: 0.0004
|
| 39 |
+
- train_batch_size: 4
|
| 40 |
+
- eval_batch_size: 2
|
| 41 |
+
- seed: 42
|
| 42 |
+
- distributed_type: multi-GPU
|
| 43 |
+
- num_devices: 2
|
| 44 |
+
- gradient_accumulation_steps: 2
|
| 45 |
+
- total_train_batch_size: 16
|
| 46 |
+
- total_eval_batch_size: 4
|
| 47 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
+
- lr_scheduler_type: linear
|
| 49 |
+
- num_epochs: 12
|
| 50 |
+
- mixed_precision_training: Native AMP
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 55 |
+
|:-------------:|:-------:|:-----:|:---------------:|
|
| 56 |
+
| 0.5879 | 0.2001 | 720 | 0.1971 |
|
| 57 |
+
| 0.3956 | 0.4002 | 1440 | 0.1700 |
|
| 58 |
+
| 0.3301 | 0.6003 | 2160 | 0.1580 |
|
| 59 |
+
| 0.3136 | 0.8003 | 2880 | 0.1479 |
|
| 60 |
+
| 0.2909 | 1.0003 | 3600 | 0.1407 |
|
| 61 |
+
| 0.2581 | 1.2004 | 4320 | 0.1371 |
|
| 62 |
+
| 0.25 | 1.4004 | 5040 | 0.1318 |
|
| 63 |
+
| 0.2472 | 1.6005 | 5760 | 0.1324 |
|
| 64 |
+
| 0.2456 | 1.8006 | 6480 | 0.1266 |
|
| 65 |
+
| 0.2376 | 2.0006 | 7200 | 0.1232 |
|
| 66 |
+
| 0.2128 | 2.2006 | 7920 | 0.1262 |
|
| 67 |
+
| 0.2067 | 2.4007 | 8640 | 0.1207 |
|
| 68 |
+
| 0.2026 | 2.6008 | 9360 | 0.1207 |
|
| 69 |
+
| 0.2016 | 2.8009 | 10080 | 0.1171 |
|
| 70 |
+
| 0.2031 | 3.0008 | 10800 | 0.1149 |
|
| 71 |
+
| 0.1711 | 3.2009 | 11520 | 0.1167 |
|
| 72 |
+
| 0.1758 | 3.4010 | 12240 | 0.1127 |
|
| 73 |
+
| 0.1743 | 3.6011 | 12960 | 0.1138 |
|
| 74 |
+
| 0.1728 | 3.8012 | 13680 | 0.1133 |
|
| 75 |
+
| 0.1732 | 4.0011 | 14400 | 0.1100 |
|
| 76 |
+
| 0.1464 | 4.2012 | 15120 | 0.1110 |
|
| 77 |
+
| 0.1491 | 4.4013 | 15840 | 0.1109 |
|
| 78 |
+
| 0.148 | 4.6014 | 16560 | 0.1095 |
|
| 79 |
+
| 0.1504 | 4.8014 | 17280 | 0.1072 |
|
| 80 |
+
| 0.1465 | 5.0014 | 18000 | 0.1076 |
|
| 81 |
+
| 0.1239 | 5.2015 | 18720 | 0.1118 |
|
| 82 |
+
| 0.1267 | 5.4016 | 19440 | 0.1111 |
|
| 83 |
+
| 0.1289 | 5.6016 | 20160 | 0.1070 |
|
| 84 |
+
| 0.1315 | 5.8017 | 20880 | 0.1080 |
|
| 85 |
+
| 0.1269 | 6.0017 | 21600 | 0.1057 |
|
| 86 |
+
| 0.1103 | 6.2018 | 22320 | 0.1098 |
|
| 87 |
+
| 0.1101 | 6.4018 | 23040 | 0.1113 |
|
| 88 |
+
| 0.1111 | 6.6019 | 23760 | 0.1092 |
|
| 89 |
+
| 0.1112 | 6.8020 | 24480 | 0.1077 |
|
| 90 |
+
| 0.1112 | 7.0019 | 25200 | 0.1076 |
|
| 91 |
+
| 0.0966 | 7.2020 | 25920 | 0.1135 |
|
| 92 |
+
| 0.0933 | 7.4021 | 26640 | 0.1152 |
|
| 93 |
+
| 0.0948 | 7.6022 | 27360 | 0.1155 |
|
| 94 |
+
| 0.094 | 7.8023 | 28080 | 0.1074 |
|
| 95 |
+
| 0.0948 | 8.0022 | 28800 | 0.1102 |
|
| 96 |
+
| 0.0789 | 8.2023 | 29520 | 0.1151 |
|
| 97 |
+
| 0.0772 | 8.4024 | 30240 | 0.1126 |
|
| 98 |
+
| 0.0782 | 8.6025 | 30960 | 0.1149 |
|
| 99 |
+
| 0.0802 | 8.8026 | 31680 | 0.1156 |
|
| 100 |
+
| 0.079 | 9.0025 | 32400 | 0.1141 |
|
| 101 |
+
| 0.0646 | 9.2026 | 33120 | 0.1249 |
|
| 102 |
+
| 0.0663 | 9.4027 | 33840 | 0.1176 |
|
| 103 |
+
| 0.0671 | 9.6028 | 34560 | 0.1227 |
|
| 104 |
+
| 0.0689 | 9.8028 | 35280 | 0.1210 |
|
| 105 |
+
| 0.0659 | 10.0028 | 36000 | 0.1210 |
|
| 106 |
+
| 0.0561 | 10.2029 | 36720 | 0.1304 |
|
| 107 |
+
| 0.0556 | 10.4029 | 37440 | 0.1302 |
|
| 108 |
+
| 0.0568 | 10.6030 | 38160 | 0.1321 |
|
| 109 |
+
| 0.0564 | 10.8031 | 38880 | 0.1299 |
|
| 110 |
+
| 0.0581 | 11.0031 | 39600 | 0.1314 |
|
| 111 |
+
| 0.0505 | 11.2031 | 40320 | 0.1403 |
|
| 112 |
+
| 0.0494 | 11.4032 | 41040 | 0.1426 |
|
| 113 |
+
| 0.0495 | 11.6033 | 41760 | 0.1414 |
|
| 114 |
+
| 0.0498 | 11.8034 | 42480 | 0.1423 |
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
### Framework versions
|
| 118 |
+
|
| 119 |
+
- PEFT 0.14.0
|
| 120 |
+
- Transformers 4.47.0
|
| 121 |
+
- Pytorch 2.5.1+cu124
|
| 122 |
+
- Datasets 3.2.0
|
| 123 |
+
- Tokenizers 0.21.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "deepseek-ai/deepseek-coder-6.7b-base",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"eva_config": null,
|
| 7 |
+
"exclude_modules": null,
|
| 8 |
+
"fan_in_fan_out": false,
|
| 9 |
+
"inference_mode": true,
|
| 10 |
+
"init_lora_weights": true,
|
| 11 |
+
"layer_replication": null,
|
| 12 |
+
"layers_pattern": null,
|
| 13 |
+
"layers_to_transform": null,
|
| 14 |
+
"loftq_config": {},
|
| 15 |
+
"lora_alpha": 32,
|
| 16 |
+
"lora_bias": false,
|
| 17 |
+
"lora_dropout": 0.05,
|
| 18 |
+
"megatron_config": null,
|
| 19 |
+
"megatron_core": "megatron.core",
|
| 20 |
+
"modules_to_save": null,
|
| 21 |
+
"peft_type": "LORA",
|
| 22 |
+
"r": 8,
|
| 23 |
+
"rank_pattern": {},
|
| 24 |
+
"revision": null,
|
| 25 |
+
"target_modules": [
|
| 26 |
+
"q_proj",
|
| 27 |
+
"v_proj"
|
| 28 |
+
],
|
| 29 |
+
"task_type": "CAUSAL_LM",
|
| 30 |
+
"use_dora": false,
|
| 31 |
+
"use_rslora": false
|
| 32 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c25a1a33987743a30fe7ca963d0190b27ac3e87a7fa017aabfb54bef39b2ecf
|
| 3 |
+
size 541459256
|
loss_plot.png
ADDED
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d39c77abc9b79e41320c1b31198c8a780bb3b28b86e08cdfd5e4327edf0635ca
|
| 3 |
+
size 5368
|