Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.bert_labr_unbalanced_pipeline is a Arabic model originally trained by mofawzy.
Predicted Entities
How to use
pipeline = PretrainedPipeline("bert_labr_unbalanced_pipeline", lang = "ar")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("bert_labr_unbalanced_pipeline", lang = "ar")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | bert_labr_unbalanced_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.1+ |
| License: | Open Source |
| Edition: | Official |
| Language: | ar |
| Size: | 1.3 GB |
References
References
https://huggingface.co/mofawzy/bert-labr-unbalanced
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification