Description
This pretrained pipeline classifies Urdu news into up to 7 categories.
Live Demo Open in Colab Download Copy S3 URI
How to use
pipeline = PretrainedPipeline("classifierdl_bert_news_pipeline", lang = "ur")
result = pipeline.fullAnnotate("""گزشتہ ہفتے ایپل کے حصص میں 11 فیصد اضافہ ہوا ہے۔""")
val pipeline = new PretrainedPipeline("classifierdl_bert_news_pipeline", "ur")
val result = pipeline.fullAnnotate("گزشتہ ہفتے ایپل کے حصص میں 11 فیصد اضافہ ہوا ہے۔")(0)
Results
['business']
Model Information
Model Name: | classifierdl_bert_news_pipeline |
Type: | pipeline |
Compatibility: | Spark NLP 3.4.0+ |
License: | Open Source |
Edition: | Official |
Language: | ur |
Size: | 1.8 GB |
Included Models
- DocumentAssembler
- BertSentenceEmbeddings
- ClassifierDLModel