abhishek/autonlp-prodigy-10-3362554
Token Classification
•
Updated
•
12
•
2
Error code: DatasetGenerationError Exception: ArrowNotImplementedError Message: Cannot write struct type '_format_kwargs' with no child field to Parquet. Consider adding a dummy child field. 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 583, in write_table self._build_writer(inferred_schema=pa_table.schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 404, in _build_writer self.pa_writer = self._WRITER_CLASS(self.stream, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 1010, in __init__ self.writer = _parquet.ParquetWriter( File "pyarrow/_parquet.pyx", line 2157, in pyarrow._parquet.ParquetWriter.__cinit__ File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowNotImplementedError: Cannot write struct type '_format_kwargs' with no child field to Parquet. Consider adding a dummy child field. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2027, in _prepare_split_single num_examples, num_bytes = writer.finalize() File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 602, in finalize self._build_writer(self.schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 404, in _build_writer self.pa_writer = self._WRITER_CLASS(self.stream, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 1010, in __init__ self.writer = _parquet.ParquetWriter( File "pyarrow/_parquet.pyx", line 2157, in pyarrow._parquet.ParquetWriter.__cinit__ File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowNotImplementedError: Cannot write struct type '_format_kwargs' with no child field to Parquet. Consider adding a dummy child field. 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 dataset
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
_data_files
list | _fingerprint
string | _format_columns
sequence | _format_kwargs
dict | _format_type
null | _indexes
dict | _indices_data_files
null | _output_all_columns
bool | _split
null |
---|---|---|---|---|---|---|---|---|
[
{
"filename": "dataset.arrow"
}
] | 952bacd38d9591e7 | [
"tags",
"tokens"
] | {} | null | {} | null | false | null |
This dataset has been automatically processed by AutoNLP for project prodigy-10.
The BCP-47 code for the dataset's language is en.
A sample from this dataset looks as follows:
[
{
"tags": [
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
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",
"plans",
"to",
"introduce",
"i",
"d",
"cards",
".",
" ",
"the",
"shadow",
"cabinet",
"revealed",
"its",
"support",
"ahead",
"of",
"next",
"week",
"s",
"commons",
"vote",
"on",
"a",
"bill",
"to",
"introduce",
"compulsory",
"i",
"d.",
"the",
"decision",
"follows",
"a",
" ",
"tough",
"meeting",
" ",
"where",
"some",
"senior",
"tories",
"argued",
"vociferously",
"against",
"the",
"move",
" ",
"party",
"sources",
"told",
"the",
"bbc",
".",
"the",
"bill",
" ",
"which",
"ministers",
"claim",
"will",
"tackle",
"crime",
" ",
"terrorism",
"and",
"illegal",
"immigration",
" ",
"is",
"expected",
"to",
"be",
"opposed",
"by",
"the",
"liberal",
"democrats",
".",
" ",
"they",
"have",
"said",
"the",
"scheme",
"is",
" ",
"deeply",
"flawed",
" ",
"and",
"a",
"waste",
"of",
"money",
".",
"sources",
"within",
"the",
"conservative",
"party",
"told",
"the",
"bbc",
"michael",
"howard",
"has",
"always",
"been",
"in",
"favour",
"of",
"i",
"d",
"cards",
" ",
"and",
"tried",
"to",
"introduce",
"them",
"when",
"he",
"was",
"home",
"secretary",
".",
"the",
"party",
"has",
"been",
" ",
"agnostic",
" ",
"on",
"the",
"issue",
"until",
"now",
"but",
"had",
"now",
"decided",
"to",
"come",
"off",
"the",
"fence",
" ",
"the",
"tory",
"source",
"said",
".",
"despite",
"giving",
"their",
"backing",
"to",
"i",
"d",
"cards",
" ",
"the",
"conservatives",
"insisted",
"they",
"would",
"hold",
"ministers",
"to",
"account",
"over",
"the",
"precise",
"purpose",
"of",
"the",
"scheme",
".",
" ",
"they",
"said",
"they",
"would",
"also",
"press",
"labour",
"over",
"whether",
"objectives",
"could",
"be",
"met",
"and",
"whether",
"the",
"home",
"office",
"would",
"deliver",
"them",
".",
"and",
"they",
"pledged",
"to",
"assess",
"the",
"cost",
"effectiveness",
"of",
"i",
"d",
"cards",
"and",
"whether",
"people",
"s",
"privacy",
"would",
"be",
"properly",
"protected",
".",
" ",
"it",
"is",
"important",
"to",
"remember",
"that",
"this",
"bill",
"will",
"take",
"a",
"decade",
"to",
"come",
"into",
"full",
"effect",
" ",
"a",
"spokesman",
"said",
".",
" ",
"it",
"will",
"do",
"nothing",
"to",
"solve",
"the",
"immediate",
"problems",
"of",
"rising",
"crime",
"and",
"uncontrolled",
"immigration",
".",
" ",
"lib",
"dem",
"home",
"affairs",
"spokesman",
"mark",
"oaten",
"said",
":",
" ",
"this",
"has",
"all",
"the",
"signs",
"of",
"michael",
"howard",
"overruling",
"colleagues",
" ",
"concerns",
"over",
"i",
"d",
"cards",
".",
" ",
"the",
"tories",
"should",
"have",
"the",
"courage",
"to",
"try",
"and",
"change",
"public",
"opinion",
"not",
"follow",
"it",
".",
" ",
"the",
"new",
"chairman",
"of",
"the",
"bar",
"council",
" ",
"guy",
"mansfield",
"qc",
"warned",
"there",
"was",
"a",
"real",
"risk",
"that",
"people",
"on",
"the",
" ",
"margins",
"of",
"society",
" ",
"would",
"be",
"driven",
"into",
"the",
"hands",
"of",
"extremists",
".",
" ",
"what",
"is",
"going",
"to",
"happen",
"to",
"young",
"asian",
"men",
"when",
"there",
"has",
"been",
"a",
"bomb",
"gone",
"off",
"somewhere",
" ",
"they",
"are",
"going",
"to",
"be",
"stopped",
".",
"if",
"they",
"haven",
"t",
"[",
"i",
"d",
"cards",
"]",
"they",
"are",
"going",
"to",
"be",
"detained",
"."
]
},
{
"tags": [
2,
6,
8,
8,
0,
8,
0,
8,
8,
8,
2,
6,
6,
8,
8,
8,
8,
8,
8,
8,
8,
8,
0,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
1,
5,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
0,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
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,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
2,
6,
8,
8,
8,
8,
8,
8,
8,
2,
6,
8
],
"tokens": [
"o",
"gara",
"revels",
"in",
"ireland",
"victory",
"ireland",
"fly",
"-",
"half",
"ronan",
"o",
"gara",
"hailed",
"his",
"side",
"s",
"19",
"-",
"13",
"victory",
"over",
"england",
"as",
"a",
" ",
"special",
" ",
"win",
".",
" ",
"the",
"munster",
"number",
"10",
"kicked",
"a",
"total",
"of",
"14",
"points",
" ",
"including",
"two",
"drop",
"goals",
" ",
"to",
"help",
"keep",
"alive",
"their",
"grand",
"slam",
"hopes",
".",
"he",
"told",
"bbc",
"sport",
":",
" ",
"we",
"made",
"hard",
"work",
"of",
"it",
"but",
"it",
"s",
"still",
"special",
"to",
"beat",
"england",
".",
" ",
"i",
"had",
"three",
"chances",
"to",
"win",
"the",
"game",
"but",
"didn",
"t.",
"we",
"have",
"work",
"to",
"do",
"after",
"this",
"but",
"we",
"never",
"take",
"a",
"victory",
"over",
"england",
"lightly",
".",
" ",
"ireland",
"hooker",
"shane",
"byrne",
"echoed",
"o",
"gara",
"s",
"comments",
"but",
"admitted",
"the",
"game",
"had",
"been",
"england",
"s",
"best",
"outing",
"in",
"the",
"six",
"nations",
".",
"byrne",
"said",
":",
" ",
"it",
"was",
"a",
"really",
" ",
"really",
"hard",
"game",
"but",
"from",
"one",
"to",
"15",
"in",
"our",
"team",
"we",
"worked",
"really",
" ",
"really",
"hard",
".",
" ",
"we",
"just",
"had",
"to",
"stick",
"to",
"our",
"defensive",
"pattern",
" ",
"trust",
"ourselves",
"and",
"trust",
"those",
"around",
"us",
".",
"all",
"round",
"it",
"was",
"fantastic",
".",
" ",
"ireland",
"captain",
"brian",
"o",
"driscoll",
" ",
"who",
"scored",
"his",
"side",
"s",
"only",
"try",
" ",
"said",
":",
" ",
"we",
"are",
"delighted",
" ",
"we",
"felt",
"if",
"we",
"performed",
"well",
"then",
"we",
"would",
"win",
"but",
"with",
"england",
"also",
"having",
"played",
"very",
"well",
"it",
"makes",
"it",
"all",
"the",
"sweeter",
".",
" ",
"we",
"did",
"get",
"the",
"bounce",
"of",
"the",
"ball",
"and",
"some",
"days",
"that",
"happens",
"and",
"you",
"ve",
"just",
"got",
"to",
"jump",
"on",
"the",
"back",
"of",
"it",
".",
" ",
"ireland",
"coach",
"eddie",
"o",
"sullivan",
"was",
"surprised",
"that",
"england",
"coach",
"andy",
"robinson",
"said",
"he",
"was",
"certain",
"mark",
"cueto",
"was",
"onside",
"for",
"a",
"disallowed",
"try",
"just",
"before",
"the",
"break",
".",
" ",
"andy",
"was",
"sitting",
"two",
"yards",
"from",
"me",
"and",
"i",
"couldn",
"t",
"see",
"whether",
"he",
"was",
"offside",
"or",
"not",
"so",
"i",
"don",
"t",
"know",
"how",
"andy",
"could",
"have",
"known",
" ",
"said",
"o",
"sullivan",
".",
" ",
"what",
"i",
"do",
"know",
"is",
"that",
"england",
"played",
"well",
"and",
"when",
"that",
"happens",
"it",
"makes",
"a",
"very",
"good",
"victory",
"for",
"us",
".",
" ",
"we",
"had",
"to",
"defend",
"for",
"long",
"periods",
"and",
"that",
"is",
"all",
"good",
"for",
"the",
"confidence",
"of",
"the",
"team",
".",
" ",
"i",
"think",
"our",
"try",
"was",
"very",
"well",
"worked",
" ",
"it",
"was",
"a",
"gem",
" ",
"as",
"good",
"a",
"try",
"as",
"we",
"have",
"scored",
"for",
"a",
"while",
".",
" ",
"o",
"sullivan",
"also",
"rejected",
"robinson",
"s",
"contention",
"england",
"dominated",
"the",
"forward",
"play",
".",
" ",
"i",
"think",
"we",
"lost",
"one",
"lineout",
"and",
"they",
"lost",
"four",
"or",
"five",
"so",
"i",
"don",
"t",
"know",
"how",
"that",
"adds",
"up",
"to",
"domination",
" ",
"he",
"said",
".",
"o",
"driscoll",
"also",
"insisted",
"ireland",
"were",
"happy",
"to",
"handle",
"the",
"pressure",
"of",
"being",
"considered",
"favourites",
"to",
"win",
"the",
"six",
"nations",
"title",
".",
" ",
"this",
"season",
"for",
"the",
"first",
"time",
"we",
"have",
"been",
"able",
"to",
"play",
"with",
"the",
"favourites",
" ",
"tag",
" ",
"he",
"said",
".",
" ",
"hopefully",
"we",
"have",
"proved",
"that",
"today",
"and",
"can",
"continue",
"to",
"keep",
"doing",
"so",
".",
" ",
"as",
"for",
"my",
"try",
"it",
"was",
"a",
"move",
"we",
"had",
"worked",
"on",
"all",
"week",
".",
"there",
"was",
"a",
"bit",
"of",
"magic",
"from",
"geordan",
"murphy",
"and",
"it",
"was",
"a",
"great",
"break",
"from",
"denis",
"hickie",
"."
]
}
]
The dataset has the following fields (also called "features"):
{
"tags": "Sequence(feature=ClassLabel(num_classes=9, names=['B-LOCATION', 'B-ORG', 'B-PERSON', 'B-PRODUCT', 'I-LOCATION', 'I-ORG', 'I-PERSON', 'I-PRODUCT', 'O'], names_file=None, id=None), length=-1, id=None)",
"tokens": "Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)"
}
This dataset is split into a train and validation split. The split sizes are as follow:
Split name | Num samples |
---|---|
train | 186 |
valid | 58 |