Description
Pretrained BertForTokenClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.n2c2_token_classification_transformer_pipeline
is a English model originally trained by parsi-ai-nlpclass.
How to use
pipeline = PretrainedPipeline("n2c2_token_classification_transformer_pipeline", lang = "en")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("n2c2_token_classification_transformer_pipeline", lang = "en")
val annotations = pipeline.transform(df)
Model Information
Model Name: | n2c2_token_classification_transformer_pipeline |
Type: | pipeline |
Compatibility: | Spark NLP 5.5.1+ |
License: | Open Source |
Edition: | Official |
Language: | en |
Size: | 403.7 MB |
References
https://huggingface.co/parsi-ai-nlpclass/n2c2-token-classification-transformer
Included Models
- DocumentAssembler
- TokenizerModel
- BertForTokenClassification