|
Download README.md from windkit/smb-office-v1: direct link, hf CLI and curl.
- Browser
- Download file 9.55 kB
-
https://huggingface.co/datasets/windkit/smb-office-v1/resolve/main/README.md
- Command line
-
hf download hf://datasets/windkit/smb-office-v1/README.md
-
curl -L -o README.md https://huggingface.co/datasets/windkit/smb-office-v1/resolve/main/README.md
9.55 kB
| pretty_name: rag_rate Multilingual Enterprise RAG Benchmark (Metadata, Queries & Results) | |
| license: apache-2.0 | |
| language: | |
| - en | |
| - zh | |
| - ja | |
| task_categories: | |
| - question-answering | |
| - text-retrieval | |
| - document-question-answering | |
| tags: | |
| - rag | |
| - benchmark | |
| - multilingual | |
| - office-documents | |
| - retrieval | |
| - reranking | |
| - vlm-ocr | |
| - evaluation | |
| configs: | |
| - config_name: files | |
| default: true | |
| data_files: | |
| - split: real_biz | |
| path: data/files/real_biz.parquet | |
| - split: real_biz_lg | |
| path: data/files/real_biz_lg.parquet | |
| - split: real_biz_xl | |
| path: data/files/real_biz_xl.parquet | |
| - split: real_biz_vis | |
| path: data/files/real_biz_vis.parquet | |
| - split: mixed | |
| path: data/files/mixed.parquet | |
| - split: en_main | |
| path: data/files/en_main.parquet | |
| - split: zh_main | |
| path: data/files/zh_main.parquet | |
| - split: ja_main | |
| path: data/files/ja_main.parquet | |
| - split: smoke | |
| path: data/files/smoke.parquet | |
| - config_name: queries | |
| data_files: | |
| - split: real_biz | |
| path: data/queries/real_biz.parquet | |
| - split: real_biz_lg | |
| path: data/queries/real_biz_lg.parquet | |
| - split: real_biz_xl | |
| path: data/queries/real_biz_xl.parquet | |
| - split: real_biz_vis | |
| path: data/queries/real_biz_vis.parquet | |
| - split: mixed | |
| path: data/queries/mixed.parquet | |
| - split: en_main | |
| path: data/queries/en_main.parquet | |
| - split: zh_main | |
| path: data/queries/zh_main.parquet | |
| - split: ja_main | |
| path: data/queries/ja_main.parquet | |
| - split: smoke | |
| path: data/queries/smoke.parquet | |
| - config_name: benchmarks | |
| data_files: | |
| - split: leaderboard | |
| path: data/benchmarks/leaderboard.parquet | |
| - config_name: calibration | |
| data_files: | |
| - split: seed | |
| path: data/calibration/seed.parquet | |
| # `rag_rate` Multilingual Enterprise RAG Benchmark (Metadata, Queries & Verified Results) | |
| Published by **[@windkit](https://github.com/windkit)** (`v1.4.0`). | |
| This repository publishes the **metadata-only file manifests (upstream URLs, licenses, and SHA-256 digests)**, the **Oracle- and pixel-verified trilingual evaluation query sets (`EN` / `ZH` / `JA`)**, and the **complete verified benchmark results** backing our 7-installment engineering field-notes series ([Medium EN](https://medium.com/@windkit) / [note.com JA](https://note.com/windkit)). | |
| > **No raw third-party document binaries are redistributed in this repository.** | |
| > Every entry in the `files` config points to its upstream `source_url` along with its verified `sha256` digest so anyone can reproduce the exact corpus locally from original open-data sources. | |
| ## Dataset & Results Structure | |
| - **`files` (default config, 5,586 unique files across 9 splits):** File-level manifest (`file_id`, `rel_path`, `sha256`, `byte_size`, `format`, `splits`, `license_id`, `source_url`, `attribution_text`, `page_or_unit_count`, CJK edge-case tags). | |
| - **`queries` (9 splits):** | |
| - `real_biz_lg` (**500** wild files) & `real_biz_xl` (**5,000** wild files / `1.20M` chunks): **`500` Oracle-verified multilingual queries** spanning the full `3 x 3` `EN`/`ZH`/`JA` language-pair matrix (`100` each `EN->EN`, `ZH->ZH`, `JA->JA`; `200` balanced 6-direction cross-lingual; `100` Multi-Hop). | |
| - `real_biz_vis` (**30** mixed-media EN/ZH/JA PDFs, `389` pages): **`60` pixel-verified zero-leak queries** (`30` `visual_scan_chart`, `15` `complex_table`, `15` `digital_text_control`). | |
| - **`benchmarks` (`leaderboard`, 97 verified configurations):** Flat Parquet leaderboard spanning Main 1 embeddings & `50 -> 500 -> 5,000` scaling, Main 2 BM25 chunkers, Main 3 local rerankers, Main 4 local LLMs & E2E finale, and Side Story 3 hybrid VLM parsing. | |
| - **`calibration` (`seed`, 150 items):** Human-scored gold items for 3-class (`SUPPORTED` / `CONTRADICTED` / `MISSING`) judge calibration. | |
| - **`results/`:** Full machine-readable JSON & Parquet artifacts (`q500_embeddings_and_scale.json`, `q500_rerankers.json`, `q500_local_llms_unreranked.json`, `q500_local_e2e_finale.json`, `real_biz_vis_vlm_parsing.json`, `runs_summary.parquet`, `query_costs.parquet`, `api_call_stats.json`). | |
| - **`raw/` & `docs/`:** Machine-readable `corpus_lock.json`, per-split provenance manifests (`real_biz*_sources.json`), selection protocols, and `THIRD_PARTY_CORPUS_NOTICES.md`. | |
| ### Split Summary | |
| | Split | Files | Queries | Format Breakdown | | |
| | :--- | ---: | ---: | :--- | | |
| | `real_biz` | 36 | 36 | pdf: 21, docx: 4, pptx: 1, xlsx: 6, csv: 4 | | |
| | `real_biz_lg` | 500 | 500 | pdf: 185, docx: 80, pptx: 45, xlsx: 105, csv: 85 | | |
| | `real_biz_xl` | 5,000 | 500 | pdf: 1571, docx: 153, pptx: 132, xlsx: 1424, csv: 1720 | | |
| | `real_biz_vis` | 30 | 60 | pdf: 30 | | |
| | `mixed` | 500 | 75 | pdf: 100, docx: 100, pptx: 100, xlsx: 100, csv: 100 | | |
| | `en_main` | 180 | 17 | pdf: 100, docx: 20, pptx: 20, xlsx: 20, csv: 20 | | |
| | `zh_main` | 160 | 18 | docx: 40, pptx: 40, xlsx: 40, csv: 40 | | |
| | `ja_main` | 160 | 19 | docx: 40, pptx: 40, xlsx: 40, csv: 40 | | |
| | `smoke` | 50 | 25 | pdf: 10, docx: 10, pptx: 10, xlsx: 10, csv: 10 | | |
| --- | |
| ## Headline Verified Benchmark Results (Single Consumer RTX 4060 Ti 16GB, `$0` Local Stack) | |
| ### 1. Main 1 — `N = 500` Embeddings & `5,000`-File (`1.20M` Vectors) Scale | |
| | Model (`fixed_overlap`, `dense`, `N = 500`) | 500-File `R@2048` (`top1`) | 500-File Best `R@4096` | `MRR` (`top1`) | `5,000`-File (`1.20M` vecs) `R@4096` | | |
| | :--- | :---: | :---: | :---: | :---: | | |
| | **`ollama:qwen3-embedding:8b`** (`$0`) | **`87.1%`** | **`93.1%`** | **`0.807`** | — | | |
| | `ollama:qwen3-embedding:4b` (`$0`) | `86.8%` | `92.9%` | `0.793` | — | | |
| | `models/gemini-embedding-2` (Paid Cloud) | `85.8%` | `92.1%` | `0.783` | *Est. `~$92`* | | |
| | **`ollama:embeddinggemma-2:latest`** (`$0`, `2.5m` / `5.8h` XL) | `83.5%` | `90.8%` | `0.779` | **`86.2%`** (`+5.5 pp` vs `bge-m3`) | | |
| | `ollama:bge-m3:latest` (`$0`, `8.0h` XL) | `81.5%` | `86.6%` | `0.757` | `80.7%` | | |
| ### 2. Main 3 & Main 4 — `$0` Local Post-Rerank End-to-End Finale (`real_biz_lg`, `N = 500`) | |
| | Stack (`qwen3-embedding:8b` -> `qwen3-reranker-8b`) | Budget | `R@Budget` | **Grounded Acc** | **Contra** | Multi-Hop | Cross-Lingual | p50 Gen | | |
| | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | |
| | **`ollama:gemma4:26b` (`top1_pm1`)** | `4096` | **`97.3%`** | **`95.4%`** | **`2.3%`** | **`93.5%`** | **`94.0%`** | `12.17s` | | |
| | **`ollama:gemma4:12b` (`none`)** | `2048` | `96.1%` | **`92.8%`** | **`2.2%`** | `88.0%` | `93.0%` | **`7.26s`** | | |
| | *Un-reranked baseline: `ollama:gemma4:26b` (`top1_pm1`)* | `4096` | `93.1%` | `91.5%` | `2.4%` | `89.0%` | `90.2%` | `12.92s` | | |
| ### 3. Side Story 3 — `real_biz_vis` Hybrid VLM Parsing (`30` PDFs / `389` Pages / `60` Pixel-Verified Queries) | |
| | Parser (`qwen3-embedding:8b` -> `qwen3-reranker-8b` -> `gemma4:26b @ 4K`) | Parse Time | `%` VLM | RR4K Anchor | RR4K Fact-in-Ctx | **E2E Acc** | Visual (`n=30`) | EN / ZH / JA | | |
| | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | |
| | `markitdown_floor` (CPU) | `0.04m` | `0.0%` | `91.7%` | `53.3%` | `52.5%` | `11.7%` | `50.0 / 52.5 / 55.0` | | |
| | `docling_worker` (`Docling 2.150` CPU+OCR) | `46.90m` | `0.0%` | `98.3%` | `60.8%` | `62.5%` | `30.0%` | `72.5 / 52.5 / 62.5` | | |
| | `hybrid_vlm_gate:scan_only` | `7.49m` | `8.7%` | `98.3%` | `72.5%` | `71.7%` | `50.0%` | `60.0 / 80.0 / 75.0` | | |
| | `hybrid_vlm_gate:balanced` | `16.17m` | `15.9%` | `98.3%` | `80.8%` | `75.8%` | `61.7%` | `70.0 / 92.5 / 65.0` | | |
| | **`hybrid_vlm_gate:chart_aware`** | **`51.88m`** | **`47.8%`** | `98.3%` | **`93.3%`** | **`91.7%`** | **`86.7%`** | **`100.0 / 97.5 / 77.5`** | | |
| | `ocria_vlm_full` (`llamaindex/ocria-1`) | `117.34m` | `100.0%` | `100.0%` | `95.0%` | `95.0%` | `93.3%` | `100.0 / 97.5 / 87.5` | | |
| --- | |
| ## Quickstart | |
| ```python | |
| from datasets import load_dataset | |
| # Load file list metadata (no file bytes) | |
| files = load_dataset("windkit/smb-office-v1", "files", split="real_biz_xl") | |
| # Load N=500 multilingual evaluation queries | |
| queries = load_dataset("windkit/smb-office-v1", "queries", split="real_biz_lg") | |
| # Load pixel-verified mixed-media visual parsing queries | |
| vis_queries = load_dataset("windkit/smb-office-v1", "queries", split="real_biz_vis") | |
| # Load verified benchmark leaderboard | |
| leaderboard = load_dataset("windkit/smb-office-v1", "benchmarks", split="leaderboard") | |
| ``` | |
| To fetch and SHA-256-verify the referenced source files locally using the `rag_rate` CLI: | |
| ```bash | |
| uv run rag-rate fetch --split real_biz_lg | |
| ``` | |
| ## Licensing & Attribution | |
| - The dataset metadata, selection manifests, evaluation queries, judge calibration items, and benchmark results authored for `rag_rate` are released under **Apache-2.0**. *(All benchmarks and opinions are personal and independent.)* | |
| - Each referenced third-party document retains its own original upstream license recorded in `license_id` and enumerated in [THIRD_PARTY_CORPUS_NOTICES.md](./THIRD_PARTY_CORPUS_NOTICES.md): | |
| - `HK-Open-Data`: 1,454 files | |
| - `JP-PDL-1.0`: 1,241 files | |
| - `OGL-UK-3.0`: 627 files | |
| - `MIT`: 586 files | |
| - `CC0-1.0`: 550 files | |
| - `CC-BY-4.0`: 522 files | |
| - `CC-BY-3.0`: 256 files | |
| - `Apache-2.0`: 215 files | |
| - `TW-OGDL-1.0`: 102 files | |
| - `ODC-BY`: 11 files | |
| - `HK-Gov-Open-Info`: 8 files | |
| - `JP-Gov-PDL-1.0`: 8 files | |
| - `Public-SEC-EDGAR`: 5 files | |
| - `CDLA-Permissive-2.0`: 1 file | |