Commit
•
9c38a2b
1
Parent(s):
b351376
Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ widget:
|
|
17 |
|
18 |
---
|
19 |
|
20 |
-
# Fine-tuned
|
21 |
|
22 |
# Model Description
|
23 |
|
@@ -25,19 +25,19 @@ DistilBERT is a transformer model that performs sentiment analysis. I fine-tuned
|
|
25 |
|
26 |
The model is a fine-tuned version of [DistilBERT](https://huggingface.co/docs/transformers/model_doc/distilbert).
|
27 |
|
28 |
-
It was fine-tuned on
|
29 |
|
30 |
# How to Use
|
31 |
|
32 |
```python
|
33 |
from transformers import pipeline
|
34 |
-
classifier = pipeline("sentiment-analysis", model="michellejieli/
|
35 |
classifier("I see you’ve set aside this special time to humiliate yourself in public.")
|
36 |
```
|
37 |
|
38 |
```python
|
39 |
Output:
|
40 |
-
[{'label': 'NSFW', 'score': 0.
|
41 |
```
|
42 |
|
43 |
# Contact
|
|
|
17 |
|
18 |
---
|
19 |
|
20 |
+
# Fine-tuned DistilBERT for NSFW Inappropriate Text Classification
|
21 |
|
22 |
# Model Description
|
23 |
|
|
|
25 |
|
26 |
The model is a fine-tuned version of [DistilBERT](https://huggingface.co/docs/transformers/model_doc/distilbert).
|
27 |
|
28 |
+
It was fine-tuned on 19604 Reddit posts pulled from the (Comprehensive Abusiveness Detection Dataset) [https://aclanthology.org/2021.conll-1.43/].
|
29 |
|
30 |
# How to Use
|
31 |
|
32 |
```python
|
33 |
from transformers import pipeline
|
34 |
+
classifier = pipeline("sentiment-analysis", model="michellejieli/inappropriate_text_classifier")
|
35 |
classifier("I see you’ve set aside this special time to humiliate yourself in public.")
|
36 |
```
|
37 |
|
38 |
```python
|
39 |
Output:
|
40 |
+
[{'label': 'NSFW', 'score': 0.9684491753578186}]
|
41 |
```
|
42 |
|
43 |
# Contact
|