English sent_legalbert_large_1_7m_1_pipeline pipeline BertSentenceEmbeddings from pile-of-law

Description

Pretrained BertSentenceEmbeddings, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.sent_legalbert_large_1_7m_1_pipeline is a English model originally trained by pile-of-law.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("sent_legalbert_large_1_7m_1_pipeline", lang = "en")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("sent_legalbert_large_1_7m_1_pipeline", lang = "en")
val annotations = pipeline.transform(df)

Model Information

Model Name: sent_legalbert_large_1_7m_1_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: en
Size: 644.1 MB

References

https://huggingface.co/pile-of-law/legalbert-large-1.7M-1

Included Models

  • DocumentAssembler
  • TokenizerModel
  • SentenceDetectorDLModel
  • BertSentenceEmbeddings