zhs039 commited on
Commit
81fbf0f
·
verified ·
1 Parent(s): 2f9f938

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -46
README.md CHANGED
@@ -15,62 +15,30 @@ license_link: https://huggingface.co/datasets/zhs039/frames-oracle-corpus/blob/m
15
 
16
  # FRAMES Oracle Corpus
17
 
18
- A question-scoped offline corpus derived from
19
- [google/frames-benchmark](https://huggingface.co/datasets/google/frames-benchmark)
20
- and its annotated Wikipedia pages. This is a community-prepared subset, not an
21
- official Google release. It contains data, not saved agent runs or generated answers.
22
 
23
  ## Contents
24
 
25
- All data files are under `corpus/`; the repository root holds only this dataset card, license and repository metadata.
26
 
27
- - `corpus/frames.tsv`: 822 original questions and reference answers, retaining original row IDs and columns.
28
- - `corpus/index.json`: `questions` maps question IDs to document IDs; `documents` maps document IDs to title, source URL and Markdown filename.
29
- - `corpus/doc_0001.md` through `corpus/doc_2500.md`: 2,500 downloaded Wikipedia documents.
30
 
31
- ## Preparation and limitations
32
 
33
- The source is FRAMES `test.tsv` at revision `58d9fb6330f3ab1316d1eca12e5e8ef23dcc22ef`.
34
- Questions **141** and **540** are excluded because required English biographies
35
- are unavailable. Question **823** retains its original Simple English Wikipedia
36
- page; no translation was generated. Question text and reference answers were not rewritten.
37
-
38
- Wikipedia HTML was converted to article-body Markdown, retaining tables and
39
- removing navigation, scripts and reference-list clutter. Combined URL annotations
40
- were split. The malformed Pokemon annotation in question 644 and double-encoded
41
- apostrophe in question 764 were resolved to the corresponding English pages.
42
- Question 650 retains its annotated category-page content.
43
-
44
- These are downloaded snapshots, **not** historical revisions contemporary with
45
- the benchmark. Wikipedia edits and extraction can change the evidence. Keep the
46
- corpus fixed across comparisons. Full gold documents are available per question;
47
- this is not a search or retrieval benchmark.
48
 
49
  ## Download
50
 
51
  ```bash
52
- uvx --from huggingface_hub hf download zhs039/frames-oracle-corpus --repo-type dataset --include "corpus/*" --local-dir .
 
53
  ```
54
 
55
- The dataset is public. Load `corpus/frames.tsv` and use `corpus/index.json` to expose only the
56
- current question's documents.
57
-
58
- ## Licenses and attribution
59
-
60
- The collection is **not uniformly Apache-2.0**.
61
-
62
- - **Questions and answers (`corpus/frames.tsv`)**: derived from Google's
63
- [FRAMES benchmark](https://huggingface.co/datasets/google/frames-benchmark), whose
64
- dataset card declares **Apache License 2.0**. A copy is provided in
65
- `LICENSE-APACHE-2.0.txt`. Modifications: rows 141 and 540 removed; retained rows
66
- packaged with a local document index.
67
- - **Wikipedia text (`corpus/doc_*.md`)**: copyright belongs to the respective Wikipedia
68
- contributors. Extracted/adapted text is distributed under
69
- [CC BY-SA 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/legalcode.en),
70
- subject to separately identified material's applicable terms. `corpus/index.json`
71
- preserves each article's title and source URL; each source page's history lists
72
- its contributors. Extraction modifications are described above. See
73
- [Wikimedia Terms of Use, section 7](https://foundation.wikimedia.org/wiki/Policy:Terms_of_Use/en#7._Licensing_of_Content).
74
 
75
- Redistributors must preserve attribution and comply with each component's
76
- applicable license; Wikipedia text is not relicensed as Apache-2.0.
 
15
 
16
  # FRAMES Oracle Corpus
17
 
18
+ An offline Wikipedia document corpus derived from [google/frames-benchmark](https://huggingface.co/datasets/google/frames-benchmark), packaging each question with its ground-truth reference articles in Markdown.
 
 
 
19
 
20
  ## Contents
21
 
22
+ All dataset files are located under `corpus/`:
23
 
24
+ - `corpus/frames.tsv`: 822 questions and reference answers from FRAMES, retaining original row IDs and columns.
25
+ - `corpus/index.json`: Maps `questions` (question IDs to document IDs) and `documents` (document IDs to title, source URL, and Markdown filename).
26
+ - `corpus/doc_0001.md` – `corpus/doc_2500.md`: 2,500 extracted Wikipedia articles in Markdown.
27
 
28
+ ## Preparation & Notes
29
 
30
+ - **Source revision**: Built from `google/frames-benchmark` (`test.tsv` at commit `58d9fb6330f3ab1316d1eca12e5e8ef23dcc22ef`).
31
+ - **Filtering & link resolution**: Questions 141 and 540 are excluded due to missing English biographies. Question 823 retains its original Simple English Wikipedia article, and Question 650 retains its category-page content. Combined URL annotations were split, and malformed URLs in questions 644 and 764 were resolved to their target English pages.
32
+ - **Formatting**: Wikipedia HTML was converted to clean article-body Markdown, preserving tables while stripping navigation, scripts, and reference clutter. Note that these are static snapshots downloaded after benchmark publication rather than historical Wikipedia revisions.
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  ## Download
35
 
36
  ```bash
37
+ uvx --from huggingface_hub hf download zhs039/frames-oracle-corpus \
38
+ --repo-type dataset --include "corpus/*" --local-dir .
39
  ```
40
 
41
+ ## License & Attribution
42
+ - Questions and answers (corpus/frames.tsv): Derived from Google's FRAMES benchmark under the Apache License 2.0 (rows 141 and 540 removed; packaged with local document mappings).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
+ - Wikipedia articles (corpus/doc_*.md): Copyright belongs to the respective Wikipedia contributors and is distributed under CC BY-SA 4.0 International. Article titles and source URLs are preserved in corpus/index.json.