English h2_keywordextractor_pipeline pipeline BartTransformer from transformer3

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/transformer3/H2-keywordextractor

Included Models

  • DocumentAssembler
  • BartTransformer