Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.marbertv2_finetuned_egyptian_hate_speech_detection_pipeline is a Arabic model originally trained by IbrahimAmin.
How to use
pipeline = PretrainedPipeline("marbertv2_finetuned_egyptian_hate_speech_detection_pipeline", lang = "ar")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("marbertv2_finetuned_egyptian_hate_speech_detection_pipeline", lang = "ar")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | marbertv2_finetuned_egyptian_hate_speech_detection_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | ar |
| Size: | 608.8 MB |
References
https://huggingface.co/IbrahimAmin/marbertv2-finetuned-egyptian-hate-speech-detection
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification