Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.partypress_monolingual_sweden_pipeline is a Swedish model originally trained by partypress.
How to use
pipeline = PretrainedPipeline("partypress_monolingual_sweden_pipeline", lang = "sv")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("partypress_monolingual_sweden_pipeline", lang = "sv")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | partypress_monolingual_sweden_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.1+ |
| License: | Open Source |
| Edition: | Official |
| Language: | sv |
| Size: | 467.5 MB |
References
https://huggingface.co/partypress/partypress-monolingual-sweden
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification