Multilingual mmarco_mminilmv2_l12_h384_v1_pipeline pipeline XlmRoBertaForSequenceClassification from cross-encoder

Description

Pretrained XlmRoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.mmarco_mminilmv2_l12_h384_v1_pipeline is a Multilingual model originally trained by cross-encoder.

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: mmarco_mminilmv2_l12_h384_v1_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: xx
Size: 399.6 MB

References

https://huggingface.co/cross-encoder/mmarco-mMiniLMv2-L12-H384-v1

Included Models

  • DocumentAssembler
  • TokenizerModel
  • XlmRoBertaForSequenceClassification