sentence-transformers/coco-captions
收藏资源简介:
--- language: - en multilinguality: - monolingual size_categories: - 100K<n<1M task_categories: - feature-extraction - sentence-similarity pretty_name: Coco Captions tags: - sentence-transformers dataset_info: config_name: pair features: - name: caption1 dtype: string - name: caption2 dtype: string splits: - name: train num_bytes: 46793540 num_examples: 414010 download_size: 23935511 dataset_size: 46793540 configs: - config_name: pair data_files: - split: train path: pair/train-* --- # Dataset Card for Coco Captions This dataset is a collection of caption pairs given to the same image, collected from the Coco dataset. See [Coco](https://cocodataset.org/) for additional information. This dataset can be used directly with Sentence Transformers to train embedding models. Note that two captions for the same image do not strictly have the same semantic meaning. ## Dataset Subsets ### `pair` subset * Columns: "caption1", "caption2" * Column types: `str`, `str` * Examples: ```python { 'caption1': 'A clock that blends in with the wall hangs in a bathroom. ', 'caption2': 'A very clean and well decorated empty bathroom', } ``` * Collection strategy: Reading the Coco Captions dataset from [embedding-training-data](https://huggingface.co/datasets/sentence-transformers/embedding-training-data), which has lists of duplicate captions. I've considered all adjacent captions as a positive pair, plus the last and first caption. So, e.g. 5 duplicate captions results in 5 duplicate pairs. * Deduplified: No
language: - 英语 multilinguality: - 单语言 size_categories: - 10万<样本数量<100万 task_categories: - 特征提取 - 句子相似度 pretty_name: Coco Captions(Coco图像描述数据集) tags: - 句子转换器(Sentence Transformers) dataset_info: config_name: pair features: - name: caption1 dtype: 字符串 - name: caption2 dtype: 字符串 splits: - name: 训练集 num_bytes: 46793540 num_examples: 414010 download_size: 23935511 dataset_size: 46793540 configs: - config_name: pair data_files: - split: 训练集 path: pair/train-* # Coco Captions 数据集卡片 本数据集是从COCO数据集(Coco dataset)中采集的、针对同一图像的图像描述对集合。更多信息可参阅[COCO官网](https://cocodataset.org/)。 本数据集可直接配合句子转换器(Sentence Transformers)用于嵌入模型的训练。 需注意:针对同一图像的两条描述未必在语义上完全等价。 ## 数据集子集 ### `pair` 子集 * 列名:"caption1"、"caption2" * 列数据类型:均为字符串 * 示例: python { 'caption1': '一款与墙面融为一体的时钟悬挂在浴室中。 ', 'caption2': '一间整洁雅致且空置的浴室', } * 采集策略:从[embedding-training-data](https://huggingface.co/datasets/sentence-transformers/embedding-training-data)的COCO图像描述数据集中读取,该数据集包含重复的描述列表。我们将所有相邻的描述视为正样本对,同时包含首尾两条描述。例如,若有5条重复描述,则会生成5组描述对。 * 去重处理:未进行去重
数据集概述
基本信息
- 名称: Coco Captions
- 语言: 英语
- 多语言性: 单语种
- 大小: 100K<n<1M
- 任务类别: 特征提取, 句子相似度
- 标签: sentence-transformers
数据集配置
- 配置名称: pair
- 特征:
- caption1: 字符串类型
- caption2: 字符串类型
数据分割
- 训练集:
- 字节数: 46793540
- 示例数: 414010
下载与数据集大小
- 下载大小: 23935511
- 数据集大小: 46793540
数据集子集
- 子集名称: pair
- 列: "caption1", "caption2"
- 列类型: 字符串, 字符串
- 示例: 包含两个描述同一图像的不同字幕
- 收集策略: 从embedding-training-data读取Coco Captions数据集,考虑所有相邻字幕作为正对,包括最后一个和第一个字幕。
- 去重: 否




