PopularPenguin
commited on
Commit
•
3ebda4c
1
Parent(s):
675af15
Model save
Browse files- README.md +78 -0
- adapter_model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: bsd-3-clause
|
3 |
+
base_model: Salesforce/codet5-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- arrow
|
8 |
+
library_name: peft
|
9 |
+
model-index:
|
10 |
+
- name: codet5-large-2024-11-27_23-08
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# codet5-large-2024-11-27_23-08
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [Salesforce/codet5-large](https://huggingface.co/Salesforce/codet5-large) on the arrow dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.2038
|
22 |
+
- Gen Len: 18.9997
|
23 |
+
- Bertscorer-p: 0.6236
|
24 |
+
- Bertscorer-r: 0.2353
|
25 |
+
- Bertscorer-f1: 0.4224
|
26 |
+
- Sacrebleu-score: 14.0575
|
27 |
+
- Sacrebleu-precisions: [93.21674851306209, 85.96364041936204, 80.9029722765622, 77.23407849541078]
|
28 |
+
- Bleu-bp: 0.1671
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 0.0003
|
48 |
+
- train_batch_size: 16
|
49 |
+
- eval_batch_size: 16
|
50 |
+
- seed: 42
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- num_epochs: 10
|
54 |
+
- mixed_precision_training: Native AMP
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Gen Len | Bertscorer-p | Bertscorer-r | Bertscorer-f1 | Sacrebleu-score | Sacrebleu-precisions | Bleu-bp |
|
59 |
+
|:-------------:|:-----:|:-----:|:---------------:|:-------:|:------------:|:------------:|:-------------:|:---------------:|:----------------------------------------------------------------------------:|:-------:|
|
60 |
+
| 0.307 | 1.0 | 2386 | 0.2578 | 18.9996 | 0.6125 | 0.2274 | 0.4130 | 13.3756 | [91.98367952522256, 82.75386027211427, 76.38867305533972, 71.8096760543514] | 0.1664 |
|
61 |
+
| 0.2249 | 2.0 | 4772 | 0.2234 | 18.9998 | 0.6129 | 0.2272 | 0.4130 | 13.6165 | [92.0984638163983, 83.32430926029143, 77.59097368761036, 73.62220971675107] | 0.1673 |
|
62 |
+
| 0.1705 | 3.0 | 7158 | 0.2052 | 18.9997 | 0.6144 | 0.2270 | 0.4137 | 13.6722 | [92.39128019377347, 83.86287225736548, 78.10795204812425, 74.06802567856741] | 0.1671 |
|
63 |
+
| 0.1359 | 4.0 | 9544 | 0.1975 | 18.9999 | 0.6180 | 0.2312 | 0.4176 | 13.8305 | [92.69034856516717, 84.60221526799009, 79.12022601595204, 75.24504516334781] | 0.1673 |
|
64 |
+
| 0.1124 | 5.0 | 11930 | 0.1965 | 18.9997 | 0.6219 | 0.2347 | 0.4212 | 14.0296 | [93.00053938628186, 85.37114434185644, 79.99295344980192, 76.11429212978557] | 0.1683 |
|
65 |
+
| 0.0901 | 6.0 | 14316 | 0.1953 | 18.9997 | 0.6228 | 0.2341 | 0.4214 | 13.9769 | [93.14913197145842, 85.62195160827568, 80.38468501866524, 76.62666892006084] | 0.1669 |
|
66 |
+
| 0.0717 | 7.0 | 16702 | 0.1976 | 18.9998 | 0.6252 | 0.2356 | 0.4233 | 14.0892 | [93.2416842914824, 85.8948155335173, 80.64185934489403, 76.84015322512667] | 0.1679 |
|
67 |
+
| 0.0608 | 8.0 | 19088 | 0.2002 | 18.9997 | 0.6235 | 0.2355 | 0.4224 | 14.0253 | [93.20067563563089, 85.85486736946112, 80.71698243315461, 76.97434501403373] | 0.1670 |
|
68 |
+
| 0.0492 | 9.0 | 21474 | 0.2014 | 18.9998 | 0.6256 | 0.2367 | 0.4240 | 14.0964 | [93.32790404975198, 86.14961977943226, 81.03875968992249, 77.30994700558082] | 0.1673 |
|
69 |
+
| 0.0428 | 10.0 | 23860 | 0.2038 | 18.9997 | 0.6236 | 0.2353 | 0.4224 | 14.0575 | [93.21674851306209, 85.96364041936204, 80.9029722765622, 77.23407849541078] | 0.1671 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- PEFT 0.13.2
|
75 |
+
- Transformers 4.40.1
|
76 |
+
- Pytorch 1.13.1+cu117
|
77 |
+
- Datasets 3.1.0
|
78 |
+
- Tokenizers 0.19.1
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 69316056
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99b12636bb9aa2cc1cd789e0cf81c86e3fe2c98a3271eb5f4d3dc9890e981b6f
|
3 |
size 69316056
|