Bengali xlm_roberta_base_hate_speech_ben_hin_pipeline pipeline XlmRoBertaForSequenceClassification from kingshukroy

Description

Pretrained XlmRoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.xlm_roberta_base_hate_speech_ben_hin_pipeline is a Bengali model originally trained by kingshukroy.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("xlm_roberta_base_hate_speech_ben_hin_pipeline", lang = "bn")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("xlm_roberta_base_hate_speech_ben_hin_pipeline", lang = "bn")
val annotations = pipeline.transform(df)

Model Information

Model Name: xlm_roberta_base_hate_speech_ben_hin_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: bn
Size: 791.2 MB

References

https://huggingface.co/kingshukroy/xlm-roberta-base-hate-speech-ben-hin

Included Models

  • DocumentAssembler
  • TokenizerModel
  • XlmRoBertaForSequenceClassification