Chinese questionanswering_pipeline pipeline BertForQuestionAnswering from QQhahaha

Description

Pretrained BertForQuestionAnswering, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.questionanswering_pipeline is a Chinese model originally trained by QQhahaha.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("questionanswering_pipeline", lang = "zh")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("questionanswering_pipeline", lang = "zh")
val annotations = pipeline.transform(df)

Model Information

Model Name: questionanswering_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: zh
Size: 1.2 GB

References

https://huggingface.co/QQhahaha/QuestionAnswering

Included Models

  • MultiDocumentAssembler
  • BertForQuestionAnswering