Persian mt5_english_persian_farsi_translation_nlpclass_pipeline pipeline T5Transformer from NLPclass

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: mt5_english_persian_farsi_translation_nlpclass_pipeline
Type: pipeline
Compatibility: Spark NLP 5.4.2+
License: Open Source
Edition: Official
Language: fa
Size: 1.2 GB

References

https://huggingface.co/NLPclass/mt5_en_fa_translation

Included Models

  • DocumentAssembler
  • T5Transformer