Instructions to use levalencia/FineTunedHateSpeechDistilBert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use levalencia/FineTunedHateSpeechDistilBert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="levalencia/FineTunedHateSpeechDistilBert")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("levalencia/FineTunedHateSpeechDistilBert", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Model Card for levalencia/FineTunedHateSpeechDistilBert
Model Details
Model Description
Hate Speech Model, it will classify text as Hate Speech (0), Offensive (1) or Neither(2)
- Developed by: Luis Valencia
- Language(s) (NLP): English
- License: CCO
- Finetuned from model [optional]: Distilbert