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