English clip_vit_large_patch14_224_datacomp_hf_pipeline pipeline CLIPForZeroShotClassification from Thouph

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: clip_vit_large_patch14_224_datacomp_hf_pipeline
Type: pipeline
Compatibility: Spark NLP 5.4.2+
License: Open Source
Edition: Official
Language: en
Size: 1.6 GB

References

https://huggingface.co/Thouph/clip-vit-large-patch14-224-datacomp-hf

Included Models

  • ImageAssembler
  • CLIPForZeroShotClassification