Model Card for Model ID

Model Details

Model Description

  • Developed by: Lavish Kamal Kumar
  • License: Apache 2.0
  • Finetuned from model: microsoft/codebert-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: Fast code (no major performance concerns)
  • LABEL_1: Slow code (potential performance issues detected)

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
Downloads last month
2
Safetensors
Model size
125M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for LavishKK/codebert-slowcode-detector

Finetuned
(39)
this model