The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type
struct<title: string, pageid: int64, revid: int64, text: struct<*: string>, langlinks: list<item: struct<lang: string, url: string, langname: string, autonym: string, *: string>>, categories: list<item: struct<sortkey: string, *: string, hidden: string, missing: string>>, links: list<item: struct<ns: int64, exists: string, *: string>>, templates: list<item: struct<ns: int64, exists: string, *: string>>, images: list<item: string>, externallinks: list<item: string>, sections: list<item: struct<toclevel: int64, level: string, line: string, number: string, index: string, fromtitle: string, byteoffset: null, anchor: string>>, parsewarnings: list<item: string>, displaytitle: string, iwlinks: list<item: struct<prefix: string, url: string, *: string>>, properties: list<item: struct<name: string, *: string>>>
to
{'title': Value(dtype='string', id=None), 'pageid': Value(dtype='int64', id=None), 'revid': Value(dtype='int64', id=None), 'text': {'*': Value(dtype='string', id=None)}, 'langlinks': [{'lang': Value(dtype='string', id=None), 'url': Value(dtype='string', id=None), 'langname': Value(dtype='string', id=None), 'autonym': Value(dtype='string', id=None), '*': Value(dtype='string', id=None)}], 'categories': [{'sortkey': Value(dtype='string', id=None), '*': Value(dtype='string', id=None), 'hidden': Value(dtype='string', id=None), 'missing': Value(dtype='string', id=None)}], 'links': [{'ns': Value(dtype='int64', id=None), 'exists': Value(dtype='string', id=None), '*': Value(dtype='string', id=None)}], 'templates': [{'ns': Value(dtype='int64', id=None), 'exists': Value(dtype='string', id=None), '*': Value(dtype='string', id=None)}], 'images': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'externallinks': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'sections': [{'toclevel': Value(dtype='int64', id=None), 'level': Value(dtype='string', id=None), 'line': Value(dtype='string', id=None), 'number': Value(dtype='string', id=None), 'index': Value(dtype='string', id=None), 'byteoffset': Value(dtype='int64', id=None), 'anchor': Value(dtype='string', id=None), 'fromtitle': Value(dtype='string', id=None)}], 'parsewarnings': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'displaytitle': Value(dtype='string', id=None), 'iwlinks': [{'prefix': Value(dtype='string', id=None), 'url': Value(dtype='string', id=None), '*': Value(dtype='string', id=None)}], 'properties': [{'name': Value(dtype='string', id=None), '*': Value(dtype='string', id=None)}], 'showtoc': Value(dtype='string', id=None)}
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in cast_table_to_schema
arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in <listcomp>
arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in <listcomp>
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2122, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<title: string, pageid: int64, revid: int64, text: struct<*: string>, langlinks: list<item: struct<lang: string, url: string, langname: string, autonym: string, *: string>>, categories: list<item: struct<sortkey: string, *: string, hidden: string, missing: string>>, links: list<item: struct<ns: int64, exists: string, *: string>>, templates: list<item: struct<ns: int64, exists: string, *: string>>, images: list<item: string>, externallinks: list<item: string>, sections: list<item: struct<toclevel: int64, level: string, line: string, number: string, index: string, fromtitle: string, byteoffset: null, anchor: string>>, parsewarnings: list<item: string>, displaytitle: string, iwlinks: list<item: struct<prefix: string, url: string, *: string>>, properties: list<item: struct<name: string, *: string>>>
to
{'title': Value(dtype='string', id=None), 'pageid': Value(dtype='int64', id=None), 'revid': Value(dtype='int64', id=None), 'text': {'*': Value(dtype='string', id=None)}, 'langlinks': [{'lang': Value(dtype='string', id=None), 'url': Value(dtype='string', id=None), 'langname': Value(dtype='string', id=None), 'autonym': Value(dtype='string', id=None), '*': Value(dtype='string', id=None)}], 'categories': [{'sortkey': Value(dtype='string', id=None), '*': Value(dtype='string', id=None), 'hidden': Value(dtype='string', id=None), 'missing': Value(dtype='string', id=None)}], 'links': [{'ns': Value(dtype='int64', id=None), 'exists': Value(dtype='string', id=None), '*': Value(dtype='string', id=None)}], 'templates': [{'ns': Value(dtype='int64', id=None), 'exists': Value(dtype='string', id=None), '*': Value(dtype='string', id=None)}], 'images': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'externallinks': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'sections': [{'toclevel': Value(dtype='int64', id=None), 'level': Value(dtype='string', id=None), 'line': Value(dtype='string', id=None), 'number': Value(dtype='string', id=None), 'index': Value(dtype='string', id=None), 'byteoffset': Value(dtype='int64', id=None), 'anchor': Value(dtype='string', id=None), 'fromtitle': Value(dtype='string', id=None)}], 'parsewarnings': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'displaytitle': Value(dtype='string', id=None), 'iwlinks': [{'prefix': Value(dtype='string', id=None), 'url': Value(dtype='string', id=None), '*': Value(dtype='string', id=None)}], 'properties': [{'name': Value(dtype='string', id=None), '*': Value(dtype='string', id=None)}], 'showtoc': Value(dtype='string', id=None)}
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1154, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
parse dict |
|---|
{
"title": "\"Activity\" Case:02 -Nightmare Counselor-",
"pageid": 53203,
"revid": 380358,
"text": {
"*": "<div class=\"mw-parser-output\"><table class=\"infobox vcard; outcell\" cellspacing=\"5\" style=\"width:22em; text-align:left; font-size:88%; line-height:1.5em;border-color:#A8A077;background-color:#FF... |
{
"title": "\"Activity\" Case:01 -Graveyard Memory-",
"pageid": 53200,
"revid": 380361,
"text": {
"*": "<div class=\"mw-parser-output\"><table class=\"infobox vcard; outcell\" cellspacing=\"5\" style=\"width:22em; text-align:left; font-size:88%; line-height:1.5em;border-color:#A8A077;background-color:#FFFBE... |
{
"title": "!?",
"pageid": 8906,
"revid": 385369,
"text": {
"*": "<div class=\"mw-parser-output\"><ul><li>Return to <a href=\"/wiki/Comics\" title=\"Comics\">Comics</a></li></ul>\n<hr />\n<p><br />\nArtist: 216<br />\nLink: <a rel=\"nofollow\" class=\"external free\" href=\"http://n216.com/hrszn/\">http://n... |
{
"title": "\"Activity\" Case:03 -Historical Vacation-",
"pageid": 55222,
"revid": 380356,
"text": {
"*": "<div class=\"mw-parser-output\"><table class=\"infobox vcard; outcell\" cellspacing=\"5\" style=\"width:22em; text-align:left; font-size:88%; line-height:1.5em;border-color:#A8A077;background-color:#FF... |
{
"title": "\"Activity\" Case:04 -Cosmic Horoscope-",
"pageid": 60786,
"revid": 448280,
"text": {
"*": "<div class=\"mw-parser-output\"><table class=\"infobox vcard; outcell\" cellspacing=\"5\" style=\"width:22em; text-align:left; font-size:88%; line-height:1.5em;border-color:#A8A077;background-color:#FFFBE... |
{
"title": "\"Activity\" Case:06 -Shining Future-",
"pageid": 65724,
"revid": 380360,
"text": {
"*": "<div class=\"mw-parser-output\"><table class=\"infobox vcard; outcell\" cellspacing=\"5\" style=\"width:22em; text-align:left; font-size:88%; line-height:1.5em;border-color:#A8A077;background-color:#FFFBEE;... |
{"title":"\"Activity\" Case:05 -Forgotten Paradise-","pageid":65671,"revid":380355,"text":{"*":"<div(...TRUNCATED) |
{"title":"\"Activity\" Case:08 -Midnight Syndrome-","pageid":71977,"revid":390295,"text":{"*":"<div (...TRUNCATED) |
{"title":"\"Activity\" Case:07 -Dominated Realism-","pageid":69125,"revid":380354,"text":{"*":"<div (...TRUNCATED) |
{"title":"\"Everflowering\" Masterpieces of Hatsunetsumiko's 2011 - 2013","pageid":74051,"revid":469(...TRUNCATED) |
Dataset Card for JapaneseGoblin
Dataset Summary
JapaneseGoblin is a dump of en.touhouwiki.net wiki.
Supported Tasks and Leaderboards
This dataset is primarily intended for unsupervised training of text generation models; however, it may be useful for other purposes.
- text-classification
- text-generation
Languages
Primarily english, however there are also japanese as well.
Dataset Structure
All the articles are located in touhou.dump.json in a jsonl format.
Data Instances
Refer to touhou.dump.sample.json for a sample format of each jsonl line.
Data Fields
Refer to the sample above.
Data Splits
The entire dump is contained within touhou.dump.json.
Dataset Creation
Curation Rationale
Someone requested for a dataset on touhou wiki.
Source Data
Initial Data Collection and Normalization
None. No normalization is performed as this is a raw dump of the dataset.
Who are the source language producers?
The related wiki editors on en.touhouwiki.net.
Annotations
Annotation process
No Annotations are present.
Who are the annotators?
No human annotators.
Personal and Sensitive Information
We are certain there is no PII included in the dataset.
Considerations for Using the Data
Social Impact of Dataset
[More Information Needed]
Discussion of Biases
As expected, touhou wiki is focuses on the Touhou... Franchise(?)
Other Known Limitations
N/A
Additional Information
Dataset Curators
KaraKaraWitch
Licensing Information
Apache 2.0, for all parts of which KaraKaraWitch may be considered authors. All other material is distributed under fair use principles.
Ronsor Labs additionally is allowed to relicense the dataset as long as it has gone through processing.
Citation Information
@misc{japanesegoblin,
title = {JapaneseGoblin: We are Japanese Goblin!},
author = {KaraKaraWitch},
year = {2023},
howpublished = {\url{https://huggingface.co/datasets/RyokoExtra/JapaneseGoblin}},
}
Name Etymology
N/A
Contributions
- @KaraKaraWitch (Twitter) for gathering this dataset.
- Suikamelon: Requesting dataset
- Downloads last month
- 17