RedditTurkey
收藏资源简介:
Reddit数据集是一个土耳其语/英语指令-响应格式的结构化数据集,旨在为土耳其的大型语言模型生态系统做出贡献。该数据集通过自建的网络爬虫从Reddit公开评论中收集并整理而成。核心数据文件为133kReddit.jsonl,包含约133,333条记录,是从原始530,536条记录的完整数据集中,根据质量信号筛选出的高质量子集,其中土耳其语内容约占60%,英语内容约占40%。数据覆盖了特定的Subreddit社区:英语部分精选了20个高质量、低迷因内容的社区(如r/programming, r/Python, r/AskReddit);土耳其语部分则涵盖了超过140个社区(如r/Turkey, r/BiriyleKonus)。每条数据记录包含多个字段,如id(标识符)、instruction(指令)、output(响应/输出)、lang(语言)、is_duplicate(是否重复)、is_toxic(是否有毒)、toxicity_score(毒性分数)、quality_signal(质量信号)、topic_id(主题ID)和perspective_label(观点标签)。数据集已预先进行了毒性内容标记和重复数据过滤(迷你集中已移除重复项),但请注意,用户作者名未被匿名化处理。数据集适用于指令微调、对话生成、多语言语言模型训练等自然语言处理任务。数据以JSON Lines格式发布,并遵循Apache License 2.0许可证,使用时需同时遵守Reddit的公共内容政策和服务条款。
The Reddit dataset is a structured dataset in Turkish/English instruction-response format, designed to contribute to the Turkish large language model ecosystem. It is collected and organized from Reddit public comments using a self-built web crawler. The core data file is 133kReddit.jsonl, containing approximately 133,333 records, which is a high-quality subset filtered from the original full dataset of 530,536 records based on quality signals, with Turkish content accounting for about 60% and English content for about 40%. The data covers specific Subreddit communities: the English part includes 20 high-quality, low-noise communities (e.g., r/programming, r/Python, r/AskReddit), while the Turkish part covers over 140 communities (e.g., r/Turkey, r/BiriyleKonus). Each data record includes multiple fields, such as id (identifier), instruction, output, lang (language), is_duplicate, is_toxic, toxicity_score, quality_signal, topic_id, and perspective_label. The dataset has been pre-processed with toxic content labeling and duplicate data filtering (duplicates have been removed in the mini-set), but note that user author names are not anonymized. The dataset is suitable for natural language processing tasks such as instruction fine-tuning, dialogue generation, and multilingual language model training. The data is released in JSON Lines format under the Apache License 2.0, and use must comply with Reddits public content policy and terms of service.
数据集概述:Reddit Turkey (Türkçe/İngilizce Talimat-Yanıt Veri Seti)
这是一个从 Reddit 评论中收集并构建的指令-回复(instruction–output)格式的数据集,旨在为土耳其的 LLM 生态系统提供支持。数据集使用自行开发的爬虫工具收集。
文件信息
- 发布文件:
133kReddit.jsonl - 记录数量: 约 133,333 条
- 语言分布: 60% 土耳其语(约 80,000 条)· 40% 英语(约 53,333 条)
- 说明: 这是根据质量分数(
quality_signal)筛选后的高质量子集;完整数据集(530,536 条记录)已不再发布。
数据统计与处理
- 子集构建: 从各语言组中选取质量分数最高的样本,使用随机种子
seed=42进行混合。 - 过滤: 已进行毒性(toxicity)和重复(duplicate)过滤。
涵盖的 Subreddit
- 英语: 仅包含 20 个高质量、低模因内容的 subreddit,例如 r/programming、r/Python、r/AskReddit、r/space、r/eu4 等,排除了模因/恶搞内容 subreddit。
- 土耳其语: 涵盖 140 多个 subreddit,例如 r/Turkey、r/BiriyleKonus、r/LinuxTurkey、r/felsefe 等。
数据字段(摘要)
数据集包含以下字段:id、instruction、output、lang、is_duplicate、is_toxic、toxicity_score、quality_signal、topic_id、perspective_label 等。注意:用户名称(author)未进行匿名化处理。
使用方式
- 直接读取 JSONL 文件:使用 Python 的
json模块逐行加载。 - 通过 Hugging Face
datasets库加载:使用load_dataset函数,指定数据文件为133kReddit.jsonl,分割为"train"。
伦理与许可
- 数据来源: 仅使用公开的 Reddit 数据。
- 毒性内容: 已进行标注但未被完全移除,用户需自行应用额外过滤。
- 重复记录: 已从迷你数据集中移除。
- 许可证: 数据集基于 Apache License 2.0 许可。使用者还需遵守 Reddit 的 Public Content Policy 和 Terms of Service。
目的
该数据集是更大集合的一个小子集,旨在为土耳其的 LLM 生态系统做出贡献,并以开放形式分享。




