Multilingual distilbert_qa_squad_english_german_spanish_model_pipeline pipeline DistilBertForQuestionAnswering from ZYW

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/ZYW/squad-en-de-es-model

Included Models

  • MultiDocumentAssembler
  • DistilBertForQuestionAnswering