Persian hafez_ner_pipeline pipeline BertForTokenClassification from ViravirastSHZ

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/ViravirastSHZ/Hafez-NER

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForTokenClassification