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