Skip to content

STACC: a set of SentenceTransformer Assisted Comment Classifiers

License

Notifications You must be signed in to change notification settings

AISE-TUDelft/STACC

Repository files navigation

STACC: a set of SentenceTransformer Assisted Comment Classifiers 📚

Static Badge Static Badge License

This repository contains our notebooks for the train, test and use STACC, our submission to the NLBSE'23 Code Comment Classification tool competition.

Quickstart Guide

Install SetFit with the Optuna backend:

pip install setfit[optuna]

Now you're ready to roll

Notebook Descriptions:

  • 1-Model_selection.ipynb outlines how we selected the base model and tuned the hyperparameters
  • 2-Creating_classifiers.ipynb shows how we created the 19 classifiers that make up STACC 📚
  • 3-Inference.ipynb shows how you can put STACC to good use by loading a classifier and start predicting.

Google Colab

If you wish to run the notebooks in Google Colab we provide the following ready-to-go notebooks:

Huggingface Space

We also integrated STACC 📚 in a Huggingface space.

image

Citation

@software{STACC_2023,
  author = {Al-Kaswan, Ali and Izadi, Maliheh and van Deursen, Arie},
  year = {2023},
  title = {STACC: a set of SentenceTransformer Assisted Comment Classifiers},
  url = {https://github.com/AISE-TUDelft/STACC},
  version = {1.0}

About

STACC: a set of SentenceTransformer Assisted Comment Classifiers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published