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
schema: string
engine: string
model_id: string
revision: string
architectures: list<item: string>
  child 0, item: string
model_type: string
vocab_size: int64
compute_dtype: string
saved_dtype: string
format: string
attn_implementation: string
use_cache: bool
cases_file: string
cases_sha256: string
total_positions: int64
cases: list<item: struct<id: string, token_count: int64, input_token_ids_sha256: string, positions: list<it (... 227 chars omitted)
  child 0, item: struct<id: string, token_count: int64, input_token_ids_sha256: string, positions: list<item: int64>, (... 215 chars omitted)
      child 0, id: string
      child 1, token_count: int64
      child 2, input_token_ids_sha256: string
      child 3, positions: list<item: int64>
          child 0, item: int64
      child 4, shape: list<item: int64>
          child 0, item: int64
      child 5, dtype: string
      child 6, layout: string
      child 7, nonfinite_count: int64
      child 8, next_token_top1_accuracy: double
      child 9, logits_file: string
      child 10, tensor_key: string
      child 11, packed_file_size_bytes: int64
      child 12, packed_file_sha256: string
re_tokenized: bool
source_cases_sha256: string
source_cases_filename: string
schema_version: string
to
{'schema_version': Value('string'), 'source_cases_filename': Value('string'), 'source_cases_sha256': Value('string'), 're_tokenized': Value('bool'), 'cases': List({'id': Value('string'), 'token_ids': List(Value('int64')), 'token_count': Value('int64')})}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 150, 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 274, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 130, 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 579, 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 3074, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, 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 577, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, 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 373, 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 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              schema: string
              engine: string
              model_id: string
              revision: string
              architectures: list<item: string>
                child 0, item: string
              model_type: string
              vocab_size: int64
              compute_dtype: string
              saved_dtype: string
              format: string
              attn_implementation: string
              use_cache: bool
              cases_file: string
              cases_sha256: string
              total_positions: int64
              cases: list<item: struct<id: string, token_count: int64, input_token_ids_sha256: string, positions: list<it (... 227 chars omitted)
                child 0, item: struct<id: string, token_count: int64, input_token_ids_sha256: string, positions: list<item: int64>, (... 215 chars omitted)
                    child 0, id: string
                    child 1, token_count: int64
                    child 2, input_token_ids_sha256: string
                    child 3, positions: list<item: int64>
                        child 0, item: int64
                    child 4, shape: list<item: int64>
                        child 0, item: int64
                    child 5, dtype: string
                    child 6, layout: string
                    child 7, nonfinite_count: int64
                    child 8, next_token_top1_accuracy: double
                    child 9, logits_file: string
                    child 10, tensor_key: string
                    child 11, packed_file_size_bytes: int64
                    child 12, packed_file_sha256: string
              re_tokenized: bool
              source_cases_sha256: string
              source_cases_filename: string
              schema_version: string
              to
              {'schema_version': Value('string'), 'source_cases_filename': Value('string'), 'source_cases_sha256': Value('string'), 're_tokenized': Value('bool'), 'cases': List({'id': Value('string'), 'token_ids': List(Value('int64')), 'token_count': Value('int64')})}
              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.

Shelf BF16 Reference Logits (KL 評価用基準ロジット集)

日本語 | English

shelf 推論エンジンでサポートされているモデルの量子化品質(位置別 KLD: KL(softmax(BF16) || softmax(candidate)) および top-1 一致率)を評価するための、BF16 基準モデルの全語彙生 logits データセットです。量子化チェックポイント検証時に毎回巨大な BF16 モデルを再実行せずに、厳密な分布比較を再現できます。

既存の単体公開データセット(個人アカウント配下)


収録モデル一覧(Recorded Models)

サブディレクトリ ベースモデル HF ID Commit Revision ライセンス 評価セット 形式 / Dtype / Shape 合計サイズ
qwen3.8-27b/ Qwen/Qwen3.8-27B 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0 apache-2.0 cases-v1 (主 8 ケース + repeat 1 ケース / 計 2,761 位置; 主評価 2,632 位置) headerless row-major .f32 (float32), [N, 248320] 2.74 GB (2,742,446,080 B)
hy-mt3-7b/ tencent/Hy-MT3-7B 769b1a2c00af445807aa1b623a43f21549b9feae apache-2.0 corpus_7b (翻訳 6 ケース / 全 2,713 位置から等間隔 2,500 位置評価) headerless row-major .f32 (float32), [N, 128167] 1.39 GB (1,390,868,284 B)

評価プロンプト構成(Prompt Sets)

1. qwen3.8-27b/ — cases-v1 構造

独自作成の評価コーパス(英・日・中散文、Rust/Python/SQL コード、算術、構造化 JSON)で構成されます。

  • cases-v1.json: 各ケースの厳密な入力トークン ID 列(en_prose_129, ja_prose_129, zh_tech_257, rust_code_257, python_code_513, sql_code_1025, arithmetic_65, structured_257, および再現性確認用の en_prose_129_repeat)。
  • corpus-texts-v1.json / corpus-metadata-v1.json: 元テキストと SHA-256 メタデータ。
  • vocab-v1.json: 有効語彙 ID 一覧(248,077 個 / 出力次元 248,320)。
  • results/llama-bf16-fp16/:
    • 生成エンジン: llama.cpp 0.4.0-dev(BF16 GGUF, KV cache f16, flash_attn=on, chunk_size=64)。
    • <case_id>.f32: little-endian float32、shape [token_count, 248320]、行 i は入力トークン i 処理直後の次トークン予測 logits。
    • manifest.json: 各ケースの shape、dtype、nonfinite_count(すべて 0)、input_token_ids_sha256、positions。
  • compare.py: FP64 精度での KL(softmax(reference) || softmax(candidate)) 厳密比較スクリプト。

