Tagalog tagalog_hatespeech_detection_pipeline pipeline RoBertaForSequenceClassification from ggpt1006

Description

Pretrained RoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.tagalog_hatespeech_detection_pipeline is a Tagalog model originally trained by ggpt1006.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("tagalog_hatespeech_detection_pipeline", lang = "tl")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("tagalog_hatespeech_detection_pipeline", lang = "tl")
val annotations = pipeline.transform(df)

Model Information

Model Name: tagalog_hatespeech_detection_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: tl
Size: 442.7 MB

References

https://huggingface.co/ggpt1006/tl-hatespeech-detection

Included Models

  • DocumentAssembler
  • TokenizerModel
  • RoBertaForSequenceClassification