Multilingual xlm_roberta_base_pipeline pipeline XlmRoBertaEmbeddings from FacebookAI

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: xlm_roberta_base_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: xx
Size: 652.9 MB

References

https://huggingface.co/FacebookAI/xlm-roberta-base

Included Models

  • DocumentAssembler
  • TokenizerModel
  • XlmRoBertaEmbeddings