Persian bert_classification_persian_emotion_pipeline pipeline BertForSequenceClassification from NLPclass

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/NLPclass/bert_classification_persian_emotion

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification