Sakil commited on
Commit
4e3106a
1 Parent(s): cc07edc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -46
README.md CHANGED
@@ -1,46 +1,46 @@
1
- ---
2
- license: apache-2.0
3
- language: en
4
- tags:
5
- - hate
6
- - speech
7
-
8
- widget:
9
- - text: "RT @ShenikaRoberts: The shit you hear about me might be true or it might be faker than the bitch who told it to ya &#5736"
10
-
11
- ---
12
-
13
- # Dataset Collection:
14
- * The hatespeech dataset is collected from different open sources like Kaggle ,social media like Twitter.
15
- * The dataset has the two classes hatespeech and non hatespeech.
16
- * The class distribution is equal
17
- * Different strategies have been followed during the data gathering phase.
18
- * The dataset is collected from relevant sources.
19
-
20
- # distilbert-base-uncased model is fine-tuned for Hate Speech Detection
21
- * The model is fine-tuned on the dataset.
22
- * This model can be used to create the labels for academic purposes or for industrial purposes.
23
- * This model can be used for the inference purpose as well.
24
-
25
- # Data Fields:
26
-
27
- **label**: 0 - it is a hate speech, 1 - not a hate speech
28
-
29
- # Application:
30
- * This model is useful for the detection of hatespeech in the tweets.
31
- * There are numerous situations where we have tweet data but no labels, so this approach can be used to create labels.
32
- * You can fine-tune this model for your particular use cases.
33
-
34
- # Model Implementation
35
-
36
- # !pip install transformers[sentencepiece]
37
-
38
- from transformers import pipeline
39
-
40
- model_name="Sakil/distilbert_lazylearner_hatespeech_detection"
41
-
42
- classifier = pipeline("text-classification",model=model_name)
43
-
44
- classifier("!!! RT @mayasolovely: As a woman you shouldn't complain about cleaning up your house. & as a man you should always take the trash out...")
45
-
46
- # Github: [Sakil Ansari](https://github.com/Sakil786/hate_speech_detection_pretrained_model)
 
1
+ ---
2
+ license: apache-2.0
3
+ language: en
4
+ tags:
5
+ - hate
6
+ - speech
7
+
8
+ widget:
9
+ - text: "RT @ShenikaRoberts: The shit you hear about me might be true or it might be faker than the bitch who told it to ya &#5736"
10
+
11
+ ---
12
+
13
+ # Dataset Collection:
14
+ * The hatespeech dataset is collected from different open sources like Kaggle ,social media like Twitter.
15
+ * The dataset has the two classes hatespeech and non hatespeech.
16
+ * The class distribution is equal
17
+ * Different strategies have been followed during the data gathering phase.
18
+ * The dataset is collected from relevant sources.
19
+
20
+ # distilbert-base-uncased model is fine-tuned for Hate Speech Detection
21
+ * The model is fine-tuned on the dataset.
22
+ * This model can be used to create the labels for academic purposes or for industrial purposes.
23
+ * This model can be used for the inference purpose as well.
24
+
25
+ # Data Fields:
26
+
27
+ **label**: 0 - it is a hate speech, 1 - not a hate speech
28
+
29
+ # Application:
30
+ * This model is useful for the detection of hatespeech in the tweets.
31
+ * There are numerous situations where we have tweet data but no labels, so this approach can be used to create labels.
32
+ * You can fine-tune this model for your particular use cases.
33
+
34
+ # Model Implementation
35
+
36
+ # !pip install transformers[sentencepiece]
37
+
38
+ from transformers import pipeline
39
+
40
+ model_name="Sakil/distilbert_lazylearner_hatespeech_detection"
41
+
42
+ classifier = pipeline("text-classification",model=model_name)
43
+
44
+ classifier("!!! RT @mayasolovely: As a woman you shouldn't complain about cleaning up your house. & as a man you should always take the trash out...")
45
+
46
+ # Github: [Sakil Ansari](https://github.com/Sakil786/sentence_similarity_semantic_search)