Chinese sent_fairlex_cail_minilm_pipeline pipeline XlmRoBertaSentenceEmbeddings from coastalcph

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/coastalcph/fairlex-cail-minilm

Included Models

  • DocumentAssembler
  • TokenizerModel
  • SentenceDetectorDLModel
  • XlmRoBertaSentenceEmbeddings