Instructions to use parsawar/profanity_model_3.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use parsawar/profanity_model_3.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="parsawar/profanity_model_3.1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("parsawar/profanity_model_3.1") model = AutoModelForSequenceClassification.from_pretrained("parsawar/profanity_model_3.1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Updated version of text profanity, trained on 2 lakh textual data
0 = non-offensive, 1 = offensive
- Downloads last month
- 345