Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.german_toxicity_classifier_plus_v2_pipeline
is a German model originally trained by EIStakovskii.
How to use
pipeline = PretrainedPipeline("german_toxicity_classifier_plus_v2_pipeline", lang = "de")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("german_toxicity_classifier_plus_v2_pipeline", lang = "de")
val annotations = pipeline.transform(df)
Model Information
Model Name: | german_toxicity_classifier_plus_v2_pipeline |
Type: | pipeline |
Compatibility: | Spark NLP 5.5.0+ |
License: | Open Source |
Edition: | Official |
Language: | de |
Size: | 412.1 MB |
References
https://huggingface.co/EIStakovskii/german_toxicity_classifier_plus_v2
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification