Overfit-GM/turkish-toxic-language
Viewer • Updated • 77.8k • 101 • 32
How to use cakiryusuff/turkish-toxic-comment-classifier with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="cakiryusuff/turkish-toxic-comment-classifier") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("cakiryusuff/turkish-toxic-comment-classifier")
model = AutoModelForSequenceClassification.from_pretrained("cakiryusuff/turkish-toxic-comment-classifier")This model is a fine-tuned version of dbmdz/bert-base-turkish-cased on the None dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.0442 | 1.0 | 4238 | 0.0326 | 0.5051 | 0.6712 |
| 0.0222 | 2.0 | 8476 | 0.0337 | 0.9391 | 0.9425 |
| 0.0127 | 3.0 | 12714 | 0.0303 | 0.5756 | 0.7041 |
| 0.0085 | 4.0 | 16952 | 0.0296 | 0.9573 | 0.9591 |
Base model
dbmdz/bert-base-turkish-cased