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