Merge remote-tracking branch 'origin/main' into main
Browse files
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
languages:
|
| 3 |
+
- en-US
|
| 4 |
+
multilinguality:
|
| 5 |
+
- monolingual
|
| 6 |
+
size_categories:
|
| 7 |
+
- 10M<n<100M
|
| 8 |
+
task_categories:
|
| 9 |
+
- text-retrieval
|
| 10 |
+
task_ids:
|
| 11 |
+
- document-retrieval
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# TREC Cast 2019
|
| 15 |
+
|
| 16 |
+
[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.
|
| 17 |
+
|
| 18 |
+
## Dataset statistics
|
| 19 |
+
|
| 20 |
+
- # Passages: 38,426,252
|
| 21 |
+
- # Topics: 20
|
| 22 |
+
- # Queries: 173
|
| 23 |
+
|
| 24 |
+
## Subsets
|
| 25 |
+
|
| 26 |
+
### CAR + MSMARCO Collection
|
| 27 |
+
Together CAR and MSMARCO have a size of 6,13G, so downloading will take a while. You can use the collection as followed:
|
| 28 |
+
```python
|
| 29 |
+
collection = load_dataset('trec-cast-2019-multi-turn', 'test_collection')
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
The collection has the following data format:
|
| 33 |
+
```
|
| 34 |
+
docno: str
|
| 35 |
+
The document id format is [collection_id_paragraph_id] with collection id and paragraph id separated by an underscore.
|
| 36 |
+
The collection ids are in the set: {MARCO, CAR}. E.g.: CAR_6869dee46ab12f0f7060874f7fc7b1c57d53144a
|
| 37 |
+
text: str
|
| 38 |
+
The content of the passage.
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
### Topics
|
| 42 |
+
You can get the topics as followed:
|
| 43 |
+
```python
|
| 44 |
+
topics = load_dataset('trec-cast-2019-multi-turn', 'topics')
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
The topics have the following dataformat:
|
| 48 |
+
```
|
| 49 |
+
qid: str
|
| 50 |
+
Query ID of the format "topicId_questionNumber"
|
| 51 |
+
history: str[]
|
| 52 |
+
A list of queries. It can be empty for the first question in a topic.
|
| 53 |
+
query: str
|
| 54 |
+
The query
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
### Qrels
|
| 58 |
+
You can get the qrels as followed:
|
| 59 |
+
```python
|
| 60 |
+
qrels = load_dataset('trec-cast-2019-multi-turn', 'qrels')
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
The qrels have the following data format:
|
| 64 |
+
```
|
| 65 |
+
qid: str
|
| 66 |
+
Query ID of the format "topicId_questionNumber"
|
| 67 |
+
qrels: List[dict]
|
| 68 |
+
A list of dictionaries with the keys 'docno' and 'relevance'. Relevance is an integer in the range [0, 4]
|
| 69 |
+
```
|