Description
Pretrained XlmRoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.detect_femicide_news_xlmr_pipeline is a English model originally trained by gossminn.
How to use
pipeline = PretrainedPipeline("detect_femicide_news_xlmr_pipeline", lang = "en")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("detect_femicide_news_xlmr_pipeline", lang = "en")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | detect_femicide_news_xlmr_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.1+ |
| License: | Open Source |
| Edition: | Official |
| Language: | en |
| Size: | 863.0 MB |
References
https://huggingface.co/gossminn/detect-femicide-news-xlmr
Included Models
- DocumentAssembler
- TokenizerModel
- XlmRoBertaForSequenceClassification