Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.gbert_face_mask_sentiment_pipeline is a German model originally trained by slvnwhrl.
How to use
pipeline = PretrainedPipeline("gbert_face_mask_sentiment_pipeline", lang = "de")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("gbert_face_mask_sentiment_pipeline", lang = "de")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | gbert_face_mask_sentiment_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | de |
| Size: | 411.9 MB |
References
https://huggingface.co/slvnwhrl/gbert-face-mask-sentiment
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification