Multilingual passage_ranker_pistachio_pipeline pipeline BertForSequenceClassification from sinequa

Description

Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.passage_ranker_pistachio_pipeline is a Multilingual model originally trained by sinequa.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("passage_ranker_pistachio_pipeline", lang = "xx")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("passage_ranker_pistachio_pipeline", lang = "xx")
val annotations = pipeline.transform(df)

Model Information

Model Name: passage_ranker_pistachio_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: xx
Size: 627.7 MB

References

https://huggingface.co/sinequa/passage-ranker.pistachio

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification