Amharic amharic_hate_speech_detection_mbert_pipeline pipeline BertForSequenceClassification from amengemeda

Description

Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.amharic_hate_speech_detection_mbert_pipeline is a Amharic model originally trained by amengemeda.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("amharic_hate_speech_detection_mbert_pipeline", lang = "am")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("amharic_hate_speech_detection_mbert_pipeline", lang = "am")
val annotations = pipeline.transform(df)

Model Information

Model Name: amharic_hate_speech_detection_mbert_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: am
Size: 667.3 MB

References

https://huggingface.co/amengemeda/amharic-hate-speech-detection-mBERT

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification