CoolFace
Modelpublic

tatiana-merz/turkic-cyrillic-classifier

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
3likes53downloads
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. -->

turkic-cyrillic-classifier

This model is a fine-tuned version of bert-base-multilingual-cased on an tatiana-merz/cyrillicturkiclangs dataset. It achieves the following results on the evaluation set:

{'test_loss': 0.013604652136564255,
 'test_accuracy': 0.997,
 'test_f1': 0.9969996069718668,
 'test_runtime': 60.5479,
 'test_samples_per_second': 148.643,
 'test_steps_per_second': 2.329}

Model description

The model classifies text based on a provided Turkic language written in Cyrillic script.

Languages

  • —bak - Bashkir
  • —chv - Chuvash
  • —sah - Sakha
  • —tat - Tatar
  • —kir - Kyrgyz
  • —kaz - Kazakh
  • —tyv - Tuvinian
  • —krc - Karachay-Balkar
  • —rus - Russian

Intended uses & limitations

Training and evaluation data

cyrillic_turkic_langs

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 2e-05
  • —trainbatchsize: 64
  • —evalbatchsize: 64
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 2

Training results

Training LossEpochStepValidation LossAccuracyF1
0.10631.010000.02040.99500.9950
0.01262.020000.01360.99700.9970

Framework versions

  • —Transformers 4.27.0
  • —Pytorch 1.13.1+cu116
  • —Datasets 2.10.1