Description
Pretrained XlmRoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.nsina_category_xlmr_base_pipeline
is a Sinhala, Sinhalese model originally trained by sinhala-nlp.
How to use
pipeline = PretrainedPipeline("nsina_category_xlmr_base_pipeline", lang = "si")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("nsina_category_xlmr_base_pipeline", lang = "si")
val annotations = pipeline.transform(df)
Model Information
Model Name: | nsina_category_xlmr_base_pipeline |
Type: | pipeline |
Compatibility: | Spark NLP 5.5.1+ |
License: | Open Source |
Edition: | Official |
Language: | si |
Size: | 787.4 MB |
References
https://huggingface.co/sinhala-nlp/NSINA-Category-xlmr-base
Included Models
- DocumentAssembler
- TokenizerModel
- XlmRoBertaForSequenceClassification