Sinhala, Sinhalese nsina_category_sinbert_small_pipeline pipeline RoBertaForSequenceClassification from sinhala-nlp

Description

Pretrained RoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.nsina_category_sinbert_small_pipeline is a Sinhala, Sinhalese model originally trained by sinhala-nlp.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("nsina_category_sinbert_small_pipeline", lang = "si")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("nsina_category_sinbert_small_pipeline", lang = "si")
val annotations = pipeline.transform(df)

Model Information

Model Name: nsina_category_sinbert_small_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: si
Size: 249.4 MB

References

https://huggingface.co/sinhala-nlp/NSINA-Category-sinbert-small

Included Models

  • DocumentAssembler
  • TokenizerModel
  • RoBertaForSequenceClassification