Description
Pretrained XlmRoBertaForQuestionAnswering, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.xlmr_large_qa_persian_farsi_pipeline is a Persian model originally trained by m3hrdadfi.
How to use
pipeline = PretrainedPipeline("xlmr_large_qa_persian_farsi_pipeline", lang = "fa")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("xlmr_large_qa_persian_farsi_pipeline", lang = "fa")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | xlmr_large_qa_persian_farsi_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.1+ |
| License: | Open Source |
| Edition: | Official |
| Language: | fa |
| Size: | 1.9 GB |
References
https://huggingface.co/m3hrdadfi/xlmr-large-qa-fa
Included Models
- MultiDocumentAssembler
- XlmRoBertaForQuestionAnswering