clefourrier HF staff commited on
Commit
c16b801
1 Parent(s): 8bc45a4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +79 -17
README.md CHANGED
@@ -1,20 +1,82 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: edge_index
5
- sequence:
6
- sequence: int64
7
- - name: y
8
- sequence: int64
9
- - name: num_nodes
10
- dtype: int64
11
- splits:
12
- - name: full
13
- num_bytes: 168003328
14
- num_examples: 203088
15
- download_size: 14896887
16
- dataset_size: 168003328
17
  ---
18
- # Dataset Card for "reddit_threads_small"
19
 
20
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: gpl-3.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
4
 
5
+ # Dataset Card for Reddit threads
6
+
7
+ ## Table of Contents
8
+ - [Table of Contents](#table-of-contents)
9
+ - [Dataset Description](#dataset-description)
10
+ - [Dataset Summary](#dataset-summary)
11
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
12
+ - [External Use](#external-use)
13
+ - [PyGeometric](#pygeometric)
14
+ - [Dataset Structure](#dataset-structure)
15
+ - [Data Properties](#data-properties)
16
+ - [Data Fields](#data-fields)
17
+ - [Data Splits](#data-splits)
18
+ - [Additional Information](#additional-information)
19
+ - [Licensing Information](#licensing-information)
20
+ - [Citation Information](#citation-information)
21
+ - [Contributions](#contributions)
22
+
23
+ ## Dataset Description
24
+ - **[Homepage](https://snap.stanford.edu/data/reddit_threads.html)**
25
+ - **Paper:**: (see citation)
26
+
27
+
28
+ ### Dataset Summary
29
+ The `Reddit threads` dataset contains 'discussion and non-discussion based threads from Reddit which we collected in May 2018. Nodes are Reddit users who participate in a discussion and links are replies between them' (doc).
30
+
31
+ ### Supported Tasks and Leaderboards
32
+ The related task is the binary classification to predict whether a thread is discussion based or not.
33
+
34
+ ## External Use
35
+ ### PyGeometric
36
+ To load in PyGeometric, do the following:
37
+
38
+ ```python
39
+ from datasets import load_dataset
40
+
41
+ from torch_geometric.data import Data
42
+ from torch_geometric.loader import DataLoader
43
+
44
+ dataset_hf = load_dataset("graphs-datasets/<mydataset>")
45
+ # For the train set (replace by valid or test as needed)
46
+ dataset_pg_list = [Data(graph) for graph in dataset_hf["train"]]
47
+ dataset_pg = DataLoader(dataset_pg_list)
48
+ ```
49
+
50
+ ## Dataset Structure
51
+ ### Dataset information
52
+ - 203,088 graphs
53
+
54
+ ### Data Fields
55
+
56
+ Each row of a given file is a graph, with:
57
+ - `edge_index` (list: 2 x #edges): pairs of nodes constituting edges
58
+ - `y` (list: #labels): contains the number of labels available to predict
59
+ - `num_nodes` (int): number of nodes of the graph
60
+
61
+ ### Data Splits
62
+
63
+ This data is not split, and should be used with cross validation. It comes from the PyGeometric version of the dataset.
64
+
65
+ ## Additional Information
66
+
67
+ ### Licensing Information
68
+ The dataset has been released under GPL-3.0 license.
69
+
70
+ ### Citation Information
71
+ See also [github](https://github.com/benedekrozemberczki/karateclub).
72
+
73
+ ```
74
+ @inproceedings{karateclub,
75
+ title = {{Karate Club: An API Oriented Open-source Python Framework for Unsupervised Learning on Graphs}},
76
+ author = {Benedek Rozemberczki and Oliver Kiss and Rik Sarkar},
77
+ year = {2020},
78
+ pages = {3125–3132},
79
+ booktitle = {Proceedings of the 29th ACM International Conference on Information and Knowledge Management (CIKM '20)},
80
+ organization = {ACM},
81
+ }
82
+ ```