Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: "Code Defect Detection v1"
|
3 |
+
tags:
|
4 |
+
- code-defect-detection
|
5 |
+
- c
|
6 |
+
library_name: "transformers"
|
7 |
+
datasets:
|
8 |
+
- semeru/code-code-DefectDetection
|
9 |
+
---
|
10 |
+
|
11 |
+
# Code Defect Detection v1
|
12 |
+
Code Defect Detection for C language
|
13 |
+
|
14 |
+
### Model Sources
|
15 |
+
- **Repository:** [mrm8488/codebert2codebert-finetuned-code-defect-detection](https://huggingface.co/mrm8488/codebert2codebert-finetuned-code-defect-detection)
|
16 |
+
|
17 |
+
### Dataset
|
18 |
+
- **Repository:** [semeru/code-code-DefectDetection](https://huggingface.co/datasets/semeru/code-code-DefectDetection)
|
19 |
+
|
20 |
+
### Model Evaluation Results
|
21 |
+
- Evaluation Loss (eval_loss): 0.7605
|
22 |
+
- Accuracy (eval_accuracy): 66.76%
|
23 |
+
- Precision (eval_precision): 65.64%
|
24 |
+
- Recall (eval_recall): 58.01%
|
25 |
+
- F1 Score (eval_f1): 61.59%
|
26 |
+
- AUC (eval_auc): 73.52%
|
27 |
+
|
28 |
+
### Evaluation Runtime
|
29 |
+
- Model Preparation Time (eval_model_preparation_time): 0.0032 seconds
|
30 |
+
- Evaluation Runtime (eval_runtime): 83.17 seconds
|
31 |
+
- Samples per Second (eval_samples_per_second): 32.85
|
32 |
+
- Steps per Second (eval_steps_per_second): 4.11
|