Italian hate_ita_pipeline pipeline XlmRoBertaForSequenceClassification from MilaNLProc

Description

Pretrained XlmRoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.hate_ita_pipeline is a Italian model originally trained by MilaNLProc.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("hate_ita_pipeline", lang = "it")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("hate_ita_pipeline", lang = "it")
val annotations = pipeline.transform(df)

Model Information

Model Name: hate_ita_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: it
Size: 1.0 GB

References

https://huggingface.co/MilaNLProc/hate-ita

Included Models

  • DocumentAssembler
  • TokenizerModel
  • XlmRoBertaForSequenceClassification