Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.hatespeech_beto_cased_v1_pipeline
is a Castilian, Spanish model originally trained by delarosajav95.
How to use
pipeline = PretrainedPipeline("hatespeech_beto_cased_v1_pipeline", lang = "es")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("hatespeech_beto_cased_v1_pipeline", lang = "es")
val annotations = pipeline.transform(df)
Model Information
Model Name: | hatespeech_beto_cased_v1_pipeline |
Type: | pipeline |
Compatibility: | Spark NLP 5.5.1+ |
License: | Open Source |
Edition: | Official |
Language: | es |
Size: | 411.7 MB |
References
https://huggingface.co/delarosajav95/HateSpeech-BETO-cased-v1
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification