CoolFace
Modelpublic

atakanince/distilbert-base-uncased-turkish-offensiveLanguage-v1

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes8downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

Distilbert Base Uncased Turkish Offensive Language Classifier - Atakan Ince

This model is a fine-tuned version of distilbert/distilbert-base-uncased on the Turkish Offensive Language Dataset dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.2440
  • —Accuracy: 0.9067

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 1e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 500
  • —training_steps: 4000
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
0.30750.3610000.28710.8901
0.26520.7220000.25200.9031
0.28251.0930000.25060.9007
0.24711.4540000.24400.9067

Framework versions

  • —Transformers 4.38.2
  • —Pytorch 2.1.0+cu121
  • —Datasets 2.18.0
  • —Tokenizers 0.15.2