French sent_drbert_4gb_cp_pubmedbert_pipeline pipeline BertSentenceEmbeddings from Dr-BERT

Description

Pretrained BertSentenceEmbeddings, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.sent_drbert_4gb_cp_pubmedbert_pipeline is a French model originally trained by Dr-BERT.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("sent_drbert_4gb_cp_pubmedbert_pipeline", lang = "fr")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("sent_drbert_4gb_cp_pubmedbert_pipeline", lang = "fr")
val annotations = pipeline.transform(df)

Model Information

Model Name: sent_drbert_4gb_cp_pubmedbert_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: fr
Size: 408.7 MB

References

https://huggingface.co/Dr-BERT/DrBERT-4GB-CP-PubMedBERT

Included Models

  • DocumentAssembler
  • TokenizerModel
  • SentenceDetectorDLModel
  • BertSentenceEmbeddings