Arabic arabert_restaurant_sentiment_pipeline pipeline BertForSequenceClassification from moazx

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: arabert_restaurant_sentiment_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: ar
Size: 507.3 MB

References

https://huggingface.co/moazx/AraBERT-Restaurant-Sentiment

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification