Text Classification
Transformers
Safetensors
roberta
code-defect-detection
c
text-embeddings-inference
Instructions to use lafarizo/code_defect_detection_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lafarizo/code_defect_detection_v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lafarizo/code_defect_detection_v1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lafarizo/code_defect_detection_v1") model = AutoModelForSequenceClassification.from_pretrained("lafarizo/code_defect_detection_v1") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,11 +26,3 @@ Code Defect Detection for C language
|
|
| 26 |
| **Recall** | 58.01% |
|
| 27 |
| **F1 Score** | 61.59% |
|
| 28 |
| **AUC** | 73.52% |
|
| 29 |
-
|
| 30 |
-
### Evaluation Runtime
|
| 31 |
-
| Metric | Value |
|
| 32 |
-
|--------------------------------|-------------------|
|
| 33 |
-
| **Model Preparation Time** | 0.0032 seconds |
|
| 34 |
-
| **Evaluation Runtime** | 83.17 seconds |
|
| 35 |
-
| **Samples per Second** | 32.85 |
|
| 36 |
-
| **Steps per Second** | 4.11 |
|
|
|
|
| 26 |
| **Recall** | 58.01% |
|
| 27 |
| **F1 Score** | 61.59% |
|
| 28 |
| **AUC** | 73.52% |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|