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