Persian named_entity_recognition_persian_pipeline pipeline BertForTokenClassification from NLPclass

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: named_entity_recognition_persian_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: fa
Size: 606.6 MB

References

https://huggingface.co/NLPclass/Named_entity_recognition_persian

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForTokenClassification