Portuguese sent_bert_large_portuguese_cased_legal_mlm_pipeline pipeline BertSentenceEmbeddings from stjiris

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: sent_bert_large_portuguese_cased_legal_mlm_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: pt
Size: 1.2 GB

References

https://huggingface.co/stjiris/bert-large-portuguese-cased-legal-mlm

Included Models

  • DocumentAssembler
  • TokenizerModel
  • SentenceDetectorDLModel
  • BertSentenceEmbeddings