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