Commit
·
063a048
1
Parent(s):
70254c9
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
pipeline_tag: text-classification
|
| 4 |
-
tags:
|
| 5 |
-
- not-for-all-audiences
|
| 6 |
---
|
| 7 |
# Model Card: Fine-Tuned DistilBERT for Offensive/Hate Speech Detection
|
| 8 |
|
|
@@ -34,7 +32,6 @@ The goal of this meticulous training process is to equip the model with the abil
|
|
| 34 |
### How to Use
|
| 35 |
To use this model for offensive/hate speech detection, you can follow these steps:
|
| 36 |
```markdown
|
| 37 |
-
|
| 38 |
from transformers import pipeline
|
| 39 |
|
| 40 |
classifier = pipeline("text-classification", model="Falconsai/offensive_speech_detection")
|
|
@@ -43,6 +40,7 @@ result = classifier(text)
|
|
| 43 |
|
| 44 |
```
|
| 45 |
|
|
|
|
| 46 |
### Limitations
|
| 47 |
- **Specialized Task Fine-Tuning**: While the model is adept at offensive/hate speech detection, its performance may vary when applied to other natural language processing tasks.
|
| 48 |
- Users interested in employing this model for different tasks should explore fine-tuned versions available in the model hub for optimal results.
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
pipeline_tag: text-classification
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
# Model Card: Fine-Tuned DistilBERT for Offensive/Hate Speech Detection
|
| 6 |
|
|
|
|
| 32 |
### How to Use
|
| 33 |
To use this model for offensive/hate speech detection, you can follow these steps:
|
| 34 |
```markdown
|
|
|
|
| 35 |
from transformers import pipeline
|
| 36 |
|
| 37 |
classifier = pipeline("text-classification", model="Falconsai/offensive_speech_detection")
|
|
|
|
| 40 |
|
| 41 |
```
|
| 42 |
|
| 43 |
+
|
| 44 |
### Limitations
|
| 45 |
- **Specialized Task Fine-Tuning**: While the model is adept at offensive/hate speech detection, its performance may vary when applied to other natural language processing tasks.
|
| 46 |
- Users interested in employing this model for different tasks should explore fine-tuned versions available in the model hub for optimal results.
|