CoolFace
Modelpublic

LavishKK/graphcodebert-slowcode-detector-unbalanced

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes4downloads
Model Card

Model Card for Model ID

Model Details

  • Developed by: Lavish Kamal Kumar
  • Language(s) (NLP): Python, Java, JavaScript
  • License: Apache 2.0
  • Finetuned from model: microsoft/graphcodebert-base

Uses

This model is a code classifier designed to detect whether a given code snippet is fast or slow in terms of performance.

It is particularly useful for:

  • Flagging potentially inefficient or unoptimized code
  • Assisting automated code review tools

The model predicts one of two labels:

  • LABEL_0: Slow code (potential performance issues detected)
  • LABEL_1: Fast code (no major performance concerns)

It works best on short to medium-length code snippets in supported programming languages and is intended for use with the 🤗 Transformers library.

Supported Languages

  • Python
  • Java
  • JavaScript