File size: 2,207 Bytes
f251087
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
license: cc-by-nc-4.0
configs:
  - config_name: default
    data_files:
      - split: all
        path: probs_2606.jsonl
---

# 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_2606.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_2606_embs.npy`  
  A NumPy array of dense embeddings corresponding to each problem in `probs_2606.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 `2606` 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: **June 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

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