Datasets:
Tasks:
Question Answering
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10M - 100M
DOI:
spacemanidol
commited on
Commit
•
695641c
1
Parent(s):
525098a
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
task_categories:
|
4 |
+
- question-answering
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
tags:
|
8 |
+
- TREC-RAG
|
9 |
+
- RAG
|
10 |
+
- MSMARCO
|
11 |
+
- MSMARCOV2.1
|
12 |
+
- Snowflake
|
13 |
+
pretty_name: TREC-RAG-Embedding-Baseline
|
14 |
+
size_categories:
|
15 |
+
- 100M<n<1B
|
16 |
+
configs:
|
17 |
+
- config_name: "corpus"
|
18 |
+
data_files:
|
19 |
+
- split: train
|
20 |
+
path: corpus/*
|
21 |
+
---
|
22 |
+
|
23 |
+
# Embeddings for MSMARCO V2.1 for TREC-RAG
|
24 |
+
|
25 |
+
This dataset contains the embeddings for the MSMARCO-V2.1 dataset which is used as the corpora for [TREC RAG](https://trec-rag.github.io/)
|
26 |
+
All embeddings are created using [Snowflake's Arctic Embed L](https://huggingface.co/Snowflake/snowflake-arctic-embed-l) and are intended to serve as a simple baseline for dense retrieval-based methods.
|
27 |
+
|
28 |
+
## Loading the dataset
|
29 |
+
|
30 |
+
### Loading the document embeddings
|
31 |
+
|
32 |
+
You can either load the dataset like this:
|
33 |
+
```python
|
34 |
+
from datasets import load_dataset
|
35 |
+
docs = load_dataset("", split="train")
|
36 |
+
```
|
37 |
+
|
38 |
+
Or you can also stream it without downloading it before:
|
39 |
+
```python
|
40 |
+
from datasets import load_dataset
|
41 |
+
docs = load_dataset("", split="train", streaming=True)
|
42 |
+
for doc in docs:
|
43 |
+
doc_id = doc['_id']
|
44 |
+
title = doc['title']
|
45 |
+
header = doc['header']
|
46 |
+
text = doc['text']
|
47 |
+
emb = doc['emb']
|
48 |
+
```
|