Description
Pretrained XlmRoBertaSentenceEmbeddings, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.sent_xlm_r_swh_latn_pipeline
is a Swahili (macrolanguage) model originally trained by DGurgurov.
How to use
pipeline = PretrainedPipeline("sent_xlm_r_swh_latn_pipeline", lang = "sw")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("sent_xlm_r_swh_latn_pipeline", lang = "sw")
val annotations = pipeline.transform(df)
Model Information
Model Name: | sent_xlm_r_swh_latn_pipeline |
Type: | pipeline |
Compatibility: | Spark NLP 5.5.1+ |
License: | Open Source |
Edition: | Official |
Language: | sw |
Size: | 1.0 GB |
References
https://huggingface.co/DGurgurov/xlm-r_swh-latn
Included Models
- DocumentAssembler
- TokenizerModel
- SentenceDetectorDLModel
- XlmRoBertaSentenceEmbeddings