Description
Pretrained DistilBertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.distilbert_base_thai_cased_finetuned_sentiment_pipeline is a Thai model originally trained by FlukeTJ.
How to use
pipeline = PretrainedPipeline("distilbert_base_thai_cased_finetuned_sentiment_pipeline", lang = "th")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("distilbert_base_thai_cased_finetuned_sentiment_pipeline", lang = "th")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | distilbert_base_thai_cased_finetuned_sentiment_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | th |
| Size: | 507.6 MB |
References
https://huggingface.co/FlukeTJ/distilbert-base-thai-cased-finetuned-sentiment
Included Models
- DocumentAssembler
- TokenizerModel
- DistilBertForSequenceClassification