Chinese t5_longlm_base_pipeline pipeline T5Transformer from thu-coai

Description

Pretrained T5Transformer, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.t5_longlm_base_pipeline is a Chinese model originally trained by thu-coai.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("t5_longlm_base_pipeline", lang = "zh")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("t5_longlm_base_pipeline", lang = "zh")
val annotations = pipeline.transform(df)

Model Information

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

References

https://huggingface.co/thu-coai/LongLM-base

Included Models

  • DocumentAssembler
  • T5Transformer