English clip_vit_b_32_laion2b_e16_pipeline pipeline CLIPForZeroShotClassification from justram

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("clip_vit_b_32_laion2b_e16_pipeline", lang = "en")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("clip_vit_b_32_laion2b_e16_pipeline", lang = "en")
val annotations = pipeline.transform(df)

Model Information

Model Name: clip_vit_b_32_laion2b_e16_pipeline
Type: pipeline
Compatibility: Spark NLP 5.4.2+
License: Open Source
Edition: Official
Language: en
Size: 568.0 MB

References

https://huggingface.co/justram/CLIP-ViT-B-32-laion2B-e16

Included Models

  • ImageAssembler
  • CLIPForZeroShotClassification