German distilbert_fearspeech_classifier_pipeline pipeline DistilBertForSequenceClassification from PatrickSchwabl

Description

Pretrained DistilBertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.distilbert_fearspeech_classifier_pipeline is a German model originally trained by PatrickSchwabl.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("distilbert_fearspeech_classifier_pipeline", lang = "de")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("distilbert_fearspeech_classifier_pipeline", lang = "de")
val annotations = pipeline.transform(df)

Model Information

Model Name: distilbert_fearspeech_classifier_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: de
Size: 252.5 MB

References

https://huggingface.co/PatrickSchwabl/distilbert_fearspeech_classifier

Included Models

  • DocumentAssembler
  • TokenizerModel
  • DistilBertForSequenceClassification