CoolFace
Modelpublic

NamCyan/unixcoder-base-technical-debt-code-tesoro

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes6downloads
Model Card

Improving the detection of technical debt in Java source code with an enriched dataset

Model Details

Model Description

This model is the part of Tesoro project, used for detecting technical debt in source code. More information can be found at Tesoro HomePage.

  • Developed by: Nam Hai Le
  • Model type: Encoder-based PLMs
  • Language(s): Java
  • Finetuned from model: UniXCoder

Model Sources

  • Repository: Tesoro
  • Paper: [To be update]

How to Get Started with the Model

Use the code below to get started with the model.

python
from transformers import AutoModelForSequenceClassification, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("NamCyan/unixcoder-base-technical-debt-code-tesoro")
model = AutoModelForSequenceClassification.from_pretrained("NamCyan/unixcoder-base-technical-debt-code-tesoro")

Training Details

  • Training Data: The model is finetuned using tesoro-code
  • Infrastructure: Training process is conducted on two NVIDIA A100 GPUs with 80GB of VRAM.

Leaderboard

ModelModel sizeEMF1
Encoder-based PLMs
CodeBERT125M38.2843.47
UniXCoder125M38.1242.58
GraphCodeBERT125M39.3844.21
RoBERTa125M35.3738.22
ALBERT11.8M39.3241.99
Encoder-Decoder-based PLMs
PLBART140M36.8539.90
Codet5220M32.6635.41
CodeT5+220M37.9141.96
Decoder-based PLMs (LLMs)
TinyLlama1.03B37.0540.05
DeepSeek-Coder1.28B42.5246.19
OpenCodeInterpreter1.35B38.1641.76
phi-22.78B37.9241.57
starcoder23.03B35.3741.77
CodeLlama6.74B34.1438.16
Magicoder6.74B39.1442.49

Citing us

bibtex
@article{nam2024tesoro,
  title={Improving the detection of technical debt in Java source code with an enriched dataset},
  author={Hai, Nam Le and Bui, Anh M. T. Bui and Nguyen, Phuong T. and Ruscio, Davide Di and Kazman, Rick},
  journal={},
  year={2024}
}