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")
The community tab is the place to discuss and collaborate with the HF community!