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