Persian roberta_sentiment_persian_pipeline pipeline RoBertaForSequenceClassification from dadashzadeh

Description

Pretrained RoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.roberta_sentiment_persian_pipeline is a Persian model originally trained by dadashzadeh.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("roberta_sentiment_persian_pipeline", lang = "fa")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("roberta_sentiment_persian_pipeline", lang = "fa")
val annotations = pipeline.transform(df)

Model Information

Model Name: roberta_sentiment_persian_pipeline
Type: pipeline
Compatibility: Spark NLP 5.4.2+
License: Open Source
Edition: Official
Language: fa
Size: 444.3 MB

References

https://huggingface.co/dadashzadeh/roberta-sentiment-persian

Included Models

  • DocumentAssembler
  • TokenizerModel
  • RoBertaForSequenceClassification