yunosuke-github
commited on
Commit
•
c3ccf5b
1
Parent(s):
32767ff
test
Browse files- dataset_info.json +2 -1
- sentiment-train.py +0 -41
dataset_info.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"description": "Stanford Question Answering Dataset (SQuAD) is a reading comprehension dataset, consisting of questions posed by crowdworkers on a set of Wikipedia articles, where the answer to every question is a segment of text, or span, from the corresponding reading passage, or the question might be unanswerable.\n",
|
3 |
"citation": "",
|
4 |
"homepage": "",
|
@@ -38,7 +39,7 @@
|
|
38 |
}
|
39 |
},
|
40 |
"download_checksums": {
|
41 |
-
"https://huggingface.co/datasets/yunosuken/sentiment-train/resolve/6becbc3ef39b467675662a4036d5d3004959d06f/data/train-00000-of-00001-c9a7e166e461a704.
|
42 |
"num_bytes": 505435,
|
43 |
"checksum": null
|
44 |
},
|
|
|
1 |
{
|
2 |
+
"viewer": false,
|
3 |
"description": "Stanford Question Answering Dataset (SQuAD) is a reading comprehension dataset, consisting of questions posed by crowdworkers on a set of Wikipedia articles, where the answer to every question is a segment of text, or span, from the corresponding reading passage, or the question might be unanswerable.\n",
|
4 |
"citation": "",
|
5 |
"homepage": "",
|
|
|
39 |
}
|
40 |
},
|
41 |
"download_checksums": {
|
42 |
+
"https://huggingface.co/datasets/yunosuken/sentiment-train/resolve/6becbc3ef39b467675662a4036d5d3004959d06f/data/train-00000-of-00001-c9a7e166e461a704.parquet": {
|
43 |
"num_bytes": 505435,
|
44 |
"checksum": null
|
45 |
},
|
sentiment-train.py
DELETED
@@ -1,41 +0,0 @@
|
|
1 |
-
import datasets
|
2 |
-
|
3 |
-
logger = datasets.logging.get_logger(__name__)
|
4 |
-
|
5 |
-
_DESCRIPTION = """\
|
6 |
-
これはテスト説明
|
7 |
-
テストテスト
|
8 |
-
"""
|
9 |
-
|
10 |
-
class TestConfig(datasets.BuilderConfig):
|
11 |
-
def __init__(self, **kwargs):
|
12 |
-
super(TestConfig, self).__init__(**kwargs)
|
13 |
-
|
14 |
-
|
15 |
-
class Test(datasets.GeneratorBasedBuilder):
|
16 |
-
BUILDER_CONFIG_CLASS = TestConfig
|
17 |
-
|
18 |
-
BUILDER_CONFIGS = [
|
19 |
-
TestConfig(
|
20 |
-
name="default",
|
21 |
-
),
|
22 |
-
]
|
23 |
-
|
24 |
-
def _info(self):
|
25 |
-
return datasets.DatasetInfo(
|
26 |
-
description=_DESCRIPTION,
|
27 |
-
features=datasets.Features(
|
28 |
-
{
|
29 |
-
"id": datasets.Value("int64"),
|
30 |
-
"text": datasets.Value("string"),
|
31 |
-
"label": datasets.Value("int64")
|
32 |
-
}
|
33 |
-
),
|
34 |
-
task_templates=[],
|
35 |
-
)
|
36 |
-
|
37 |
-
def _split_generators(self, dl_manager):
|
38 |
-
pass
|
39 |
-
|
40 |
-
def _generate_examples(self, filepath):
|
41 |
-
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|