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