Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.minilm_l6_danish_reranker_v2_pipeline is a Danish model originally trained by KennethTM.
How to use
pipeline = PretrainedPipeline("minilm_l6_danish_reranker_v2_pipeline", lang = "da")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("minilm_l6_danish_reranker_v2_pipeline", lang = "da")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | minilm_l6_danish_reranker_v2_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | da |
| Size: | 85.5 MB |
References
https://huggingface.co/KennethTM/MiniLM-L6-danish-reranker-v2
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification