File size: 2,114 Bytes
aa75d46
4af91b3
 
ee9090c
4af91b3
ee9090c
4af91b3
ee9090c
 
 
aa75d46
4af91b3
 
 
ee9090c
4af91b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ee9090c
4af91b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ee9090c
 
4af91b3
 
 
 
 
 
 
ca10f67
4af91b3
 
 
 
 
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
65
66
67
68
69
70
71
72
73
74
75
---
license: apache-2.0
task_categories:
  - text-generation
language:
  - en
tags:
  - conversational-search
  - query-rewriting
  - cqr
---

# Conversational Query Rewriting (CQR) Dataset

Unified dataset for training CQR models. Combines human-annotated rewrites from QReCC, CANARD, and Redis examples.

## Schema

| Field | Type | Description |
|-------|------|-------------|
| `context` | `list[str]` | Previous conversation turns |
| `question` | `str` | Context-dependent question |
| `rewrite` | `str` | Self-contained rewrite |
| `dataset` | `str` | Source dataset |
| `split` | `str` | Original split |
| `index` | `int` | Original index |

## Splits

| Split | Count |
|-------|-------|
| train | 83702 |
| validation | 2196 |
| test | 19824 |

## Sources

**QReCC** ([apple/ml-qrecc](https://github.com/apple/ml-qrecc)) - Apache 2.0
```bibtex
@inproceedings{anantha-etal-2021-qrecc,
    title = "Open-Domain Question Answering Goes Conversational via Question Rewriting",
    author = "Anantha, Raviteja and Vakulenko, Svitlana and Tu, Zhucheng and Longpre, Shayne and Pulman, Stephen and Chappidi, Srinivas",
    booktitle = "NAACL",
    year = "2021",
    url = "https://aclanthology.org/2021.naacl-main.44",
}
```

**CANARD** ([uva-irlab/canard_quretec](https://huggingface.co/datasets/uva-irlab/canard_quretec)) - CC BY-SA 4.0
```bibtex
@inproceedings{elgohary-etal-2019-canard,
    title = "Can You Unpack That? Learning to Rewrite Questions-in-Context",
    author = "Elgohary, Ahmed and Peskov, Denis and Boyd-Graber, Jordan",
    booktitle = "EMNLP-IJCNLP",
    year = "2019",
    url = "https://aclanthology.org/D19-1605",
}
```

**Redis Examples** - Hand-crafted examples by Redis - Apache 2.0

## Citation

If you use this dataset, please cite this Hugging Face entry and the source datasets above.

```bibtex
@misc{zhechev2025cqr,
    title = "Conversational Query Rewriting Dataset",
    author = "Zhechev, Iliya and Ralev, Rado and Rajamohan, Srijith and Redis",
    year = "2025",
    publisher = "Hugging Face",
    url = "https://huggingface.co/datasets/redis/langcache-cqr-v1",
}
```