Italian cross_encoder_bert_base_stsb_pipeline pipeline BertForSequenceClassification from efederici

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("cross_encoder_bert_base_stsb_pipeline", lang = "it")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("cross_encoder_bert_base_stsb_pipeline", lang = "it")
val annotations = pipeline.transform(df)

Model Information

Model Name: cross_encoder_bert_base_stsb_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: it
Size: 414.8 MB

References

https://huggingface.co/efederici/cross-encoder-bert-base-stsb

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification