Description
Pretrained RoBertaForQuestionAnswering, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.roberta_base_bne_squad2_spanish_pipeline is a Castilian, Spanish model originally trained by somosnlp-hackathon-2022.
How to use
pipeline = PretrainedPipeline("roberta_base_bne_squad2_spanish_pipeline", lang = "es")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("roberta_base_bne_squad2_spanish_pipeline", lang = "es")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | roberta_base_bne_squad2_spanish_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | es |
| Size: | 455.8 MB |
References
https://huggingface.co/somosnlp-hackathon-2022/roberta-base-bne-squad2-es
Included Models
- MultiDocumentAssembler
- RoBertaForQuestionAnswering