XLNet Base CoNLL-03 NER Pipeline

Description

This pretrained pipeline is built on the top of xlnet_base_token_classifier_conll03 model.

Predicted Entities

Download Copy S3 URI

How to use

pipeline = PretrainedPipeline("xlnet_base_token_classifier_conll03_pipeline", lang = "en")

pipeline.annotate("My name is John and I work at John Snow Labs.")
val pipeline = new PretrainedPipeline("xlnet_base_token_classifier_conll03_pipeline", lang = "en")

pipeline.annotate("My name is John and I work at John Snow Labs.")

Results

Results




+--------------+---------+
|chunk         |ner_label|
+--------------+---------+
|John          |PER      |
|John Snow Labs|ORG      |
+--------------+---------+


{:.model-param}

Model Information

Model Name: xlnet_base_token_classifier_conll03_pipeline
Type: pipeline
Compatibility: Spark NLP 4.4.2+
License: Open Source
Edition: Official
Language: en
Size: 438.6 MB

Included Models

  • DocumentAssembler
  • SentenceDetectorDLModel
  • TokenizerModel
  • XlnetForTokenClassification
  • NerConverter
  • Finisher