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