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.
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