---
title: msmarco-passage-ranking
canonical_url: "https://www.modelscope.cn/datasets/zyznull/msmarco-passage-ranking"
md_url: "https://www.modelscope.cn/datasets/zyznull/msmarco-passage-ranking.md"
repository: zyznull/msmarco-passage-ranking
chinese_name: "msmarco passage ranking语义相关性数据集"
last_updated: 2022-09-29
license: "Apache License 2.0"
storage_size: "6.4 KB"
domain:
  - text
tasks:
  - sentence-similarity
language:
  - en
downloads: 577
stars: 0
---

# msmarco-passage-ranking

> msmarco-passage-ranking - zyznull 在 ModelScope 开源的数据集。msmarco passage ranking语义相关性数据集，包含训练语义相关性/文本表示模型的训练，测试数据

zyznull/msmarco-passage-ranking 是 ModelScope 魔搭社区上的sentence-similarity数据集，涉及 text 领域，存储大小 6.4 KB，采用 Apache License 2.0 许可。

- **Repository**: zyznull/msmarco-passage-ranking
- **License**: Apache License 2.0
- **Tasks**: sentence-similarity
- **Domain**: text
- **Storage size**: 6.4 KB
- **Downloads**: 577
- **Stars**: 0
- **Last updated**: 2022-09-29

Source: https://www.modelscope.cn/datasets/zyznull/msmarco-passage-ranking

---

## 数据集描述
MS MARCO Passage Ranking数据集，包含用于语义相关性模型，文本表示模型的训练数据（400782条）及测试数据（6980条）。其中训练集为训练集每条query CoCondenser检索结果top1000采样，测试集为每条query对应的coCondenser模型top100结果。

### 数据集简介
数据格式如下：
```
{
    "query_id": string,
    "query": string,
    "postivate_passage": List({"docid":string, "title": string, "text": string}),
    "negative_passage": List({"docid":string, "title": string, "text": string})
}
```

### 加载方法
```
from modelscope.msdatasets import MsDataset
ds =  MsDataset.load('msmarco-passage-ranking','zyznull')
```
### 数据集统计
| split      | Count  |
|------------|--------|
| train      | 502939 |
| dev        | 6980   |


### Clone with HTTP
* http://www.modelscope.cn/datasets/zyznull/msmarco-passage-ranking.git
