Temporary fix
Browse files- habr_qna.py +2 -1
habr_qna.py
CHANGED
@@ -40,7 +40,7 @@ _DESCRIPTION = "Habr QnA Dataset"
|
|
40 |
_URL = "questions.jsonl.zst"
|
41 |
|
42 |
|
43 |
-
class
|
44 |
VERSION = datasets.Version("0.0.1")
|
45 |
|
46 |
BUILDER_CONFIGS = [
|
@@ -62,6 +62,7 @@ class YandexQFullDataset(datasets.GeneratorBasedBuilder):
|
|
62 |
"subscribers_count": datasets.Value("int32"),
|
63 |
"complexity": datasets.Value("string"),
|
64 |
"complexity_votes": datasets.Value("int32"),
|
|
|
65 |
"comments": datasets.Sequence(feature={
|
66 |
"author": datasets.Value("string"),
|
67 |
"posted_at": datasets.Value("string"),
|
|
|
40 |
_URL = "questions.jsonl.zst"
|
41 |
|
42 |
|
43 |
+
class HabrQnADataset(datasets.GeneratorBasedBuilder):
|
44 |
VERSION = datasets.Version("0.0.1")
|
45 |
|
46 |
BUILDER_CONFIGS = [
|
|
|
62 |
"subscribers_count": datasets.Value("int32"),
|
63 |
"complexity": datasets.Value("string"),
|
64 |
"complexity_votes": datasets.Value("int32"),
|
65 |
+
"completixy_votes": datasets.Value("int32"),
|
66 |
"comments": datasets.Sequence(feature={
|
67 |
"author": datasets.Value("string"),
|
68 |
"posted_at": datasets.Value("string"),
|