Slovenian hate_speech_slo_pipeline pipeline BertForSequenceClassification from IMSyPP

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("hate_speech_slo_pipeline", lang = "sl")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("hate_speech_slo_pipeline", lang = "sl")
val annotations = pipeline.transform(df)

Model Information

Model Name: hate_speech_slo_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: sl
Size: 465.7 MB

References

https://huggingface.co/IMSyPP/hate_speech_slo

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification