Swedish sentiment_model_testing_pipeline pipeline DistilBertForSequenceClassification from Alindstroem89

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("sentiment_model_testing_pipeline", lang = "sv")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("sentiment_model_testing_pipeline", lang = "sv")
val annotations = pipeline.transform(df)

Model Information

Model Name: sentiment_model_testing_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: sv
Size: 249.5 MB

References

https://huggingface.co/Alindstroem89/sentiment_model_testing

Included Models

  • DocumentAssembler
  • TokenizerModel
  • DistilBertForSequenceClassification