Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.passage_ranker_mango_pipeline is a Multilingual model originally trained by sinequa.
How to use
pipeline = PretrainedPipeline("passage_ranker_mango_pipeline", lang = "xx")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("passage_ranker_mango_pipeline", lang = "xx")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | passage_ranker_mango_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | xx |
| Size: | 627.8 MB |
References
https://huggingface.co/sinequa/passage-ranker.mango
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification