English nsfw_text_detection_large_pipeline pipeline RoBertaForSequenceClassification from MichalMlodawski

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("nsfw_text_detection_large_pipeline", lang = "en")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("nsfw_text_detection_large_pipeline", lang = "en")
val annotations = pipeline.transform(df)

Model Information

Model Name: nsfw_text_detection_large_pipeline
Type: pipeline
Compatibility: Spark NLP 5.4.2+
License: Open Source
Edition: Official
Language: en
Size: 1.3 GB

References

https://huggingface.co/MichalMlodawski/nsfw-text-detection-large

Included Models

  • DocumentAssembler
  • TokenizerModel
  • RoBertaForSequenceClassification