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