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


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

Model Information

Model Name: xlnet_base_token_classifier_conll03_pipeline
Type: pipeline
Compatibility: Spark NLP 4.0.0+
License: Open Source
Edition: Community
Language: en
Size: 438.5 MB

Included Models

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