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