Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.romanian_offense_pipeline is a Moldavian, Moldovan, Romanian model originally trained by readerbench.
How to use
pipeline = PretrainedPipeline("romanian_offense_pipeline", lang = "ro")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("romanian_offense_pipeline", lang = "ro")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | romanian_offense_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | ro |
| Size: | 431.5 MB |
References
https://huggingface.co/readerbench/ro-offense
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification