English db_mc2_9_2_1_pipeline pipeline DistilBertForSequenceClassification from exala

Description

Pretrained DistilBertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.db_mc2_9_2_1_pipeline is a English model originally trained by exala.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("db_mc2_9_2_1_pipeline", lang = "en")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("db_mc2_9_2_1_pipeline", lang = "en")
val annotations = pipeline.transform(df)

Model Information

Model Name: db_mc2_9_2_1_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: en
Size: 249.7 MB

References

https://huggingface.co/exala/db_mc2_9.2.1

Included Models

  • DocumentAssembler
  • TokenizerModel
  • DistilBertForSequenceClassification