Commit
·
6613a7c
1
Parent(s):
e98d518
Update README.md
Browse files
README.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
# Hate Speech
|
2 |
|
3 |
## Overview
|
4 |
|
5 |
-
The "Hate Speech
|
6 |
|
7 |
## Usage
|
8 |
|
9 |
### Installation
|
10 |
|
11 |
-
To use the "Hate Speech
|
12 |
|
13 |
```bash
|
14 |
pip install transformers
|
@@ -16,12 +16,12 @@ pip install transformers
|
|
16 |
|
17 |
### Usage
|
18 |
|
19 |
-
You can load and use the "Hate Speech
|
20 |
|
21 |
```python
|
22 |
from transformers import pipeline
|
23 |
|
24 |
-
model = pipeline(model="moonstripe/
|
25 |
model("Hello world")
|
26 |
|
27 |
# Interpret the predictions to determine hate speech classification
|
|
|
1 |
+
# Hate Speech Classification v1
|
2 |
|
3 |
## Overview
|
4 |
|
5 |
+
The "Hate Speech Classification v1" is a model designed to classify hate speech in text data. It has been trained on the "ucberkeley-dlab/measuring-hate-speech" dataset to effectively identify instances of hate speech.
|
6 |
|
7 |
## Usage
|
8 |
|
9 |
### Installation
|
10 |
|
11 |
+
To use the "Hate Speech Classification v1," you'll need to have the Hugging Face Transformers library installed. You can install it using pip:
|
12 |
|
13 |
```bash
|
14 |
pip install transformers
|
|
|
16 |
|
17 |
### Usage
|
18 |
|
19 |
+
You can load and use the "Hate Speech Classification v1" in your Python code by following these steps:
|
20 |
|
21 |
```python
|
22 |
from transformers import pipeline
|
23 |
|
24 |
+
model = pipeline(model="moonstripe/hate_speech_classification_v1")
|
25 |
model("Hello world")
|
26 |
|
27 |
# Interpret the predictions to determine hate speech classification
|