Chinese distilbert_base_finetuned_chinanews_chinese_pipeline pipeline DistilBertForSequenceClassification from WangA

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("distilbert_base_finetuned_chinanews_chinese_pipeline", lang = "zh")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("distilbert_base_finetuned_chinanews_chinese_pipeline", lang = "zh")
val annotations = pipeline.transform(df)

Model Information

Model Name: distilbert_base_finetuned_chinanews_chinese_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: zh
Size: 507.6 MB

References

https://huggingface.co/WangA/distilbert-base-finetuned-chinanews-chinese

Included Models

  • DocumentAssembler
  • TokenizerModel
  • DistilBertForSequenceClassification