Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
map_id: string
topic: string
relation: string
trigger_terms: list<item: string>
  child 0, item: string
entries: list<item: struct<doc: string, article: int64, role: string, fact_summary: string>>
  child 0, item: struct<doc: string, article: int64, role: string, fact_summary: string>
      child 0, doc: string
      child 1, article: int64
      child 2, role: string
      child 3, fact_summary: string
char_len: int64
indexable: bool
effective_date: timestamp[s]
article: int64
title: string
doc: string
status: string
text_for_index: string
article_id: string
text: string
doc_key: string
citation: string
source_file: string
to
{'article_id': Value('string'), 'doc': Value('string'), 'doc_key': Value('string'), 'article': Value('int64'), 'title': Value('string'), 'citation': Value('string'), 'text': Value('string'), 'text_for_index': Value('string'), 'char_len': Value('int64'), 'status': Value('string'), 'indexable': Value('bool'), 'effective_date': Value('timestamp[s]'), 'source_file': Value('string')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              map_id: string
              topic: string
              relation: string
              trigger_terms: list<item: string>
                child 0, item: string
              entries: list<item: struct<doc: string, article: int64, role: string, fact_summary: string>>
                child 0, item: struct<doc: string, article: int64, role: string, fact_summary: string>
                    child 0, doc: string
                    child 1, article: int64
                    child 2, role: string
                    child 3, fact_summary: string
              char_len: int64
              indexable: bool
              effective_date: timestamp[s]
              article: int64
              title: string
              doc: string
              status: string
              text_for_index: string
              article_id: string
              text: string
              doc_key: string
              citation: string
              source_file: string
              to
              {'article_id': Value('string'), 'doc': Value('string'), 'doc_key': Value('string'), 'article': Value('int64'), 'title': Value('string'), 'citation': Value('string'), 'text': Value('string'), 'text_for_index': Value('string'), 'char_len': Value('int64'), 'status': Value('string'), 'indexable': Value('bool'), 'effective_date': Value('timestamp[s]'), 'source_file': Value('string')}
              because column names don't match

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.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

약관 인덱스 코퍼스 (2방식)

원문: 약관/*.md (공식 4종)
제출 형식: retrieved = [[문서명, 조번호int], ...] 1~4

폴더

index_schema/
  README.md
  VERIFY_REPORT.json          ← 검증 결과
  A_article_only/             ← 방식 A (파일 2개)
    articles.jsonl            72조
    change_map.jsonl          4맵
    meta.json
  B_hang_ho/                  ← 방식 B (파일 3개)
    articles.jsonl            72조 (A와 동일 본문)
    chunks.jsonl              271청크
    change_map.jsonl          4맵 (A와 동일)
    meta.json
방식 검색 생성 jsonl
A 조 1층 (기본 권고) articles articles.text 2개
B 항·호 2층 chunks → 조 병합 articles.text 3개

문서별 파일 분리 없음. 줄마다 "doc" 로 구분.

공식 문서명 4종

카카오계정 약관
카카오 통합서비스약관
카카오 통합 약관
카카오 위치정보 이용약관

건수

문서 B 청크
카카오계정 약관 17 64
카카오 통합서비스약관 18 87
카카오 통합 약관 21 77
카카오 위치정보 이용약관 16 43
72 271

검증 (VERIFY_REPORT.json)

  • JSONL 파싱, 문서명 4종, article int, 중복 키 없음
  • 골드 12조 존재 + 핵심 문자열 (1인, 2시간, 존속, 세부지침, 6개월 등)
  • A/B article 본문 동일
  • B: orphan chunk 없음, 모든 조에 chunk ≥1
  • P02: 세 조 모두 2시간 포함
  • 키워드 probe top4: P01/P05/P07/P08/P09 히트

ok: true 이어야 사용.

사용

  • 기본 구현 (A): A_article_only/articles.jsonl (+ change_map) → HF → BM25 on articles
  • B 실험: B_hang_ho/chunks.jsonl 검색 후 (doc, article) 병합 → articles 전문
  • change_map: 원문 비삽입, 최신 치환·문서 간 중복 제거 금지
Downloads last month
24