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