English bart_cause_effect_pipeline pipeline BartTransformer from taskload

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: bart_cause_effect_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: en
Size: 1.5 GB

References

https://huggingface.co/taskload/bart-cause-effect

Included Models

  • DocumentAssembler
  • BartTransformer