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