XLNet Large CoNLL-03 NER Pipeline

Description

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

Predicted Entities

Download Copy S3 URI

How to use


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

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

val pipeline = new PretrainedPipeline("xlnet_large_token_classifier_conll03_pipeline", lang = "en")

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

Results


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

Model Information

Model Name: xlnet_large_token_classifier_conll03_pipeline
Type: pipeline
Compatibility: Spark NLP 4.0.0+
License: Open Source
Edition: Community
Language: en
Size: 1.4 GB

Included Models

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