Commit
·
773182c
1
Parent(s):
3467548
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,26 +8,28 @@ model-index:
|
|
| 8 |
results: []
|
| 9 |
---
|
| 10 |
|
| 11 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
|
| 14 |
# training
|
| 15 |
|
| 16 |
-
This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on
|
| 17 |
|
| 18 |
## Model description
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## Intended uses & limitations
|
| 23 |
|
| 24 |
-
|
| 25 |
|
| 26 |
## Training and evaluation data
|
| 27 |
|
| 28 |
-
|
|
|
|
| 29 |
|
| 30 |
## Training procedure
|
|
|
|
| 31 |
|
| 32 |
### Training hyperparameters
|
| 33 |
|
|
@@ -43,10 +45,6 @@ The following hyperparameters were used during training:
|
|
| 43 |
- num_epochs: 1
|
| 44 |
- mixed_precision_training: Native AMP
|
| 45 |
|
| 46 |
-
### Training results
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
### Framework versions
|
| 51 |
|
| 52 |
- Transformers 4.35.0
|
|
|
|
| 8 |
results: []
|
| 9 |
---
|
| 10 |
|
|
|
|
|
|
|
| 11 |
|
| 12 |
# training
|
| 13 |
|
| 14 |
+
This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on [my own techdebt dataset](https://huggingface.co/datasets/davidgaofc/techdebt).
|
| 15 |
|
| 16 |
## Model description
|
| 17 |
|
| 18 |
+
Classifies cleaned diffs of code.
|
| 19 |
+
* 1: exhibits possible technical debt
|
| 20 |
+
* 0: is probably clean
|
| 21 |
|
| 22 |
## Intended uses & limitations
|
| 23 |
|
| 24 |
+
Limited by many things probably, use with caution. Improvements in progress.
|
| 25 |
|
| 26 |
## Training and evaluation data
|
| 27 |
|
| 28 |
+
~95% accurate on the test split of dataset above
|
| 29 |
+
~.94 F1 score on test split of dataset above
|
| 30 |
|
| 31 |
## Training procedure
|
| 32 |
+
one epoch of training on the dataset referred to above
|
| 33 |
|
| 34 |
### Training hyperparameters
|
| 35 |
|
|
|
|
| 45 |
- num_epochs: 1
|
| 46 |
- mixed_precision_training: Native AMP
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
### Framework versions
|
| 49 |
|
| 50 |
- Transformers 4.35.0
|