Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

General_English_only_SFT_Filtered_25k

数据集描述

这是一个包含25k条英文指令跟随数据的高质量数据集,经过精心筛选和过滤。

文件结构

  • dataset.jsonl: 主数据文件(JSONL格式)

数据格式

数据集包含以下字段:

  • text: str
  • source: str
  • category: str
  • original_data: dict

使用方法

方法1: 使用datasets库

from datasets import load_dataset

# 加载数据集
dataset = load_dataset("Ibisbill/General_English_only_SFT_Filtered_25k")
print(dataset)

方法2: 直接下载JSONL文件

from huggingface_hub import hf_hub_download
import json

# 下载文件
file_path = hf_hub_download(
    repo_id="Ibisbill/General_English_only_SFT_Filtered_25k",
    filename="dataset.jsonl",
    repo_type="dataset"
)

# 读取JSONL
data = []
with open(file_path, 'r', encoding='utf-8') as f:
    for line in f:
        data.append(json.loads(line))

print(f"加载了 {len(data)} 条记录")

示例数据

{
  "text": "Is the premise \"Two young boys are headed toward a bicycle parked next to a brick house.\" true if \"Two boys are heading toward a bike.\"?\nOPTIONS:\n- yes\n- it is not possible to tell\n- no\nyes\nQ: \"Two people are eating something strange, as evidenced by her laugh and his nose-holding.\" Does this mean that \"Three people are eating something strange, as evidenced by her laugh and his nose-holding.\"? OPTIONS:\n- yes\n- it is not possible to tell\n- no\nA: no\nPremise & Hypothesis & Options: A group of students looking over a balcony on a senior trip.\nSome young people peer over a short wall.\nOPTIONS:\n- yes\n- it is not possible to tell\n- no\nIs the hypothesis true or not: yes\nPremise & hypothesis: Is the premise \"A man and small boy are playing with a wooden toy track system on the floor.\" true if \"The man and the boy are playing.\"?\nOPTIONS:\n- yes\n- it is not possible to tell\n- no\nA: yes\nPremise & hypothesis.\nA little girl runs on the wet sand near the ocean.\n\nHer feet sink into the sand.\nOPTIONS:\n- yes\n- it is not possible to tell\n- no\n++++++++++\ntrue or not.\nyes\nIs the premise \"A little girl in a red dress is standing on a trail in the forest with a horse in the background.\" true if \"a girl is waiting to ride her horse\"?\nOPTIONS:\n- yes\n- it is not possible to tell\n- no\n it is not possible to tell",
  "source": "tulu3",
  "category": "general",
  "original_data": {
    "id": "ai2-adapt-dev/flan_v2_converted_26714",
    "messages": [
      {
        "content": "Is the premise \"Two young boys are headed toward a bicycle parked next to a brick house.\" true if \"Two boys are heading toward a bike.\"?\nOPTIONS:\n- yes\n- it is not possible to tell\n- no\nyes\nQ: \"Two people are eating something strange, as evidenced by her laugh and his nose-holding.\" Does this mean that \"Three people are eating something strange, as evidenced by her laugh and his nose-holding.\"? OPTIONS:\n- yes\n- it is not possible to tell\n- no\nA: no\nPremise & Hypothesis & Options: A group of students looking over a balcony on a senior trip.\nSome young people peer over a short wall.\nOPTIONS:\n- yes\n- it is not possible to tell\n- no\nIs the hypothesis true or not: yes\nPremise & hypothesis: Is the premise \"A man and small boy are playing with a wooden toy track system on the floor.\" true if \"The man and the boy are playing.\"?\nOPTIONS:\n- yes\n- it is not possible to tell\n- no\nA: yes\nPremise & hypothesis.\nA little girl runs on the wet sand near the ocean.\n\nHer feet sink into the sand.\nOPTIONS:\n- yes\n- it is not possible to tell\n- no\n++++++++++\ntrue or not.\nyes\nIs the premise \"A little girl in a red dress is standing on a trail in the forest with a horse in the background.\" true if \"a girl is waiting to ride her horse\"?\nOPTIONS:\n- yes\n- it is not possible to tell\n- no\n",
        "role": "user"
      },
      {
        "content": "it is not possible to tell",
        "role": "assistant"
      }
    ],
    "source": "ai2-adapt-dev/flan_v2_converted"
  }
}

数据统计

  • 总样本数: 25000
  • 数据格式: JSONL
  • 文件大小: 约 25 MB
Downloads last month
14