Team Ai
Modelpublic

aomar85/finetuned-arabert-textclassificationv01

sourceHugging Faceupdated 4y agoView on Hugging Face
0likes23downloads
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. -->

finetuned-arabert-textclassification

This model is a fine-tuned version of aubmindlab/bert-base-arabertv02 on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.1374
  • —Accuracy: 0.9596
  • —Precision: 0.9863
  • —Recall: 0.9513
  • —F1: 0.9685

Model description

More information needed

Intended uses & limitations

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

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

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
0.1251.0690880.09010.97200.98050.97650.9785
0.10012.01381760.11090.97410.97700.98340.9802
0.09623.02072640.09950.97400.97390.98670.9802
0.09794.02763520.13740.95960.98630.95130.9685

Framework versions

  • —Transformers 4.18.0
  • —Pytorch 1.11.0+cu113
  • —Datasets 2.2.0
  • —Tokenizers 0.12.1