Description
Pretrained XlmRoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.xlmroberta_classifier_twitter_emotion_pipeline is a Castilian, Spanish model originally trained by daveni.
How to use
pipeline = PretrainedPipeline("xlmroberta_classifier_twitter_emotion_pipeline", lang = "es")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("xlmroberta_classifier_twitter_emotion_pipeline", lang = "es")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | xlmroberta_classifier_twitter_emotion_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | es |
| Size: | 1.0 GB |
References
https://huggingface.co/daveni/twitter-xlm-roberta-emotion-es
Included Models
- DocumentAssembler
- TokenizerModel
- XlmRoBertaForSequenceClassification