Instructions to use vanishingradient/turkish_hate_speech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use vanishingradient/turkish_hate_speech with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("google-bert/bert-base-multilingual-cased") model = PeftModel.from_pretrained(base_model, "vanishingradient/turkish_hate_speech") - Notebooks
- Google Colab
- Kaggle