Multilingual legal_xlm_roberta_base_pipeline pipeline RoBertaEmbeddings from joelniklaus

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: legal_xlm_roberta_base_pipeline
Type: pipeline
Compatibility: Spark NLP 5.4.2+
License: Open Source
Edition: Official
Language: xx
Size: 692.2 MB

References

https://huggingface.co/joelniklaus/legal-xlm-roberta-base

Included Models

  • DocumentAssembler
  • TokenizerModel
  • RoBertaEmbeddings