Dataset Preview
Full Screen Viewer
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
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 | _output_all_columns
bool | _split
null |
---|---|---|---|---|---|---|---|
[
{
"filename": "dataset.arrow"
}
] | 9237aea57b348bba | [
"target",
"text"
] | {} | null | {} | false | null |
AutoTrain Dataset for project: bbc-news-classifier
Dataset Description
This dataset has been automatically processed by AutoTrain for project bbc-news-classifier.
Languages
The BCP-47 code for the dataset's language is unk.
Dataset Structure
Data Instances
A sample from this dataset looks as follows:
[
{
"text": "tv debate urged for party chiefs broadcasters should fix a date for a pre-election televised debate between the three main political leaders according to the hansard society. it would then be up to tony blair michael howard and charles kennedy to decide whether to take part the non-partisan charity said. chairman lord holme argued that prime ministers should not have the right of veto on a matter of public interest . the broadcasters should make the decision to go ahead he said. lord holme s proposal for a televised debate comes just four months after millions of viewers were able to watch us president george w bush slug it out verbally with his democratic challenger john kerry. he said it was a democratically dubious proposition that it was up to the incumbent prime minister to decide whether a similar event takes place here. if mr blair did not want to take part the broadcasters could go ahead with an empty chair or cancel the event and explain their reasons why lord holme said. what makes the present situation even less acceptable is that although mr howard and mr kennedy have said they would welcome a debate no-one has heard directly from the prime minister he said. it has been left to nudges and winks hints and briefings from his aides and campaign managers to imply that mr blair doesn t want one but we haven t heard from the prime minister himself. lord holme who has campaigned for televised debates at previous elections said broadcasters were more than willing to cooperate with the arrangements . opinion polls suggested that the idea had the backing of the public who like comparing the personalities and policies of the contenders in their own homes he said. lord holme argued that as part of their public service obligations broadcasters should make the decision to go ahead as soon as the election is called. an independent third-party body such as the hansard society or electoral commission could work out the ground rules so they were fair to participants and informative to the public he said. it would be up to each party leader to accept or refuse said lord holme. if the prime minister s reported position is true and he does want to take part he would then be obliged to say why publicly. the broadcasters would then have the option of cancelling the event for obvious and well-understood reasons or going ahead with an empty chair. either way would be preferable to the present hidden veto. the hansard society has long campaigned for televised debates and has published reports on the issue in 1997 and 2001. tony blair has already ruled out taking part in a televised debate during the forthcoming election campaign. last month he said: we answer this every election campaign and for the reasons i have given before the answer is no he said at his monthly news conference.",
"target": 2
},
{
"text": "ecb holds rates amid growth fears the european central bank has left its key interest rate unchanged at 2% for the 19th month in succession. borrowing costs have remained on hold amid concerns about the strength of economic growth in the 12 nations sharing the euro analysts said. despite signs of pick-up labour markets and consumer demand remain sluggish while firms are eyeing cost cutting measures such as redundancies. high oil prices meanwhile have put upward pressure on the inflation rate. surveys of economists have shown that the majority expect borrowing costs to stay at 2% in coming months with an increase of a quarter of a percentage point predicted some time in the second half of the year. if anything there may be greater calls for an interest rate cut especially with the euro continuing to strengthen against the dollar. the euro land economy is still struggling with this recovery said economist dirk schumacher. the ecb may sound rather hawkish but once the data allows them to cut again they will. data coming out of germany on thursday underlined the problems facing european policy makers. while germany s economy expanded by 1.7% in 2004 growth was driven by export sales and lost some of its momentum in the last three months of the year. the strength of the euro is threatening to dampen that foreign demand in 2005 and domestic consumption currently is not strong enough to take up the slack. inflation in the eurozone however is estimated at about 2.3% in december above ecb guidelines of 2%. ecb president jean-claude trichet has remained upbeat about prospects for the region and inflation is expected to drop below 2% later in 2005. the ecb has forecast economic growth in the eurozone of 1.9% in 2005.",
"target": 0
}
]
Dataset Fields
The dataset has the following fields (also called "features"):
{
"text": "Value(dtype='string', id=None)",
"target": "ClassLabel(names=['business', 'entertainment', 'politics', 'sport', 'technology'], id=None)"
}
Dataset Splits
This dataset is split into a train and validation split. The split sizes are as follow:
Split name | Num samples |
---|---|
train | 198 |
valid | 52 |
- Downloads last month
- 45