Instructions to use TransferGraph/SetFit_distilbert-base-uncased__hate_speech_offensive__train-16-1-finetuned-lora-tweet_eval_hate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TransferGraph/SetFit_distilbert-base-uncased__hate_speech_offensive__train-16-1-finetuned-lora-tweet_eval_hate with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("SetFit/distilbert-base-uncased__hate_speech_offensive__train-16-1") model = PeftModel.from_pretrained(base_model, "TransferGraph/SetFit_distilbert-base-uncased__hate_speech_offensive__train-16-1-finetuned-lora-tweet_eval_hate") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!