Description
Pretrained T5Transformer, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.t5_translation_pt2en_pipeline is a Multilingual model originally trained by unicamp-dl.
How to use
pipeline = PretrainedPipeline("t5_translation_pt2en_pipeline", lang = "xx")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("t5_translation_pt2en_pipeline", lang = "xx")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | t5_translation_pt2en_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.4.2+ |
| License: | Open Source |
| Edition: | Official |
| Language: | xx |
| Size: | 999.9 MB |
References
https://huggingface.co/unicamp-dl/translation-pt-en-t5
Included Models
- DocumentAssembler
- T5Transformer