Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,42 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- microsoft/graphcodebert-base
|
| 7 |
+
pipeline_tag: text-classification
|
| 8 |
+
library_name: transformers
|
| 9 |
+
tags:
|
| 10 |
+
- code
|
| 11 |
+
- classification
|
| 12 |
+
- BERT
|
| 13 |
+
- transformers
|
| 14 |
+
---
|
| 15 |
+
# Model Card for Model ID
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
|
| 19 |
+
- **Developed by:** Lavish Kamal Kumar
|
| 20 |
+
- **Language(s) (NLP):** Python, Java, JavaScript
|
| 21 |
+
- **License:** Apache 2.0
|
| 22 |
+
- **Finetuned from model:** microsoft/graphcodebert-base
|
| 23 |
+
|
| 24 |
+
## Uses
|
| 25 |
+
This model is a code classifier designed to detect whether a given code snippet is **fast** or **slow** in terms of performance.
|
| 26 |
+
|
| 27 |
+
It is particularly useful for:
|
| 28 |
+
|
| 29 |
+
- Flagging potentially inefficient or unoptimized code
|
| 30 |
+
- Assisting automated code review tools
|
| 31 |
+
|
| 32 |
+
The model predicts one of two labels:
|
| 33 |
+
|
| 34 |
+
- `LABEL_0`: Fast code (no major performance concerns)
|
| 35 |
+
- `LABEL_1`: Slow code (potential performance issues detected)
|
| 36 |
+
|
| 37 |
+
It works best on short to medium-length code snippets in supported programming languages and is intended for use with the 🤗 Transformers library.
|
| 38 |
+
|
| 39 |
+
## Supported Languages
|
| 40 |
+
- Python
|
| 41 |
+
- Java
|
| 42 |
+
- JavaScript
|