Wuhuwill Cursor commited on
Commit
d397850
·
1 Parent(s): 716bfe4

Hide raw numeric nodes from dataset viewer

Browse files

Co-authored-by: Cursor <cursoragent@cursor.com>

Files changed (2) hide show
  1. README.md +6 -9
  2. SHA256SUMS +1 -1
README.md CHANGED
@@ -15,8 +15,6 @@ configs:
15
  data_files:
16
  - split: curated
17
  path: data/entities_curated.jsonl
18
- - split: entities
19
- path: data/entities.jsonl
20
  ---
21
 
22
  # FACTPROP
@@ -29,7 +27,7 @@ configs:
29
 
30
  FACTPROP is a factual graph for studying how knowledge updates affect connected facts in large language models. This release includes the original `factprop_graph_v1.pkl` graph checkpoint and the **entity popularity index** used by the project’s browser explorer: 100,015 graph-node records with entity labels, available Wikidata QIDs, and forward-edge object in-degree.
31
 
32
- The dataset viewer opens on the derived `curated` split so that recognizable, mapped entities appear first. Select the `entities` split for the unchanged complete entity index, including numeric labels and unresolved nodes. Download `factprop_graph_v1.pkl` to access the complete graph with directed relations and edge attributes for questions, surface statements, and evidence.
33
 
34
  ## Contents
35
 
@@ -45,9 +43,9 @@ The dataset viewer opens on the derived `curated` split so that recognizable, ma
45
  | `metadata/release.json` | Source version and mapping statistics |
46
  | `SHA256SUMS` | File integrity checksums |
47
 
48
- The `curated` split contains records whose labels include at least one letter and whose QIDs match the standard `Q<number>` form. It is sorted by descending `forward_object_in_degree`. Records and scores are copied without modification, QID duplicates are not merged, and the split is intended only to improve browsing.
49
 
50
- The `entities` split remains the complete 100,015-record entity index in its original order. Neither split is a training or test split.
51
 
52
  ## Fields
53
 
@@ -84,8 +82,7 @@ The loader verifies the original file checksum before loading it. Only load pick
84
  from datasets import load_dataset
85
 
86
  curated = load_dataset("factprop/FACTPROP", "entity_index", split="curated")
87
- entities = load_dataset("factprop/FACTPROP", "entity_index", split="entities")
88
- matches = entities.filter(lambda row: row["qid"] == "Q312")
89
  print(matches[:])
90
  ```
91
 
@@ -107,8 +104,8 @@ with open(path, encoding="utf-8") as stream:
107
  - Some expected mappings, including the Java and Python programming languages, are absent.
108
  - A missing mapping does not imply low popularity or a score of zero. A known graph node may independently have a true degree of zero.
109
  - Multiple nodes with one QID must be reviewed separately. Do not automatically sum their degrees or take the maximum.
110
- - Numeric labels can represent literal values, identifiers, or extraction artifacts. They are graph nodes, not standalone factual claims, and remain available in the complete `entities` split.
111
- - The `curated` split is a display filter, not a quality label. Use the complete split and graph-edge context for research analysis.
112
  - The index supports node-level lookup; use `factprop_graph_v1.pkl` for graph traversal. The graph alone does not include every experiment input or output needed to reproduce all paper results.
113
 
114
  ## Provenance and versions
 
15
  data_files:
16
  - split: curated
17
  path: data/entities_curated.jsonl
 
 
18
  ---
19
 
20
  # FACTPROP
 
27
 
28
  FACTPROP is a factual graph for studying how knowledge updates affect connected facts in large language models. This release includes the original `factprop_graph_v1.pkl` graph checkpoint and the **entity popularity index** used by the project’s browser explorer: 100,015 graph-node records with entity labels, available Wikidata QIDs, and forward-edge object in-degree.
29
 
30
+ The dataset viewer exposes only the derived `curated` split so that recognizable, mapped entities appear first. The unchanged complete entity index—including numeric labels and unresolved nodes—remains available as the downloadable `data/entities.jsonl` file. Download `factprop_graph_v1.pkl` to access the complete graph with directed relations and edge attributes for questions, surface statements, and evidence.
31
 
32
  ## Contents
33
 
 
43
  | `metadata/release.json` | Source version and mapping statistics |
44
  | `SHA256SUMS` | File integrity checksums |
45
 
46
+ The `curated` split contains records whose labels include at least one letter, do not begin with a negative numeric value, and whose QIDs match the standard `Q<number>` form. It is sorted by descending `forward_object_in_degree`. Records and scores are copied without modification, QID duplicates are not merged, and the split is intended only to improve browsing.
47
 
48
+ The downloadable `data/entities.jsonl` file remains the complete 100,015-record entity index in its original order. The `curated` split is not a training or test split.
49
 
50
  ## Fields
51
 
 
82
  from datasets import load_dataset
83
 
84
  curated = load_dataset("factprop/FACTPROP", "entity_index", split="curated")
85
+ matches = curated.filter(lambda row: row["qid"] == "Q312")
 
86
  print(matches[:])
87
  ```
88
 
 
104
  - Some expected mappings, including the Java and Python programming languages, are absent.
105
  - A missing mapping does not imply low popularity or a score of zero. A known graph node may independently have a true degree of zero.
106
  - Multiple nodes with one QID must be reviewed separately. Do not automatically sum their degrees or take the maximum.
107
+ - Numeric labels can represent literal values, identifiers, or extraction artifacts. They are graph nodes, not standalone factual claims, and remain available only in the complete downloadable index.
108
+ - The `curated` split is a display filter, not a quality label. Use `data/entities.jsonl` and graph-edge context for research analysis.
109
  - The index supports node-level lookup; use `factprop_graph_v1.pkl` for graph traversal. The graph alone does not include every experiment input or output needed to reproduce all paper results.
110
 
111
  ## Provenance and versions
SHA256SUMS CHANGED
@@ -1,5 +1,5 @@
1
  8eebe4a8b875d1061c7b55947883b455fa1565fb6a6e39b8056c7160381d7cfc GRAPH.md
2
- cec445fafa0afc35337bc507a0badba4aedf59b3f581801087f0381ef6368b75 README.md
3
  fa7d9aec01b9c98c09cebc941265e4351693b362ffb3048d2c86585e84d7800d browser-index.json
4
  010beb905ef89b491159a8d8b2b013ea55219d26c8545bed07f64010bfa9ffce data/entities_curated.jsonl
5
  2c21f2aefb9cbcc749cd813412dd90fea440050eeb8efb3356de786ebeb501e6 data/entities.jsonl
 
1
  8eebe4a8b875d1061c7b55947883b455fa1565fb6a6e39b8056c7160381d7cfc GRAPH.md
2
+ 1f479379eb91932edfe661c57738afb6afb54a6a941544b728840e0a4f1c1d2c README.md
3
  fa7d9aec01b9c98c09cebc941265e4351693b362ffb3048d2c86585e84d7800d browser-index.json
4
  010beb905ef89b491159a8d8b2b013ea55219d26c8545bed07f64010bfa9ffce data/entities_curated.jsonl
5
  2c21f2aefb9cbcc749cd813412dd90fea440050eeb8efb3356de786ebeb501e6 data/entities.jsonl