Thai distilbert_base_thai_sentiment_pipeline pipeline DistilBertForSequenceClassification from FlukeTJ

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("distilbert_base_thai_sentiment_pipeline", lang = "th")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("distilbert_base_thai_sentiment_pipeline", lang = "th")
val annotations = pipeline.transform(df)

Model Information

Model Name: distilbert_base_thai_sentiment_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: th
Size: 220.6 MB

References

https://huggingface.co/FlukeTJ/distilbert-base-thai-sentiment

Included Models

  • DocumentAssembler
  • TokenizerModel
  • DistilBertForSequenceClassification