C-Pack: Packed Resources For General Chinese Embeddings

Shitao Xiao, Zheng Liu, Peitian Zhang, Niklas Muennighoff, Defu Lian +1 more
9/14/2023
1,198 citations
cs.CLcs.AIcs.IR

Official code: FlagOpen/FlagEmbedding (12,349 stars, Python, MIT, last commit 2026-04-22).

Abstract

We introduce C-Pack, a package of resources that significantly advance the field of general Chinese embeddings. C-Pack includes three critical resources.

Show full abstract

1) C-MTEB is a comprehensive benchmark for Chinese text embeddings covering 6 tasks and 35 datasets. 2) C-MTP is a massive text embedding dataset curated from labeled and unlabeled Chinese corpora for training embedding models. 3) C-TEM is a family of embedding models covering multiple sizes. Our models outperform all prior Chinese text embeddings on C-MTEB by up to +10% upon the time of the release. We also integrate and optimize the entire suite of training methods for C-TEM. Along with our resources on general Chinese embedding, we release our data and models for English text embeddings. The English models achieve state-of-the-art performance on MTEB benchmark; meanwhile, our released English data is 2 times larger than the Chinese data. All these resources are made publicly available at https://github.com/FlagOpen/FlagEmbedding.

View on arXivView PDF

Code Implementations(1)

MIT

Retrieval and Retrieval-augmented LLMs

12,349952Python, Jupyter NotebookAug 2, 20237 months agoMIT
embeddingsinformation-retrievalllmretrieval-augmented-generationsentence-embeddings+1 more

Similar Papers

Cite this paper

@article{xiao2023cpack,
  title  = {C-Pack: Packed Resources For General Chinese Embeddings},
  author = {Shitao Xiao and Zheng Liu and Peitian Zhang and Niklas Muennighoff and Defu Lian and Jian-Yun Nie},
  year   = {2023},
  eprint = {2309.07597},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.07597v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.07597.svg)](https://codeofpaper.com/paper/2309.07597)

Discussion