Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.indonesian_sentiment_pipeline is a Indonesian model originally trained by taufiqdp.
How to use
pipeline = PretrainedPipeline("indonesian_sentiment_pipeline", lang = "id")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("indonesian_sentiment_pipeline", lang = "id")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | indonesian_sentiment_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | id |
| Size: | 414.0 MB |
References
https://huggingface.co/taufiqdp/indonesian-sentiment
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification