Chinese roberta_small_word_chinese_cluecorpussmall_pipeline pipeline BertEmbeddings from uer

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/uer/roberta-small-word-chinese-cluecorpussmall

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertEmbeddings