Persian distilbert_token_classifier_persian_ner_pipeline pipeline DistilBertForTokenClassification from HooshvareLab

Description

Pretrained DistilBertForTokenClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.distilbert_token_classifier_persian_ner_pipeline is a Persian model originally trained by HooshvareLab.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("distilbert_token_classifier_persian_ner_pipeline", lang = "fa")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("distilbert_token_classifier_persian_ner_pipeline", lang = "fa")
val annotations = pipeline.transform(df)

Model Information

Model Name: distilbert_token_classifier_persian_ner_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: fa
Size: 282.4 MB

References

https://huggingface.co/HooshvareLab/distilbert-fa-zwnj-base-ner

Included Models

  • DocumentAssembler
  • TokenizerModel
  • DistilBertForTokenClassification