Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.chinese_sentiment_analysis_fund_direction_pipeline is a Chinese model originally trained by sanshizhang.
How to use
pipeline = PretrainedPipeline("chinese_sentiment_analysis_fund_direction_pipeline", lang = "zh")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("chinese_sentiment_analysis_fund_direction_pipeline", lang = "zh")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | chinese_sentiment_analysis_fund_direction_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | zh |
| Size: | 383.3 MB |
References
https://huggingface.co/sanshizhang/Chinese-Sentiment-Analysis-Fund-Direction
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification