Multilingual afro_xlmr_base_pipeline pipeline XlmRoBertaEmbeddings from Davlan

Description

Pretrained XlmRoBertaEmbeddings, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.afro_xlmr_base_pipeline is a Multilingual model originally trained by Davlan.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("afro_xlmr_base_pipeline", lang = "xx")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("afro_xlmr_base_pipeline", lang = "xx")
val annotations = pipeline.transform(df)

Model Information

Model Name: afro_xlmr_base_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: xx
Size: 1.0 GB

References

https://huggingface.co/Davlan/afro-xlmr-base

Included Models

  • DocumentAssembler
  • TokenizerModel
  • XlmRoBertaEmbeddings