Run this model with HF Jobs

Run LavishKK/graphcodebert-slowcode-detector on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/LavishKK/graphcodebert-slowcode-detector. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/LavishKK/graphcodebert-slowcode-detector on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
LavishKK's picture
Update README.md
1ffb513 verified
|
Raw History Blame Contribute Delete
1.04 kB
---
license: apache-2.0
language:
- en
base_model:
- microsoft/graphcodebert-base
pipeline_tag: text-classification
library_name: transformers
tags:
- code
- classification
- BERT
- transformers
---
# 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`: 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