Chinese bert_classifier_env_cls_chinese_pipeline pipeline BertForSequenceClassification from celtics1863

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/celtics1863/env-bert-cls-chinese

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification