File size: 1,957 Bytes
45c549e
4e82e7e
 
d1a6f45
 
 
2aa96a7
d1a6f45
 
 
 
4e82e7e
 
45c549e
94124a3
cbe1d2f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6fce28e
5ba5cd1
6fce28e
 
 
 
cbe1d2f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
76
77
---
language:
- en
multilinguality:
- monolingual
size_categories:
- 10M<n<100M
task_categories:
- text-retrieval
task_ids:
- document-retrieval
language_bcp47:
- en-US
---

# TREC Cast 2019 

[TREC Cast](http://www.treccast.ai) have released a document collection with topics and qrels of which a subset has been annotated such that it is suitable for multi-turn conversational search.

## Dataset statistics

- # Passages: 38,426,252
- # Topics: 20
- # Queries: 173

## Subsets

### CAR + MSMARCO Collection
Together CAR and MSMARCO have a size of 6,13G, so downloading will take a while. You can use the collection as followed:
```python
collection = load_dataset('trec-cast-2019-multi-turn', 'test_collection')
```

The collection has the following data format:
```
docno: str
  The document id format is [collection_id_paragraph_id] with collection id and paragraph id separated by an underscore.
  The collection ids are in the set: {MARCO, CAR}. E.g.: CAR_6869dee46ab12f0f7060874f7fc7b1c57d53144a
text: str
  The content of the passage.
```

#### Sample
Instead of using the entire data set, you can also download a sample set containing only 200,000 items:
```python
collection = load_dataset('trec-cast-2019-multi-turn', 'test_collection_sample')
```

### Topics
You can get the topics as followed:
```python
topics = load_dataset('trec-cast-2019-multi-turn', 'topics')
```

The topics have the following dataformat:
```
qid: str
  Query ID of the format "topicId_questionNumber"
history: str[]
  A list of queries. It can be empty for the first question in a topic.
query: str
  The query
```

### Qrels
You can get the qrels as followed:
```python
qrels = load_dataset('trec-cast-2019-multi-turn', 'qrels')
```

The qrels have the following data format:
```
qid: str
  Query ID of the format "topicId_questionNumber"
qrels: List[dict]
  A list of dictionaries with the keys 'docno' and 'relevance'. Relevance is an integer in the range [0, 4]
```