Portuguese sent_legal_bert_base_cased_ptbr_pipeline pipeline BertSentenceEmbeddings from dominguesm

Description

Pretrained BertSentenceEmbeddings, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.sent_legal_bert_base_cased_ptbr_pipeline is a Portuguese model originally trained by dominguesm.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("sent_legal_bert_base_cased_ptbr_pipeline", lang = "pt")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("sent_legal_bert_base_cased_ptbr_pipeline", lang = "pt")
val annotations = pipeline.transform(df)

Model Information

Model Name: sent_legal_bert_base_cased_ptbr_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: pt
Size: 470.6 MB

References

https://huggingface.co/dominguesm/legal-bert-base-cased-ptbr

Included Models

  • DocumentAssembler
  • TokenizerModel
  • SentenceDetectorDLModel
  • BertSentenceEmbeddings