update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
model-index:
|
| 5 |
+
- name: GraphCodeBert-Moreepcohs
|
| 6 |
+
results: []
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 10 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 11 |
+
|
| 12 |
+
# GraphCodeBert-Moreepcohs
|
| 13 |
+
|
| 14 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on the None dataset.
|
| 15 |
+
It achieves the following results on the evaluation set:
|
| 16 |
+
- Loss: 3.3134
|
| 17 |
+
- Rouge2 Precision: 0.259
|
| 18 |
+
- Rouge2 Recall: 0.2528
|
| 19 |
+
- Rouge2 Fmeasure: 0.25
|
| 20 |
+
- Bleu Score: 0.2387
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 5e-05
|
| 40 |
+
- train_batch_size: 16
|
| 41 |
+
- eval_batch_size: 16
|
| 42 |
+
- seed: 42
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- lr_scheduler_warmup_steps: 1500
|
| 46 |
+
- num_epochs: 8
|
| 47 |
+
|
| 48 |
+
### Training results
|
| 49 |
+
|
| 50 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge2 Precision | Rouge2 Recall | Rouge2 Fmeasure | Bleu Score |
|
| 51 |
+
|:-------------:|:-----:|:-----:|:---------------:|:----------------:|:-------------:|:---------------:|:----------:|
|
| 52 |
+
| 5.8439 | 0.87 | 1500 | 4.1071 | 0.1478 | 0.1394 | 0.139 | 0.1384 |
|
| 53 |
+
| 3.7868 | 1.73 | 3000 | 3.6540 | 0.1742 | 0.1731 | 0.1697 | 0.1777 |
|
| 54 |
+
| 3.4877 | 2.6 | 4500 | 3.4311 | 0.205 | 0.1966 | 0.1959 | 0.193 |
|
| 55 |
+
| 3.0162 | 3.46 | 6000 | 3.3283 | 0.2249 | 0.2162 | 0.2142 | 0.2124 |
|
| 56 |
+
| 2.9085 | 4.33 | 7500 | 3.2684 | 0.2418 | 0.2312 | 0.2303 | 0.2233 |
|
| 57 |
+
| 2.5761 | 5.2 | 9000 | 3.2578 | 0.2427 | 0.2398 | 0.2354 | 0.2293 |
|
| 58 |
+
| 2.4163 | 6.06 | 10500 | 3.3048 | 0.2596 | 0.2516 | 0.2498 | 0.2386 |
|
| 59 |
+
| 2.2094 | 6.93 | 12000 | 3.2825 | 0.2561 | 0.2529 | 0.2492 | 0.2396 |
|
| 60 |
+
| 2.0907 | 7.79 | 13500 | 3.3134 | 0.259 | 0.2528 | 0.25 | 0.2387 |
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
### Framework versions
|
| 64 |
+
|
| 65 |
+
- Transformers 4.25.1
|
| 66 |
+
- Pytorch 1.13.1+cu116
|
| 67 |
+
- Datasets 2.8.0
|
| 68 |
+
- Tokenizers 0.13.2
|