Russian response_toxicity_classifier_base_pipeline pipeline BertForSequenceClassification from t-bank-ai

Description

Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.response_toxicity_classifier_base_pipeline is a Russian model originally trained by t-bank-ai.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("response_toxicity_classifier_base_pipeline", lang = "ru")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("response_toxicity_classifier_base_pipeline", lang = "ru")
val annotations = pipeline.transform(df)

Model Information

Model Name: response_toxicity_classifier_base_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: ru
Size: 611.0 MB

References

https://huggingface.co/t-bank-ai/response-toxicity-classifier-base

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification