English gpt2_amazon_sentiment_classifier_v1_0_pipeline pipeline DistilBertForSequenceClassification from ashok2216

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: gpt2_amazon_sentiment_classifier_v1_0_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: en
Size: 249.5 MB

References

https://huggingface.co/ashok2216/gpt2-amazon-sentiment-classifier-V1.0

Included Models

  • DocumentAssembler
  • TokenizerModel
  • DistilBertForSequenceClassification