Persian mt5_small_parsinlu_sentiment_analysis_pipeline pipeline T5Transformer from persiannlp

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("mt5_small_parsinlu_sentiment_analysis_pipeline", lang = "fa")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("mt5_small_parsinlu_sentiment_analysis_pipeline", lang = "fa")
val annotations = pipeline.transform(df)

Model Information

Model Name: mt5_small_parsinlu_sentiment_analysis_pipeline
Type: pipeline
Compatibility: Spark NLP 5.4.2+
License: Open Source
Edition: Official
Language: fa
Size: 819.7 MB

References

https://huggingface.co/persiannlp/mt5-small-parsinlu-sentiment-analysis

Included Models

  • DocumentAssembler
  • T5Transformer