Downloads · 30 days
13
14% of all-time downloads
AIZinu/convBERT-turk-based-cyberbullying
convBERT-turk-based-cyberbullying is a text classification model from AIZinu. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
This model is a Turkish-based convBERT model created to classify Turkish social media bullying data. Classes included in the model
Downloads · 30 days
13
14% of all-time downloads
All-time downloads
92
Public
Parameters
107M
430 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors430 MB · 100%
From the Hugging Face model README
This model is a Turkish-based convBERT model created to classify Turkish social media bullying data. Classes included in the model
The model was trained from a dataset containing 2981 Twitter data.
pip install transformers
pip install torch
from transformers import ConvBertTokenizer, ConvBertForSequenceClassification,TextClassificationPipeline
tokenizer = ConvBertTokenizer.from_pretrained("AIZinu/convBERT-turk-based-cyberbullying")
model = ConvBertForSequenceClassification.from_pretrained("AIZinu/convBERT-turk-based-cyberbullying")
pipe= TextClassificationPipeline(model=model, tokenizer=tokenizer)
print(pipe("Hadi modeli deneyelim"))
Result:
[{'label': 'LABEL_3', 'score': 0.9994651675224304}]