Chinese sent_bert_ancient_chinese_pipeline pipeline BertSentenceEmbeddings from Jihuai

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/Jihuai/bert-ancient-chinese

Included Models

  • DocumentAssembler
  • TokenizerModel
  • SentenceDetectorDLModel
  • BertSentenceEmbeddings