askubuntu
收藏资源简介:
AskUbuntu数据集(Lei等人,2016)是一个从AskUbuntu.com 2014年语料库转储中提取并经过预处理的问题集合。该数据集包含400*20的手动标注,标注问题对为“相似”或“不相似”。数据集来源于原始的GitHub仓库。数据集包含三个分割:训练集(train)、开发集(dev)和测试集(test),分别包含12724、200和200个样本。每个样本包含三个字段:"query"(字符串类型,表示查询问题)、"positive"(字符串列表,表示与查询问题相似的问题列表)和"negative"(字符串列表,表示与查询问题不相似的问题列表)。对于训练集,"positive"列表是根据AskUbuntu自动判断的相似问题,而"negative"列表是随机选择的问题;对于开发集和测试集,"positive"列表是人工标注的,可能为空。数据集未进行去重处理,适用于句子相似性、信息检索等自然语言处理任务。
The AskUbuntu dataset (Lei et al., 2016) is a collection of questions extracted and preprocessed from the 2014 corpus dump of AskUbuntu.com. It contains 400×20 manually annotated question pairs labeled as "similar" or "dissimilar". The dataset is sourced from its original GitHub repository. It includes three splits: training set (train), development set (dev), and test set (test), containing 12724, 200, and 200 samples respectively. Each sample contains three fields: "query" (string type, representing the query question), "positive" (list of strings, a list of questions similar to the query), and "negative" (list of strings, a list of questions dissimilar to the query). For the training set, the "positive" list consists of similar questions automatically identified by AskUbuntu, while the "negative" list is randomly selected questions; for the development and test sets, the "positive" list is manually annotated and may be empty. The dataset has not been deduplicated and is applicable to natural language processing tasks such as sentence similarity and information retrieval.
AskUbuntu 数据集概述
数据集基本信息
- 数据集名称: AskUbuntu
- 数据集来源: 原始数据来自 AskUbuntu.com 2014 语料库转储,并经过预处理。数据集源自原始 GitHub 仓库。
- 创建/引用: Lei et al., 2016
- 语言: 英语 (en)
- 标签: sentence-transformers
数据集内容与结构
- 目的: 该数据集包含来自 AskUbuntu.com 的预处理问题,并附带 400*20 个人工标注,将问题对标记为“相似”或“不相似”。
- 主要特征(列):
query: 查询问题 (数据类型: string)positive: 相似问题列表 (数据类型: list[string])negative: 不相似问题列表 (数据类型: list[string])
- 数据划分:
train(训练集): 12,724 个样本,大小约 74,263,739 字节dev(开发集): 200 个样本,大小约 238,604 字节test(测试集): 200 个样本,大小约 239,279 字节
- 数据划分说明:
- 对于
train划分,“positive”列表是根据 AskUbuntu 标记的相似问题列表,“negative”列表是随机选择的问题列表。 - 对于
dev和test划分,“positive”列表是人工标注的,可能为空。 - 与原始数据集不同,本数据集中“positive”数据并非“negative”数据的子集,它们是互斥的。
- 对于
- 总下载大小: 42,752,991 字节
- 总数据集大小: 74,741,622 字节
数据格式与示例
- 数据文件配置 (
default):train划分路径:data/train-*dev划分路径:data/dev-*test划分路径:data/test-*
- 数据示例: python { "query": "system running in low graphic mode ( ubuntu without monitor )", "positive": [ "getting system to boot in headless mode set-up without display problems" ], "negative": [ "software center not progress showing mergelist error", "how to install google earth or draftsight for 64-bit os ?", "how to install a huawei ec-226 usb modem ?", ... ] }
数据收集与处理
- 收集策略: 从原始源下载
train_random.txt、dev.text和test.txt文件,并将查询 ID 映射到查询文本。 - 去重处理: 未进行去重。
相关资源
- 另请参阅 sentence-transformers/askubuntu-questions 以获取此数据集中所有 AskUbuntu 问题。




