andylolu24 commited on
Commit
53edde1
1 Parent(s): 4e41429

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -0
README.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+ # Wikipedia dataset from OLLM
5
+
6
+ Repository: https://github.com/andylolu2/ollm
7
+
8
+ - Train graph: `train_eval_split/train_graph.json`
9
+ - Validation graph: `train_eval_split/test_graph.json`
10
+ - Test graph: `train_test_split/test_graph.json`
11
+
12
+ Load the graph with `networkx`:
13
+ ```python
14
+ import networkx as nx
15
+
16
+ with open(path_to_graph, "r") as f:
17
+ G = nx.node_link_graph(json.load(f), edges="links")
18
+ ```