English facebook_bart_large_1024_pubmed_pipeline pipeline BartTransformer from twigs

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: facebook_bart_large_1024_pubmed_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: en
Size: 974.4 MB

References

https://huggingface.co/twigs/facebook-bart-large-1024-pubmed

Included Models

  • DocumentAssembler
  • BartTransformer