factprop commited on
Commit
7d5cddd
·
verified ·
1 Parent(s): d79d0d5

Name graph release factprop_graph_v1.pkl

Browse files
GRAPH.md CHANGED
@@ -1,6 +1,6 @@
1
  # FACTPROP graph checkpoint
2
 
3
- `final.pkl` is the unchanged original checkpoint, 125,274,720 bytes.
4
 
5
  SHA-256: `437a434260edbb019c85575d65b4775cb2461f145e17966ee3acc8e4625ce7c8`
6
 
 
1
  # FACTPROP graph checkpoint
2
 
3
+ `factprop_graph_v1.pkl` is the unchanged original checkpoint, 125,274,720 bytes.
4
 
5
  SHA-256: `437a434260edbb019c85575d65b4775cb2461f145e17966ee3acc8e4625ce7c8`
6
 
README.md CHANGED
@@ -25,15 +25,15 @@ configs:
25
 
26
  ## Overview
27
 
28
- FACTPROP is a factual graph for studying how knowledge updates affect connected facts in large language models. This release includes the original `final.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 graph checkpoint includes directed relations and edge attributes for questions, surface statements, and evidence. Experiment outputs and model checkpoints are not included. The dataset viewer displays the entity index; download `final.pkl` to access the complete graph.
31
 
32
  ## Contents
33
 
34
  | File | Description |
35
  | --- | --- |
36
- | `final.pkl` | Original graph checkpoint (125,274,720 bytes), unchanged |
37
  | `GRAPH.md` | Checkpoint structure and graph loading guide |
38
  | `load_graph.py` | Download, verify, and load the graph |
39
  | `data/entities.jsonl` | One object per graph node, suitable for the dataset viewer |
@@ -101,7 +101,7 @@ with open(path, encoding="utf-8") as stream:
101
  - Some expected mappings, including the Java and Python programming languages, are absent.
102
  - 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.
103
  - Multiple nodes with one QID must be reviewed separately. Do not automatically sum their degrees or take the maximum.
104
- - The index supports node-level lookup; use `final.pkl` for graph traversal. The graph alone does not include every experiment input or output needed to reproduce all paper results.
105
 
106
  ## Provenance and versions
107
 
 
25
 
26
  ## Overview
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 graph checkpoint includes directed relations and edge attributes for questions, surface statements, and evidence. Experiment outputs and model checkpoints are not included. The dataset viewer displays the entity index; download `factprop_graph_v1.pkl` to access the complete graph.
31
 
32
  ## Contents
33
 
34
  | File | Description |
35
  | --- | --- |
36
+ | `factprop_graph_v1.pkl` | Original graph checkpoint (125,274,720 bytes), unchanged |
37
  | `GRAPH.md` | Checkpoint structure and graph loading guide |
38
  | `load_graph.py` | Download, verify, and load the graph |
39
  | `data/entities.jsonl` | One object per graph node, suitable for the dataset viewer |
 
101
  - Some expected mappings, including the Java and Python programming languages, are absent.
102
  - 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.
103
  - Multiple nodes with one QID must be reviewed separately. Do not automatically sum their degrees or take the maximum.
104
+ - 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.
105
 
106
  ## Provenance and versions
107
 
SHA256SUMS CHANGED
@@ -1,8 +1,8 @@
1
- edb72ce528ffc4495ab97a80767eaa81a08a57d18f4c25d09f47c516b3e414f0 GRAPH.md
2
- 9206dcac8a3fb4ebf99a8d4d1f6e35b4276dbf0c2e4d71572f259c5b53be5966 README.md
3
  fa7d9aec01b9c98c09cebc941265e4351693b362ffb3048d2c86585e84d7800d browser-index.json
4
  2c21f2aefb9cbcc749cd813412dd90fea440050eeb8efb3356de786ebeb501e6 data/entities.jsonl
5
- 437a434260edbb019c85575d65b4775cb2461f145e17966ee3acc8e4625ce7c8 final.pkl
6
- dc3b8e818d864a3966ee1c0bba19e788b2648e90100dfc84cdb1f427bae9e389 load_graph.py
7
  29e825c9838eb795a18672eb6a569cc2b666cf6971b5bd911655113a138e94ad metadata/graph.json
8
- 8fb3ae92e171613be24a99da45559538da97b81dba174ca70b2b1b366e634acb metadata/release.json
 
1
+ 8eebe4a8b875d1061c7b55947883b455fa1565fb6a6e39b8056c7160381d7cfc GRAPH.md
2
+ 0e39be25c73784ec053609ccfc3171a1ecaf02da1e9cfe25998d12d93c42106e README.md
3
  fa7d9aec01b9c98c09cebc941265e4351693b362ffb3048d2c86585e84d7800d browser-index.json
4
  2c21f2aefb9cbcc749cd813412dd90fea440050eeb8efb3356de786ebeb501e6 data/entities.jsonl
5
+ 437a434260edbb019c85575d65b4775cb2461f145e17966ee3acc8e4625ce7c8 factprop_graph_v1.pkl
6
+ c73d0a4b3f6df2166ba960a64cd5d3522728f46c2597f4f6604cc65533b46888 load_graph.py
7
  29e825c9838eb795a18672eb6a569cc2b666cf6971b5bd911655113a138e94ad metadata/graph.json
8
+ f37ba2ebf958481a3d4587391bc5dfefe93ea7c62e6326953211c4bed4e98317 metadata/release.json
final.pkl → factprop_graph_v1.pkl RENAMED
File without changes
load_graph.py CHANGED
@@ -6,7 +6,7 @@ from huggingface_hub import hf_hub_download
6
  SHA256 = "437a434260edbb019c85575d65b4775cb2461f145e17966ee3acc8e4625ce7c8"
7
 
8
  def load_graph():
9
- path = hf_hub_download("factprop/FACTPROP", "final.pkl", repo_type="dataset")
10
  with open(path, "rb") as stream:
11
  content = stream.read()
12
  if hashlib.sha256(content).hexdigest() != SHA256:
 
6
  SHA256 = "437a434260edbb019c85575d65b4775cb2461f145e17966ee3acc8e4625ce7c8"
7
 
8
  def load_graph():
9
+ path = hf_hub_download("factprop/FACTPROP", "factprop_graph_v1.pkl", repo_type="dataset")
10
  with open(path, "rb") as stream:
11
  content = stream.read()
12
  if hashlib.sha256(content).hexdigest() != SHA256:
metadata/release.json CHANGED
@@ -7,6 +7,6 @@
7
  "missing_qid_records": 33901,
8
  "qids_with_multiple_nodes": 5037,
9
  "scope": "Original graph checkpoint and entity popularity index.",
10
- "graph_file": "final.pkl",
11
  "graph_sha256": "437a434260edbb019c85575d65b4775cb2461f145e17966ee3acc8e4625ce7c8"
12
  }
 
7
  "missing_qid_records": 33901,
8
  "qids_with_multiple_nodes": 5037,
9
  "scope": "Original graph checkpoint and entity popularity index.",
10
+ "graph_file": "factprop_graph_v1.pkl",
11
  "graph_sha256": "437a434260edbb019c85575d65b4775cb2461f145e17966ee3acc8e4625ce7c8"
12
  }