Arabic arabic_sentiment_model_pipeline pipeline BertForSequenceClassification from Walid-Ahmed

Description

Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.arabic_sentiment_model_pipeline is a Arabic model originally trained by Walid-Ahmed.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("arabic_sentiment_model_pipeline", lang = "ar")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("arabic_sentiment_model_pipeline", lang = "ar")
val annotations = pipeline.transform(df)

Model Information

Model Name: arabic_sentiment_model_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: ar
Size: 507.1 MB

References

https://huggingface.co/Walid-Ahmed/arabic-sentiment-model

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification