Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.test_dynamic_pipeline_lysandre is a English model originally trained by lysandre.
How to use
pipeline = PretrainedPipeline("test_dynamic_pipeline_lysandre", lang = "en")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("test_dynamic_pipeline_lysandre", lang = "en")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | test_dynamic_pipeline_lysandre |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Input Labels: | [document, token] |
| Output Labels: | [class] |
| Language: | en |
| Size: | 361.3 KB |
References
https://huggingface.co/lysandre/test-dynamic-pipeline