Persian persian_text_emotion_classification_pipeline pipeline BertForSequenceClassification from omid-ebi

Description

Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.persian_text_emotion_classification_pipeline is a Persian model originally trained by omid-ebi.

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: persian_text_emotion_classification_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: fa
Size: 608.7 MB

References

https://huggingface.co/omid-ebi/Persian-Text-Emotion-Classification

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification