Twi t5_hotel_review_sentiment_pipeline pipeline T5Transformer from clhuang

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("t5_hotel_review_sentiment_pipeline", lang = "tw")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("t5_hotel_review_sentiment_pipeline", lang = "tw")
val annotations = pipeline.transform(df)

Model Information

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

References

https://huggingface.co/clhuang/t5-hotel-review-sentiment

Included Models

  • DocumentAssembler
  • T5Transformer