Description
Pretrained BertForQuestionAnswering, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.bert_extractive_qa_large_project_pipeline is a English model originally trained by amara16.
How to use
pipeline = PretrainedPipeline("bert_extractive_qa_large_project_pipeline", lang = "en")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("bert_extractive_qa_large_project_pipeline", lang = "en")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | bert_extractive_qa_large_project_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.4.2+ |
| License: | Open Source |
| Edition: | Official |
| Language: | en |
| Size: | 1.2 GB |
References
https://huggingface.co/amara16/bert-extractive-qa-large-project
Included Models
- MultiDocumentAssembler
- BertForQuestionAnswering