Downloads · 30 days
16
13% of all-time downloads
AIZinu/distilBERT-turkish-based-cyberbullying-model
distilBERT-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.
--- license: mit language: - tr metrics: - f1 - accuracy - recall - confusionmatrix - precision pipelinetag: text-classification
Downloads · 30 days
16
13% of all-time downloads
All-time downloads
121
Public
Parameters
68.1M
272 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors272 MB · 100%
From the Hugging Face model README
license: mit language:
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 DistilBertTokenizer, DistilBertForSequenceClassification,TextClassificationPipeline
tokenizer = ConvBertTokenizer.from_pretrained("AIZinu/distilBERT-turkish-based-cyberbullying-model")
model = ConvBertForSequenceClassification.from_pretrained("AIZinu/distilBERT-turkish-based-cyberbullying-model")
pipe= TextClassificationPipeline(model=model, tokenizer=tokenizer)
print(pipe("Hadi modeli deneyelim"))