English mdeberta_v2_base_prompt_injections_pipeline pipeline DeBertaForSequenceClassification from Fan1018

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: mdeberta_v2_base_prompt_injections_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: en
Size: 786.3 MB

References

https://huggingface.co/Fan1018/mdeberta-v2-base-prompt-injections

Included Models

  • DocumentAssembler
  • TokenizerModel
  • DeBertaForSequenceClassification