English caption_title_pipeline pipeline DistilBertForSequenceClassification from tgieruc

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline('caption_title_pipeline', lang = 'en')
annotations =  pipeline.transform(df)


val pipeline = new PretrainedPipeline('caption_title_pipeline', lang = 'en')
val annotations = pipeline.transform(df)

Model Information

Model Name: caption_title_pipeline
Compatibility: Spark NLP 5.2.2+
License: Open Source
Edition: Official
Input Labels: [documents, token]
Output Labels: [class]
Language: en
Size: 249.5 MB

References

https://huggingface.co/tgieruc/caption-title-pipeline