End of training
Browse files- README.md +99 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: Salesforce/codet5-base
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: results_lora
|
| 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 |
+
# results_lora
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [Salesforce/codet5-base](https://huggingface.co/Salesforce/codet5-base) on the None dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.5548
|
| 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: 5e-05
|
| 39 |
+
- train_batch_size: 4
|
| 40 |
+
- eval_batch_size: 4
|
| 41 |
+
- seed: 42
|
| 42 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 43 |
+
- lr_scheduler_type: linear
|
| 44 |
+
- num_epochs: 40
|
| 45 |
+
- mixed_precision_training: Native AMP
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
| 51 |
+
| 2.2238 | 1.0 | 941 | 0.4982 |
|
| 52 |
+
| 0.5068 | 2.0 | 1882 | 0.4804 |
|
| 53 |
+
| 0.4874 | 3.0 | 2823 | 0.4810 |
|
| 54 |
+
| 0.4821 | 4.0 | 3764 | 0.4825 |
|
| 55 |
+
| 0.4811 | 5.0 | 4705 | 0.4766 |
|
| 56 |
+
| 0.4801 | 6.0 | 5646 | 0.4801 |
|
| 57 |
+
| 0.4743 | 7.0 | 6587 | 0.4825 |
|
| 58 |
+
| 0.4732 | 8.0 | 7528 | 0.4769 |
|
| 59 |
+
| 0.4717 | 9.0 | 8469 | 0.4731 |
|
| 60 |
+
| 0.4675 | 10.0 | 9410 | 0.4779 |
|
| 61 |
+
| 0.4667 | 11.0 | 10351 | 0.4795 |
|
| 62 |
+
| 0.4637 | 12.0 | 11292 | 0.4822 |
|
| 63 |
+
| 0.4575 | 13.0 | 12233 | 0.4817 |
|
| 64 |
+
| 0.4505 | 14.0 | 13174 | 0.4884 |
|
| 65 |
+
| 0.4452 | 15.0 | 14115 | 0.4935 |
|
| 66 |
+
| 0.4413 | 16.0 | 15056 | 0.4993 |
|
| 67 |
+
| 0.4386 | 17.0 | 15997 | 0.4943 |
|
| 68 |
+
| 0.4398 | 18.0 | 16938 | 0.5011 |
|
| 69 |
+
| 0.4263 | 19.0 | 17879 | 0.5114 |
|
| 70 |
+
| 0.4293 | 20.0 | 18820 | 0.4993 |
|
| 71 |
+
| 0.4255 | 21.0 | 19761 | 0.5084 |
|
| 72 |
+
| 0.4245 | 22.0 | 20702 | 0.5193 |
|
| 73 |
+
| 0.4153 | 23.0 | 21643 | 0.5032 |
|
| 74 |
+
| 0.4164 | 24.0 | 22584 | 0.5182 |
|
| 75 |
+
| 0.4012 | 25.0 | 23525 | 0.5239 |
|
| 76 |
+
| 0.3999 | 26.0 | 24466 | 0.5245 |
|
| 77 |
+
| 0.3969 | 27.0 | 25407 | 0.5293 |
|
| 78 |
+
| 0.3988 | 28.0 | 26348 | 0.5221 |
|
| 79 |
+
| 0.4033 | 29.0 | 27289 | 0.5394 |
|
| 80 |
+
| 0.3918 | 30.0 | 28230 | 0.5299 |
|
| 81 |
+
| 0.3841 | 31.0 | 29171 | 0.5396 |
|
| 82 |
+
| 0.3805 | 32.0 | 30112 | 0.5426 |
|
| 83 |
+
| 0.3733 | 33.0 | 31053 | 0.5435 |
|
| 84 |
+
| 0.384 | 34.0 | 31994 | 0.5532 |
|
| 85 |
+
| 0.3762 | 35.0 | 32935 | 0.5476 |
|
| 86 |
+
| 0.371 | 36.0 | 33876 | 0.5485 |
|
| 87 |
+
| 0.3629 | 37.0 | 34817 | 0.5529 |
|
| 88 |
+
| 0.3675 | 38.0 | 35758 | 0.5512 |
|
| 89 |
+
| 0.3671 | 39.0 | 36699 | 0.5543 |
|
| 90 |
+
| 0.3596 | 40.0 | 37640 | 0.5548 |
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
### Framework versions
|
| 94 |
+
|
| 95 |
+
- PEFT 0.14.0
|
| 96 |
+
- Transformers 4.47.0
|
| 97 |
+
- Pytorch 2.5.1+cu121
|
| 98 |
+
- Datasets 3.3.1
|
| 99 |
+
- Tokenizers 0.21.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "Salesforce/codet5-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.1,
|
| 18 |
+
"megatron_config": null,
|
| 19 |
+
"megatron_core": "megatron.core",
|
| 20 |
+
"modules_to_save": null,
|
| 21 |
+
"peft_type": "LORA",
|
| 22 |
+
"r": 16,
|
| 23 |
+
"rank_pattern": {},
|
| 24 |
+
"revision": null,
|
| 25 |
+
"target_modules": [
|
| 26 |
+
"v",
|
| 27 |
+
"q"
|
| 28 |
+
],
|
| 29 |
+
"task_type": "SEQ_2_SEQ_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:79dbaa4fac19f82931dfac96797370038975018f94c6af8d35e7f299c16fdfed
|
| 3 |
+
size 7098016
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08617e5661e35744ab81be8a328fe97da4dbe9c72d7c79f654a5d372d4a45a21
|
| 3 |
+
size 5304
|