Turkish distilbert_base_uncased_turkish_offensivelanguage_v1_pipeline pipeline DistilBertForSequenceClassification from atakanince

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("distilbert_base_uncased_turkish_offensivelanguage_v1_pipeline", lang = "tr")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("distilbert_base_uncased_turkish_offensivelanguage_v1_pipeline", lang = "tr")
val annotations = pipeline.transform(df)

Model Information

Model Name: distilbert_base_uncased_turkish_offensivelanguage_v1_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: tr
Size: 249.5 MB

References

https://huggingface.co/atakanince/distilbert-base-uncased-turkish-offensiveLanguage-v1

Included Models

  • DocumentAssembler
  • TokenizerModel
  • DistilBertForSequenceClassification