shjwudp commited on
Commit
c5e68a0
1 Parent(s): aa884c7
v2ex.py CHANGED
@@ -18,6 +18,7 @@ _DATA_URLS = {
18
  "topic": "v2ex_topic.jsonl.gz",
19
  "replies": "v2ex_replies.jsonl.gz",
20
  "conversation": "v2ex_conversation.jsonl.gz",
 
21
  }
22
 
23
 
@@ -114,7 +115,12 @@ class V2EX(datasets.GeneratorBasedBuilder):
114
  "username": Value("string"),
115
  "post": Value("string"),
116
  }),
117
- "turns": Value(dtype="int64"),
 
 
 
 
 
118
  })
119
  else:
120
  raise NotImplementedError(
@@ -151,4 +157,3 @@ class V2EX(datasets.GeneratorBasedBuilder):
151
  yield key, j
152
  key += 1
153
 
154
-
 
18
  "topic": "v2ex_topic.jsonl.gz",
19
  "replies": "v2ex_replies.jsonl.gz",
20
  "conversation": "v2ex_conversation.jsonl.gz",
21
+ "context-response": "v2ex_context_response.jsonl.gz",
22
  }
23
 
24
 
 
115
  "username": Value("string"),
116
  "post": Value("string"),
117
  }),
118
+ "url": Value(dtype="string"),
119
+ })
120
+ elif self.config.name == "context-response":
121
+ features = datasets.Features({
122
+ "context": Value("string"),
123
+ "response": Value("string"),
124
  })
125
  else:
126
  raise NotImplementedError(
 
157
  yield key, j
158
  key += 1
159
 
 
v2ex_context_response.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e65db70b35e43b1ee2baeae5d0185fa68155a5513f6f49d9a25b38121886f837
3
+ size 651811218
v2ex_conversation.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:72950d45a56ee4c652df84f5b7175f0dd664d1a0709e7f51242a3c193396a9ab
3
- size 582794148
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4176af94badd81411e1fedd6549f38979793f7c44449ad7869fd6a56246e6e4
3
+ size 602821148
v2ex_replies.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b09a83bd84b90d08bfc3fb34b484e86c7a065de3bdfdd5cb782777be0ef820f2
3
- size 462827899
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ece38c5178bacaab34e1ba7120007d8a6b50e00cfaf520fd0ea5e34f200f699
3
+ size 936223646
v2ex_topic.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5317b0cbec00baa2d9b4a7d87c7d58b1f2eba6a22a5bdd6960d648e1779f5487
3
- size 153558181
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:665ce579219d99bec322d2bc0b879b613b1f4b09630410c4c2b8403a239ec1d3
3
+ size 310121782