Persian parsbert_persian_qa_pipeline pipeline BertForQuestionAnswering from mansoorhamidzadeh

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("parsbert_persian_qa_pipeline", lang = "fa")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("parsbert_persian_qa_pipeline", lang = "fa")
val annotations = pipeline.transform(df)

Model Information

Model Name: parsbert_persian_qa_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: fa
Size: 441.6 MB

References

https://huggingface.co/mansoorhamidzadeh/parsbert-persian-QA

Included Models

  • MultiDocumentAssembler
  • BertForQuestionAnswering