Downloads · 30 days
12
29% of all-time downloads
AIZinu/bert-turkish-based-cyberbullying-model
bert-turkish-based-cyberbullying-model 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
12
29% of all-time downloads
All-time downloads
41
Public
Parameters
111M
443 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors443 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 BertTokenizer, BertForSequenceClassification,TextClassificationPipeline
tokenizer = ConvBertTokenizer.from_pretrained("AIZinu/bert-turkish-based-cyberbullying-model")
model = ConvBertForSequenceClassification.from_pretrained("AIZinu/bert-turkish-based-cyberbullying-model")
pipe= TextClassificationPipeline(model=model, tokenizer=tokenizer)
print(pipe("Hadi modeli deneyelim"))