Dutch BERT Sentence Base Cased Embedding

Description

BERTje is a Dutch pre-trained BERT model developed at the University of Groningen.

Predicted Entities

Download

How to use

sent_embeddings = BertSentenceEmbeddings.pretrained("sent_bert_base_cased", "nl") \
      .setInputCols("sentence") \
      .setOutputCol("bert_sentence")

nlp_pipeline = Pipeline(stages=[document_assembler, sentence_detector, sent_embeddings ])
val sent_embeddings = BertSentenceEmbeddings.pretrained("sent_bert_base_cased", "nl")
      .setInputCols("sentence")
      .setOutputCol("bert_sentence")

val pipeline = new Pipeline().setStages(Array(document_assembler, sentence_detector, sent_embeddings ))

Model Information

Model Name: sent_bert_base_cased
Compatibility: Spark NLP 3.2.2+
License: Open Source
Edition: Official
Input Labels: [sentence]
Output Labels: [bert_sentence]
Language: nl
Case sensitive: true

Data Source

The model is imported from: https://huggingface.co/GroNLP/bert-base-dutch-cased