---
title: stsb
canonical_url: "https://www.modelscope.cn/datasets/sentence-transformers/stsb"
md_url: "https://www.modelscope.cn/datasets/sentence-transformers/stsb.md"
repository: sentence-transformers/stsb
last_updated: 2025-01-06
license: "Apache License 2.0"
storage_size: "708 KB"
downloads: 10344
stars: 3
---

# stsb

> stsb - sentence-transformers 在 ModelScope 开源的数据集。Dataset Card for STSB

sentence-transformers/stsb 是 ModelScope 魔搭社区上的数据集，存储大小 708 KB，采用 Apache License 2.0 许可。

- **Repository**: sentence-transformers/stsb
- **License**: Apache License 2.0
- **Storage size**: 708 KB
- **Downloads**: 10344
- **Stars**: 3
- **Last updated**: 2025-01-06

Source: https://www.modelscope.cn/datasets/sentence-transformers/stsb

---

# Dataset Card for STSB

The Semantic Textual Similarity Benchmark (Cer et al., 2017) is a collection of sentence pairs drawn from news headlines, video and image captions, and natural language inference data.
Each pair is human-annotated with a similarity score from 1 to 5. However, for this variant, the similarity scores are normalized to between 0 and 1.

## Dataset Details

* Columns: "sentence1", "sentence2", "score"
* Column types: `str`, `str`, `float`
* Examples:
    ```python
    {
      'sentence1': 'A man is playing a large flute.',
      'sentence2': 'A man is playing a flute.',
      'score': 0.76,
    }
    ```
* Collection strategy: Reading the sentences and score from STSB dataset and dividing the score by 5.
* Deduplified: No
