Downloads · 30 days
12
23% of all-time downloads
fabiancpl/nlbse25_pharo
nlbse25_pharo is a text classification model from fabiancpl. Use it when you need a label for a piece of text. It is set up for setfit. The card lists the license as mit.
This is a SetFit model that can be used for Pharo code comment classification.
Downloads · 30 days
12
23% of all-time downloads
All-time downloads
53
Public
Parameters
17.4M
70.4 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors69.6 MB · 97%
From the Hugging Face model README
This is a SetFit model that can be used for Pharo code comment classification.
The model has been trained using few-shot learning that involves:
First, install the depencies:
pip install setfit scikit-learn
Then, load the model and run inferences:
from setfit import SetFitModel
# Download from the 🤗 Hub
model = SetFitModel.from_pretrained("fabiancpl/nlbse25_pharo")
# Run inference
preds = model("This function sorts a list of numbers.")
@inproceedings{11029440,
author={Peña, Fabian C. and Herbold, Steffen},
booktitle={2025 IEEE/ACM International Workshop on Natural Language-Based Software Engineering (NLBSE)},
title={Evaluating the Performance and Efficiency of Sentence-BERT for Code Comment Classification},
year={2025},
pages={21-24},
doi={10.1109/NLBSE66842.2025.00010}}