rishabh-ranjan commited on
Commit
e7882e1
·
verified ·
1 Parent(s): d6d9e35

add legacy (RT-v1 boolean typing) preprocessed rel-stack

Browse files
.gitattributes CHANGED
@@ -102,3 +102,7 @@ legacy/rel-trial/nodes.rkyv filter=lfs diff=lfs merge=lfs -text
102
  legacy/rel-trial/offsets.rkyv filter=lfs diff=lfs merge=lfs -text
103
  legacy/rel-trial/p2f_adj.rkyv filter=lfs diff=lfs merge=lfs -text
104
  legacy/rel-trial/text.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
102
  legacy/rel-trial/offsets.rkyv filter=lfs diff=lfs merge=lfs -text
103
  legacy/rel-trial/p2f_adj.rkyv filter=lfs diff=lfs merge=lfs -text
104
  legacy/rel-trial/text.json filter=lfs diff=lfs merge=lfs -text
105
+ legacy/rel-stack/nodes.rkyv filter=lfs diff=lfs merge=lfs -text
106
+ legacy/rel-stack/offsets.rkyv filter=lfs diff=lfs merge=lfs -text
107
+ legacy/rel-stack/p2f_adj.rkyv filter=lfs diff=lfs merge=lfs -text
108
+ legacy/rel-stack/text.json filter=lfs diff=lfs merge=lfs -text
legacy/rel-stack/column_index.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"Id of postHistory":1149616,"PostTypeId of posts":386547,"CreationDate of comments":3932258,"UserId of user-badge":3932261,"UserId of badges":3141450,"RelatedPostId of postLinks":3932265,"Text of postHistory":2135552,"PostHistoryTypeId of postHistory":1149619,"PostId of comments":3141785,"DisplayName of users":3,"UserId of comments":3141786,"WebsiteUrl of users":296702,"PostId of votes":3932272,"RevisionGUID of postHistory":1149655,"UserId of votes":3932271,"Id of posts":386545,"UserId of user-post-comment":3141782,"Text of comments":3142763,"Id of postLinks":3932264,"timestamp of post-post-related":1149604,"UserId of postHistory":1149618,"contribution of user-engagement":1149610,"timestamp of user-post-comment":3141781,"WillGetBadge of user-badge":3932262,"Class of badges":3141451,"OwnerDisplayName of posts":386549,"ContentLicense of comments":3141787,"Title of posts":388927,"ParentId of posts":386548,"Name of badges":3141452,"UserDisplayName of comments":3141788,"Id of users":1,"timestamp of user-engagement":1149608,"PostId of postLinks":3932266,"PostId of post-votes":1149613,"CreationDate of postLinks":3932268,"VoteTypeId of votes":3932273,"PostId of user-post-comment":3141783,"ContentLicense of postHistory":1149654,"Id of comments":3141784,"CreationDate of votes":3932274,"Id of votes":3932270,"PostId of postHistory":1149617,"ContentLicense of posts":734284,"AccountId of users":2,"TagBased of badges":3141778,"CreationDate of posts":1149602,"OwnerUserId of user-engagement":1149609,"timestamp of post-votes":1149612,"timestamp of user-badge":3932260,"LinkTypeId of postLinks":3932267,"AboutMe of users":329004,"Id of badges":3141449,"Comment of postHistory":2992205,"Location of users":282677,"Body of posts":734288,"CreationDate of postHistory":3141447,"Date of badges":3141779,"postLinksIdList of post-post-related":1149606,"CreationDate of users":386543,"UserDisplayName of postHistory":1149620,"OwnerUserId of posts":386546,"PostId of post-post-related":1149605,"Tags of posts":598501,"popularity of post-votes":1149614}
legacy/rel-stack/meta.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "files": {
3
+ "column_index": "column_index.json",
4
+ "nodes": "nodes.rkyv",
5
+ "offsets": "offsets.rkyv",
6
+ "p2f_adj": "p2f_adj.rkyv",
7
+ "table_info": "table_info.json",
8
+ "text": "text.json"
9
+ },
10
+ "format_version": 1,
11
+ "name": "rel-stack",
12
+ "num_db_tables": 7,
13
+ "num_nodes": 13623878,
14
+ "num_task_tables": 15,
15
+ "num_text_strings": 3932275,
16
+ "source": "stanford-star/relbench/rel-stack",
17
+ "tasks": [
18
+ {
19
+ "entity_table": null,
20
+ "name": "post-post-related",
21
+ "splits": [
22
+ "train",
23
+ "val",
24
+ "test"
25
+ ],
26
+ "target_col": "postLinksIdList",
27
+ "task_type": "link_prediction",
28
+ "time_col": "timestamp"
29
+ },
30
+ {
31
+ "entity_table": "posts",
32
+ "name": "post-votes",
33
+ "splits": [
34
+ "train",
35
+ "val",
36
+ "test"
37
+ ],
38
+ "target_col": "popularity",
39
+ "task_type": "regression",
40
+ "time_col": "timestamp"
41
+ },
42
+ {
43
+ "entity_table": "users",
44
+ "name": "user-badge",
45
+ "splits": [
46
+ "train",
47
+ "val",
48
+ "test"
49
+ ],
50
+ "target_col": "WillGetBadge",
51
+ "task_type": "binary_classification",
52
+ "time_col": "timestamp"
53
+ },
54
+ {
55
+ "entity_table": "users",
56
+ "name": "user-engagement",
57
+ "splits": [
58
+ "train",
59
+ "val",
60
+ "test"
61
+ ],
62
+ "target_col": "contribution",
63
+ "task_type": "binary_classification",
64
+ "time_col": "timestamp"
65
+ },
66
+ {
67
+ "entity_table": null,
68
+ "name": "user-post-comment",
69
+ "splits": [
70
+ "train",
71
+ "val",
72
+ "test"
73
+ ],
74
+ "target_col": "PostId",
75
+ "task_type": "link_prediction",
76
+ "time_col": "timestamp"
77
+ }
78
+ ],
79
+ "text_embeddings": {
80
+ "all-MiniLM-L12-v2": {
81
+ "file": "text_emb_all-MiniLM-L12-v2.bin",
82
+ "d_text": 384
83
+ }
84
+ }
85
+ }
legacy/rel-stack/nodes.rkyv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc7f54a9b22de93a144d23149fe3a4c7d6f9c263c586dddd3459cc4a2139001
3
+ size 3631319920
legacy/rel-stack/offsets.rkyv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c58b6b0dc8dac52b97cc3f913ad40ff2ac03de6de7b914b46ea6e62680a13c2b
3
+ size 108991048
legacy/rel-stack/p2f_adj.rkyv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97fbf04dac3a258bc86c5fd3cc0a360bb0ff082a33389e3ec36b7aa240384cda
3
+ size 531223088
legacy/rel-stack/table_info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"posts:Db":{"node_idx_offset":2976285,"num_nodes":415913},"postHistory:Db":{"node_idx_offset":1385430,"num_nodes":1486886},"user-engagement:Train":{"node_idx_offset":12154368,"num_nodes":1360850},"user-post-comment:Train":{"node_idx_offset":13601814,"num_nodes":21239},"badges:Db":{"node_idx_offset":0,"num_nodes":590833},"post-post-related:Val":{"node_idx_offset":5405931,"num_nodes":226},"comments:Db":{"node_idx_offset":590833,"num_nodes":794597},"user-badge:Test":{"node_idx_offset":8177197,"num_nodes":255360},"user-badge:Train":{"node_idx_offset":8432557,"num_nodes":3386276},"user-engagement:Val":{"node_idx_offset":13515218,"num_nodes":85838},"post-votes:Val":{"node_idx_offset":8020981,"num_nodes":156216},"post-post-related:Test":{"node_idx_offset":5399818,"num_nodes":258},"users:Db":{"node_idx_offset":3392198,"num_nodes":333784},"post-votes:Train":{"node_idx_offset":5567060,"num_nodes":2453921},"postLinks:Db":{"node_idx_offset":2872316,"num_nodes":103969},"votes:Db":{"node_idx_offset":3725982,"num_nodes":1673836},"post-votes:Test":{"node_idx_offset":5406157,"num_nodes":160903},"post-post-related:Train":{"node_idx_offset":5400076,"num_nodes":5855},"user-post-comment:Test":{"node_idx_offset":13601056,"num_nodes":758},"user-post-comment:Val":{"node_idx_offset":13623053,"num_nodes":825},"user-engagement:Test":{"node_idx_offset":12066231,"num_nodes":88137},"user-badge:Val":{"node_idx_offset":11818833,"num_nodes":247398}}
legacy/rel-stack/text.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bea29fc3ed399edf50545caa0d4eed4d25f93e4c77dedff8da59d37f6cbb653
3
+ size 1964081359
legacy/rel-stack/text_emb_all-MiniLM-L12-v2.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:276127aba7fa1125a1279c8e82e3045b2b36323877edf323a7fc26b20360fb8e
3
+ size 3019987200