File size: 2,328 Bytes
79ebfe0
 
18224a8
79ebfe0
 
 
 
 
 
 
 
 
 
 
 
18224a8
79ebfe0
5bf020d
79ebfe0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18224a8
79ebfe0
 
 
 
 
5bf020d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79ebfe0
 
 
 
 
 
18224a8
79ebfe0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
license: bsd-3-clause
base_model: Salesforce/codet5p-220m
tags:
- generated_from_trainer
model-index:
- name: codet5-fine-tuned
  results: []
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# codet5-fine-tuned

This model is a fine-tuned version of [Salesforce/codet5p-220m](https://huggingface.co/Salesforce/codet5p-220m) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0726

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 3
- eval_batch_size: 3
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 12
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 20

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| No log        | 0.99  | 56   | 0.0618          |
| 0.0882        | 1.99  | 113  | 0.0578          |
| 0.0882        | 3.0   | 170  | 0.0567          |
| 0.0503        | 4.0   | 227  | 0.0560          |
| 0.0503        | 4.99  | 283  | 0.0569          |
| 0.0396        | 5.99  | 340  | 0.0574          |
| 0.0396        | 7.0   | 397  | 0.0584          |
| 0.03          | 8.0   | 454  | 0.0601          |
| 0.0231        | 8.99  | 510  | 0.0612          |
| 0.0231        | 9.99  | 567  | 0.0646          |
| 0.0184        | 11.0  | 624  | 0.0647          |
| 0.0184        | 12.0  | 681  | 0.0665          |
| 0.0146        | 12.99 | 737  | 0.0671          |
| 0.0146        | 13.99 | 794  | 0.0677          |
| 0.012         | 15.0  | 851  | 0.0708          |
| 0.0099        | 16.0  | 908  | 0.0712          |
| 0.0099        | 16.99 | 964  | 0.0725          |
| 0.0087        | 17.99 | 1021 | 0.0720          |
| 0.0087        | 19.0  | 1078 | 0.0727          |
| 0.0079        | 19.74 | 1120 | 0.0726          |


### Framework versions

- Transformers 4.39.3
- Pytorch 2.1.2
- Datasets 2.19.1
- Tokenizers 0.15.2