Norwegian norwegian_bokml_bert_base_mnli_pipeline pipeline BertForZeroShotClassification from NbAiLab

Description

Pretrained BertForZeroShotClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.norwegian_bokml_bert_base_mnli_pipeline is a Norwegian model originally trained by NbAiLab.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("norwegian_bokml_bert_base_mnli_pipeline", lang = "no")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("norwegian_bokml_bert_base_mnli_pipeline", lang = "no")
val annotations = pipeline.transform(df)

Model Information

Model Name: norwegian_bokml_bert_base_mnli_pipeline
Type: pipeline
Compatibility: Spark NLP 5.4.2+
License: Open Source
Edition: Official
Language: no
Size: 666.2 MB

References

https://huggingface.co/NbAiLab/nb-bert-base-mnli

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForZeroShotClassification