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