French camembert_base_toxic_french_user_prompts_pipeline pipeline CamemBertForSequenceClassification from AgentPublic

Description

Pretrained CamemBertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.camembert_base_toxic_french_user_prompts_pipeline is a French model originally trained by AgentPublic.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("camembert_base_toxic_french_user_prompts_pipeline", lang = "fr")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("camembert_base_toxic_french_user_prompts_pipeline", lang = "fr")
val annotations = pipeline.transform(df)

Model Information

Model Name: camembert_base_toxic_french_user_prompts_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: fr
Size: 391.4 MB

References

https://huggingface.co/AgentPublic/camembert-base-toxic-fr-user-prompts

Included Models

  • DocumentAssembler
  • TokenizerModel
  • CamemBertForSequenceClassification