---
title: CPRet-Embeddings
canonical_url: "https://www.modelscope.cn/datasets/AI-ModelScope/CPRet-Embeddings"
md_url: "https://www.modelscope.cn/datasets/AI-ModelScope/CPRet-Embeddings.md"
repository: AI-ModelScope/CPRet-Embeddings
last_updated: 2026-03-23
license: cc-by-nc-4.0
storage_size: "5.4 GB"
downloads: 494
stars: 0
---

# CPRet-Embeddings

> CPRet-Embeddings - AI-ModelScope 在 ModelScope 开源的数据集。This repository provides the problem descriptions and their corresponding precomputed embeddings used by the CPRet retrieval server.

AI-ModelScope/CPRet-Embeddings 是 ModelScope 魔搭社区上的数据集，存储大小 5.4 GB，采用 cc-by-nc-4.0 许可。

- **Repository**: AI-ModelScope/CPRet-Embeddings
- **License**: cc-by-nc-4.0
- **Storage size**: 5.4 GB
- **Downloads**: 494
- **Stars**: 0
- **Last updated**: 2026-03-23

Source: https://www.modelscope.cn/datasets/AI-ModelScope/CPRet-Embeddings

---

# CPRet-Embeddings

This repository provides the **problem descriptions** and their corresponding **precomputed embeddings** used by the [CPRet](https://github.com/coldchair/CPRet) retrieval server.

You can explore the retrieval server via the online demo at https://cpret.online/.

## 📦 Files

* `probs_2603.jsonl`  
  A JSONL file containing natural language descriptions of competitive programming problems.  
  Each line is a JSON object with metadata such as problem title, platform/source OJ, URL, and full description.

* `probs_2603_embs.npy`  
  A NumPy array of dense embeddings corresponding to each problem in `probs_2603.jsonl`.  
  These embeddings are generated using the model [coldchair16/CPRetriever-Prob-Qwen3-4B-2510](https://huggingface.co/coldchair16/CPRetriever-Prob-Qwen3-4B-2510).

## 🧠 Embedding Model

The embeddings in this repository are computed with:

* [coldchair16/CPRetriever-Prob-Qwen3-4B-2510](https://huggingface.co/coldchair16/CPRetriever-Prob-Qwen3-4B-2510)

## 🌐 Problem Sources (OJ)

The current `2603` problem set includes problems from the following online judges:

* [Codeforces](https://codeforces.com/)
* [Codeforces Gym](https://codeforces.com/gyms)
* [AtCoder](https://atcoder.jp/)
* [Leetcode](https://leetcode.com/)
* [SPOJ](https://www.spoj.com/)
* [Nowcoder](https://ac.nowcoder.com/)
* [Luogu](https://www.luogu.com.cn/)
* [Loj](https://loj.ac/)
* [CodeChef](https://www.codechef.com/)
* [AIZU](https://judge.u-aizu.ac.jp/onlinejudge/)
* [UOJ](https://uoj.ac/)
* [QOJ](https://qoj.ac/)

Data snapshot: **March 2026**.

## 📚 Full Project

For full server usage, deployment instructions, and query examples, see:  
👉 [CPRet GitHub Repository](https://github.com/coldchair/CPRet)

## 🗂️ Versioning & Naming Convention

This repository uses a **YYMM** naming convention for dataset versions:

- `YY` = last two digits of the year  
- `MM` = month

For example, `2603` means **March 2026**.

Files are named as:

- `probs_<yymm>.jsonl`
- `probs_<yymm>_embs.npy`

This repository keeps the **latest version** as well as **historical versions** of problem sets and embeddings for reproducibility and backward compatibility.

Current latest version: **2603**.
