Description
Pretrained XlmRoBertaForQuestionAnswering, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.distilled_xlm_roberta_base_squad2_qa_pipeline is a English model originally trained by Shobhank-iiitdwd.
How to use
pipeline = PretrainedPipeline("distilled_xlm_roberta_base_squad2_qa_pipeline", lang = "en")
annotations =  pipeline.transform(df)   
val pipeline = new PretrainedPipeline("distilled_xlm_roberta_base_squad2_qa_pipeline", lang = "en")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | distilled_xlm_roberta_base_squad2_qa_pipeline | 
| Type: | pipeline | 
| Compatibility: | Spark NLP 5.5.0+ | 
| License: | Open Source | 
| Edition: | Official | 
| Language: | en | 
| Size: | 853.8 MB | 
References
https://huggingface.co/Shobhank-iiitdwd/Distilled-xlm-RoBERTa-base-squad2-QA
Included Models
- MultiDocumentAssembler
- XlmRoBertaForQuestionAnswering