ZhuofengLi commited on
Commit
a82230f
1 Parent(s): 589fa1e

Upload folder using huggingface_hub

Browse files
goodreads_children/emb/children_bert_base_uncased_512_cls_edge.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2634e555643b8e6ff2a846a0bbc4b8aa755a5a0091777a60de23e2340a8f32e7
3
+ size 1128408508
goodreads_children/emb/children_bert_base_uncased_512_cls_node.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c906649a228d85c47001db380e3e79c2d1bb8e7bd44db9b5e1cce50327dfe3bc
3
+ size 332719036
goodreads_children/goodreads.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Goodreads Datasets
2
+
3
+ ## Dataset Description
4
+ The Goodreads datasets consist of four datasets, specifically labeled as Goodreads-History, Goodreads-Crime, Goodreads-Children, and Goodreads-Cosmics. The Goodreads datasets are a user-book review network. It includes information about books, users and reviews. Nodes represent books and users. Text on a book node is the description of the book. Text on a user node is the `user`. The book text includes the following information: `The book [title] is a [format] edition published by [publisher] in [publication_month] [publication_year] about [description], consisting of [num_pages].` Edges represent relationships between books and users. Text on an edge means a user's review of a book.
5
+
6
+
7
+ ## Graph Machine Learning Tasks
8
+
9
+ ### Link Prediction
10
+ Link prediction in the Goodreads dataset involves predicting potential connections between users and books. The goal is to predict whether a user will review a book.
11
+
12
+ ### Node Classification
13
+ Node classification tasks in the Goodreads dataset include predicting the book's category.
goodreads_comics/emb/comics_bert_base_uncased_512_cls_edge.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb932726ea4490311625e4d3be0b2bb441ebd137da31c36a9e00210b751e46a7
3
+ size 833032626
goodreads_comics/emb/comics_bert_base_uncased_512_cls_node.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ae780ec9584b2cea1435fa0d02e9f223535229114bafa6dc175b9dcbbcb680f
3
+ size 228340146
goodreads_comics/emb/comics_openai-old_node.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:188bf3a74fb3ed27407354285931fef8e60446981fcb76e68cdc23213c3f6446
3
+ size 67108864
goodreads_comics/emb/comics_openai_edge.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10b21364d64d25633dbe2d826deb92ca55da7a360ec8c5348125bbb9dcb14f1d
3
+ size 135266304
goodreads_comics/goodreads.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Goodreads Datasets
2
+
3
+ ## Dataset Description
4
+ The Goodreads datasets consist of four datasets, specifically labeled as Goodreads-History, Goodreads-Crime, Goodreads-Children, and Goodreads-Cosmics. The Goodreads datasets are a user-book review network. It includes information about books, users and reviews. Nodes represent books and users. Text on a book node is the description of the book. Text on a user node is the `user`. The book text includes the following information: `The book [title] is a [format] edition published by [publisher] in [publication_month] [publication_year] about [description], consisting of [num_pages].` Edges represent relationships between books and users. Text on an edge means a user's review of a book.
5
+
6
+
7
+ ## Graph Machine Learning Tasks
8
+
9
+ ### Link Prediction
10
+ Link prediction in the Goodreads dataset involves predicting potential connections between users and books. The goal is to predict whether a user will review a book.
11
+
12
+ ### Node Classification
13
+ Node classification tasks in the Goodreads dataset include predicting the book's category.
goodreads_crime/emb/crime_bert_base_uncased_512_cls_edge.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f358eb8a335a6885ac3f21e1fdd2b29e210fd4a5d1f887f62b569212b040c22d
3
+ size 2840427949
goodreads_crime/emb/crime_bert_base_uncased_512_cls_node.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c72cded6e4e5d46fbb9f3ee73d80719558ea10a40ae5b633ea9e05a086cc434
3
+ size 649179565
goodreads_crime/goodreads.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Goodreads Datasets
2
+
3
+ ## Dataset Description
4
+ The Goodreads datasets consist of four datasets, specifically labeled as Goodreads-History, Goodreads-Crime, Goodreads-Children, and Goodreads-Cosmics. The Goodreads datasets are a user-book review network. It includes information about books, users and reviews. Nodes represent books and users. Text on a book node is the description of the book. Text on a user node is the `user`. The book text includes the following information: `The book [title] is a [format] edition published by [publisher] in [publication_month] [publication_year] about [description], consisting of [num_pages].` Edges represent relationships between books and users. Text on an edge means a user's review of a book.
5
+
6
+
7
+ ## Graph Machine Learning Tasks
8
+
9
+ ### Link Prediction
10
+ Link prediction in the Goodreads dataset involves predicting potential connections between users and books. The goal is to predict whether a user will review a book.
11
+
12
+ ### Node Classification
13
+ Node classification tasks in the Goodreads dataset include predicting the book's category.
goodreads_history/goodreads.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Goodreads Datasets
2
+
3
+ ## Dataset Description
4
+ The Goodreads datasets consist of four datasets, specifically labeled as Goodreads-History, Goodreads-Crime, Goodreads-Children, and Goodreads-Cosmics. The Goodreads datasets are a user-book review network. It includes information about books, users and reviews. Nodes represent books and users. Text on a book node is the description of the book. Text on a user node is the `user`. The book text includes the following information: `The book [title] is a [format] edition published by [publisher] in [publication_month] [publication_year] about [description], consisting of [num_pages].` Edges represent relationships between books and users. Text on an edge means a user's review of a book.
5
+
6
+
7
+ ## Graph Machine Learning Tasks
8
+
9
+ ### Link Prediction
10
+ Link prediction in the Goodreads dataset involves predicting potential connections between users and books. The goal is to predict whether a user will review a book.
11
+
12
+ ### Node Classification
13
+ Node classification tasks in the Goodreads dataset include predicting the book's category.
readme.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TEG Datasets
2
+
3
+ ## Dataset Format
4
+
5
+ Each dataset is a [PyG Data object](https://pytorch-geometric.readthedocs.io/en/latest/generated/torch_geometric.data.Dataset.html#torch_geometric.data.Dataset) and is stored in the `processed` subdir following a unified format, with each attribute defined as follows:
6
+
7
+ - `edge_index`: Graph connectivity in COO format with shape [2, num_edges] and type `torch.long`.
8
+ - `text_nodes`: `List` contains textual information for each node in the graph.
9
+ - `text_edges`: `List` contains textual information for each edge in the graph.
10
+ - `node_labels`: labels or classes for each node in the graph.
11
+ - `edge_labels`: labels or classes for each edge in the graph and type `torch.long`.
12
+
13
+
14
+ ## Embedding Data Format
15
+ The embedding data is thrived from `text_nodes` and `text_edges` through PLM including:
16
+ - [GPT](https://platform.openai.com/docs/guides/embeddings)
17
+ - [BERT-base](https://huggingface.co/bert-base-uncased)
18
+ - [BERT-large](https://huggingface.co/bert-large-uncased)
19
+
20
+ **We will provide more TEG datasets and PLM embedding in the futrue!**
21
+
22
+
23
+
24
+
25
+
26
+
27
+
twitter/emb/tweets_bert_base_uncased_512_cls_edge.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:050b7c8b64cd1fa509b1c31f1ae1b13f13a298e3726306a0f2bd808cdb0fe14a
3
+ size 114688434
twitter/emb/tweets_bert_base_uncased_512_cls_node.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b874ce830fbf92010bb2bf6617a0519d79ac407798f9bcbd28c81e3e003e167
3
+ size 93367154
twitter/processed/twitter.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be2e69838e019287a3d5d91f2b8d81f17125c90cebf8137358a99160287924ab
3
+ size 8407098
twitter/twitter.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Twitter Datasets
2
+
3
+ ## Dataset Description
4
+ The twitter dataset is a social network. Nodes represent tweets and users. Text on nodes is the description of the tweets or the users. Edge between a and tweet means that the user posts the tweet. Text on edges is contents of the tweets.
5
+
6
+
7
+ ## Graph Machine Learning Tasks
8
+
9
+ ### Link Prediction
10
+ Link prediction in the tweet dataset involves predicting potential connections between tweets and users. The goal is to predict whether a user will post a tweet.