Persian vit_persian_food_classifier_mini_pipeline pipeline ViTForImageClassification from iTzMiNOS

Description

Pretrained ViTForImageClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.vit_persian_food_classifier_mini_pipeline is a Persian model originally trained by iTzMiNOS.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("vit_persian_food_classifier_mini_pipeline", lang = "fa")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("vit_persian_food_classifier_mini_pipeline", lang = "fa")
val annotations = pipeline.transform(df)

Model Information

Model Name: vit_persian_food_classifier_mini_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: fa
Size: 321.4 MB

References

https://huggingface.co/iTzMiNOS/vit-persian-food-classifier-mini

Included Models

  • ImageAssembler
  • ViTForImageClassification