English flan_t5_base_common_gen_pipeline pipeline T5Transformer from mrm8488

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/mrm8488/flan-t5-base-common_gen

Included Models

  • DocumentAssembler
  • T5Transformer