English pipeline_image_classifier_vit_iiif_manuscript_ ViTForImageClassification from davanstrien

Description

Pretrained VIT model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.image_classifier_vit_iiif_manuscript_ is a English model originally trained by davanstrien.

Predicted Entities

3rd upper flyleaf verso, Blank leaf recto, 3rd lower flyleaf verso, 2nd lower flyleaf verso, 2nd upper flyleaf verso, flyleaf, 1st upper flyleaf verso, 1st lower flyleaf verso, fol, cover, Lower flyleaf verso, Blank leaf verso, Upper flyleaf verso

Download Copy S3 URI

How to use


    pipeline = PretrainedPipeline('pipeline_image_classifier_vit_iiif_manuscript_', lang = 'en')
    annotations =  pipeline.transform(imageDF)
    

    val pipeline = new PretrainedPipeline("pipeline_image_classifier_vit_iiif_manuscript_", lang = "en")
    val annotations = pipeline.transform(imageDF)
    

Model Information

Model Name: pipeline_image_classifier_vit_iiif_manuscript_
Type: pipeline
Compatibility: Spark NLP 4.2.1+
License: Open Source
Edition: Official
Language: en
Size: 322.0 MB

Included Models

  • ImageAssembler
  • ViTForImageClassification