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