Description
Pretrained XlmRoBertaForQuestionAnswering, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.xlm_roberta_thai_2_pipeline
is a Thai model originally trained by milohpeng.
How to use
pipeline = PretrainedPipeline("xlm_roberta_thai_2_pipeline", lang = "th")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("xlm_roberta_thai_2_pipeline", lang = "th")
val annotations = pipeline.transform(df)
Model Information
Model Name: | xlm_roberta_thai_2_pipeline |
Type: | pipeline |
Compatibility: | Spark NLP 5.5.0+ |
License: | Open Source |
Edition: | Official |
Language: | th |
Size: | 881.1 MB |
References
https://huggingface.co/milohpeng/xlm-roberta-th-2
Included Models
- MultiDocumentAssembler
- XlmRoBertaForQuestionAnswering