image-classification generated_from_trainer

<!-- 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-vit-doc-text-classifer

This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the ernie-ai/image-text-examples-ar-cn-latin-notext dataset. It achieves the following results on the evaluation set:

Model description

It is an image classificatin model fine-tuned to predict whether an images contains text and if that text is Latin script, Chinese or Arabic. It also classifies non-text images.

Training and evaluation data

Dataset: [ernie-ai/image-text-examples-ar-cn-latin-notext]

Training hyperparameters

The following hyperparameters were used during training:

Training results

Training Loss Epoch Step Validation Loss Accuracy
0.2719 2.08 100 0.4120 0.8657
0.1027 4.17 200 0.3907 0.8881
0.0723 6.25 300 0.3107 0.9030

Framework versions