Instructions to use mspoulaei/Code_Smell_Detection_SmolLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mspoulaei/Code_Smell_Detection_SmolLM with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("HuggingFaceTB/SmolLM-1.7B") model = PeftModel.from_pretrained(base_model, "mspoulaei/Code_Smell_Detection_SmolLM") - Notebooks
- Google Colab
- Kaggle