2. hy-mt3-7b/ — corpus_7b 構造

日英・英日翻訳およびゲームローカライズ・リリースノート等の実務翻訳 6 ケース(w1_general_en_ja 〜 w6_game_en_ja)で構成されます。

  • corpus_7b.json: プロンプト本文・prompt_token_ids・BF16 greedy 出力(generated_ids, greedy_translation)・結合済み入力列 token_ids。
  • manifest.json: transformers(HunYuanDenseV1ForCausalLM, bfloat16, eager attention, use_cache=False)による全位置一括 forward 実行メタデータ。有効語彙範囲は [0, 128165](128,166 個 / 出力次元 128,167)。
  • hf_bf16_<case_id>.f32: little-endian float32、shape [positions, 128167](nonfinite_count = 0)。
  • hf_<case_id>.json / <case_id>.ids / <case_id>.prompt.ids: ケース別実行環境・トークン ID ダンプ。

注記(将来の追加モデルについて): Colab A100/H100 等で生成して追加されるモデルサブディレクトリでは、無損失 2-byte の bfloat16 または float32 / float16 を格納した .safetensors 形式、または .f32 / .npy + manifest.json + metadata.json 形式で収録されます。


shelf を用いた再現・比較手順

Qwen3.8-27B 量子化モデルの KLD 測定(kld-vs-bf16.sh)

  1. 本データセットから qwen3.8-27b/ をローカルにダウンロードします。
    hf download jyohukuchan/shelf-bf16-reference-logits \
      --repo-type dataset \
      --include "qwen3.8-27b/*" \
      --local-dir ./shelf-bf16-ref
    
  2. shelf リポジトリ直下で tools/quality/kld-vs-bf16.sh(または kld_vs_bf16.py)に --data ./shelf-bf16-ref/qwen3.8-27b を指定して実行します。
    ./tools/quality/kld-vs-bf16.sh my-quant-run \
      --bench ./build/shelf-bench \
      --model /path/to/Qwen3.8-27B-EXL3-INT8-4bpw \
      --data ./shelf-bf16-ref/qwen3.8-27b \
      --context 256
    
    • 主 8 ケース(計 2,632 位置、en_prose_129_repeat を除く)について、有効語彙 248,077 個で温度 1・FP64 精度の KL(softmax(BF16) || softmax(candidate))(nats)と top-1 一致率が出力されます。

独立比較スクリプト(compare.py)

2 つの同形式マニフェスト付き .f32 ダンプを比較する場合:

python3 ./shelf-bf16-ref/qwen3.8-27b/compare.py \
  --reference ./shelf-bf16-ref/qwen3.8-27b/results/llama-bf16-fp16 \
  --candidate /path/to/candidate_logits_dir \
  --inputs ./shelf-bf16-ref/qwen3.8-27b/cases-v1.json \
  --vocab ./shelf-bf16-ref/qwen3.8-27b/vocab-v1.json \
  --output ./kld-report.json

帰属・ライセンス(Attribution & License)

  • 各サブディレクトリの logits 出力は、それぞれのベースモデル(Qwen/Qwen3.8-27B、tencent/Hy-MT3-7B)のライセンスである Apache License 2.0 の下で共有されます。
  • cases-v1 および corpus_7b に含まれるプロンプトテキスト・トークン列はプロジェクト独自作成のベンチマーク入力であり、個人情報・ホスト固有パス・秘密情報を含まないことを事前監査済みです。

Shelf BF16 Reference Logits (English)

Full-vocabulary raw logits of official BF16 models supported by the shelf inference engine, curated for reproducible position-level KL divergence (KL(softmax(BF16) || softmax(candidate))) and top-1 agreement evaluation of quantized checkpoints (EXL3-INT8, MXFP4, FP8, GGUF, etc.) without re-running large BF16 checkpoints locally.

Existing Standalone Reference Datasets (Personal Account)

Contents

Subdirectory Source Model HF ID Commit Revision License Prompt Set Tensor Format / Dtype / Shape Total Size
qwen3.8-27b/ Qwen/Qwen3.8-27B 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0 apache-2.0 cases-v1 (8 primary cases + 1 repeat = 2,761 positions; 2,632 scored) Headerless row-major .f32 (float32), [N, 248320] 2.74 GB (2,742,446,080 B)
hy-mt3-7b/ tencent/Hy-MT3-7B 769b1a2c00af445807aa1b623a43f21549b9feae apache-2.0 corpus_7b (6 translation cases; 2,713 total / 2,500 sampled positions) Headerless row-major .f32 (float32), [N, 128167] 1.39 GB (1,390,868,284 B)

Reproduction with shelf

Download qwen3.8-27b/ and run tools/quality/kld-vs-bf16.sh from the shelf repository:

hf download jyohukuchan/shelf-bf16-reference-logits \
  --repo-type dataset \
  --include "qwen3.8-27b/*" \
  --local-dir ./shelf-bf16-ref

./tools/quality/kld-vs-bf16.sh my-quant-run \
  --bench ./build/shelf-bench \
  --model /path/to/quantized-model \
  --data ./shelf-bf16-ref/qwen3.8-27b \
  --context 256

Provenance & Hygiene

  • All evaluation prompts in cases-v1 and corpus_7b are project-authored texts audited to contain zero PII, zero host-specific paths, and zero confidential material.
  • Logits outputs are shared under the Apache-2.0 licenses governing the upstream base models (Qwen/Qwen3.8-27B, tencent/Hy-MT3-7B).
Downloads last month
-