Instructions to use Falconsai/offensive_speech_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Falconsai/offensive_speech_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Falconsai/offensive_speech_detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Falconsai/offensive_speech_detection") model = AutoModelForSequenceClassification.from_pretrained("Falconsai/offensive_speech_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -32,7 +32,7 @@ The goal of this meticulous training process is to equip the model with the abil
|
|
| 32 |
- **Of Special Note**: The data suggests the word "like" is most often used as a comparative statement in the derogatory.
|
| 33 |
- These have numerous instances within the "Offensive Speech Dataset". "You look like X" or "He smells like X" are quite common.
|
| 34 |
- Also of note, the ABSENCE/LACK OF of punctuation lends itself heavily to the "Offensive" dataset.
|
| 35 |
-
- Accordingly the model will
|
| 36 |
|
| 37 |
|
| 38 |
### How to Use
|
|
|
|
| 32 |
- **Of Special Note**: The data suggests the word "like" is most often used as a comparative statement in the derogatory.
|
| 33 |
- These have numerous instances within the "Offensive Speech Dataset". "You look like X" or "He smells like X" are quite common.
|
| 34 |
- Also of note, the ABSENCE/LACK OF of punctuation lends itself heavily to the "Offensive" dataset.
|
| 35 |
+
- Accordingly the model will identify these as well, based on their prominence in the training data.
|
| 36 |
|
| 37 |
|
| 38 |
### How to Use
|