Swahili (macrolanguage) xlm_r_swh_latn_pipeline pipeline XlmRoBertaEmbeddings from DGurgurov

Description

Pretrained XlmRoBertaEmbeddings, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.xlm_r_swh_latn_pipeline is a Swahili (macrolanguage) model originally trained by DGurgurov.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("xlm_r_swh_latn_pipeline", lang = "sw")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("xlm_r_swh_latn_pipeline", lang = "sw")
val annotations = pipeline.transform(df)

Model Information

Model Name: 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
  • XlmRoBertaEmbeddings