AIZinu commited on
Commit
d72dcc8
1 Parent(s): 71cb317

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +45 -1
README.md CHANGED
@@ -4,5 +4,49 @@ language:
4
  - tr
5
  metrics:
6
  - f1
 
 
 
 
7
  pipeline_tag: text-classification
8
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  - tr
5
  metrics:
6
  - f1
7
+ - accuracy
8
+ - recall
9
+ - confusion_matrix
10
+ - precision
11
  pipeline_tag: text-classification
12
+
13
+ # About the Model
14
+
15
+ This model is a Turkish-based convBERT model created to classify Turkish social media bullying data. Classes included in the model
16
+
17
+ * Cinsiyetçilik
18
+ * Irkçılık
19
+ * Kızdırma
20
+ * Nötr
21
+
22
+
23
+ The model was trained from a dataset containing 2981 Twitter data.
24
+
25
+
26
+
27
+
28
+ ## Dependency
29
+
30
+ pip install transformers
31
+
32
+ pip install torch
33
+
34
+
35
+ ## Example
36
+
37
+
38
+ ```python
39
+ from transformers import DistilBertTokenizer, DistilBertForSequenceClassification,TextClassificationPipeline
40
+
41
+ tokenizer = ConvBertTokenizer.from_pretrained("AIZinu/distilBERT-turkish-based-cyberbullying-model")
42
+ model = ConvBertForSequenceClassification.from_pretrained("AIZinu/distilBERT-turkish-based-cyberbullying-model")
43
+
44
+ pipe= TextClassificationPipeline(model=model, tokenizer=tokenizer)
45
+
46
+ print(pipe("Hadi modeli deneyelim"))
47
+ ```
48
+
49
+
50
+ ## Model Card Authors
51
+
52
+ * Bilge Nur BEKAR