Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 3 new columns ({'task', 'language', 'solution'}) and 7 missing columns ({'revision_id', 'page_id', 'content', 'contributor', 'url', 'namespace', 'timestamp'}).
This happened while the json dataset builder was generating data using
hf://datasets/jondurbin/rosettacode-raw/solutions-2023-06-17.jsonl (at revision 42b7c0c244d92247273dafb4c760c089bb2e8d1f)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
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 2256, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
title: string
language: string
task: string
solution: string
to
{'namespace': Value(dtype='int64', id=None), 'page_id': Value(dtype='int64', id=None), 'url': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'content': Value(dtype='string', id=None), 'revision_id': Value(dtype='int64', id=None), 'timestamp': Value(dtype='timestamp[s]', id=None), 'contributor': Value(dtype='string', id=None)}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1321, 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 935, 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 2013, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 3 new columns ({'task', 'language', 'solution'}) and 7 missing columns ({'revision_id', 'page_id', 'content', 'contributor', 'url', 'namespace', 'timestamp'}).
This happened while the json dataset builder was generating data using
hf://datasets/jondurbin/rosettacode-raw/solutions-2023-06-17.jsonl (at revision 42b7c0c244d92247273dafb4c760c089bb2e8d1f)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
namespace int64 | page_id int64 | url string | title string | content string | revision_id int64 | timestamp timestamp[us] | contributor string |
|---|---|---|---|---|---|---|---|
0 | 9,937 | https://rosettacode.org/wiki/"$BLOCK--.REX" | "$BLOCK--.REX" | ==$BLOCK__.REX==
This Classic REXX program is used to generate (create) the '''$BLOCK.REX''' program.
<lang rexx>/**/trace o;parse arg !;if !all(arg()) then exit;if !cms then address '';signal on halt;signal on novalue;signal on syntax
/*โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ... | 240,709 | 2017-09-06T23:57:55 | Thundergnat |
0 | 10,135 | https://rosettacode.org/wiki/"$SPELL | "$SPELL | #REDIRECT [[$SPELL.REX]] | 246,334 | 2014-04-27T16:02:48 | rosettacode>AndiPersti |
0 | 9,936 | https://rosettacode.org/wiki/$BLOCK.REX | $BLOCK.REX | ==$BLOCK.REX==
This Classic REXX program is used by the '''$T.REX''' program to generate character strings used to display (big) blocked letters such as:
<pre>
$$ BBBBBBBBBBB LLLL OOOOOOOOOO CCCCCCCCCC KKKK KKK RRRRRRRRRRR EEEEEEEEEEEE XXXX XXXX
$$$$$$... | 240,702 | 2017-09-06T23:56:12 | Thundergnat |
0 | 9,213 | https://rosettacode.org/wiki/$ERR.HEL | $ERR.HEL | This '''$ERR.HEL''' page is the contents of the (help) information displayed when the '''$ERR.REX''' (REXX) program
<br>invokes the '''$H.REX''' program to display the '''help''' documentation for the '''$ERR.REX''' program.
<pre>
The $ERR comm... | 223,755 | 2017-09-06T23:58:30 | Thundergnat |
0 | 11,741 | https://rosettacode.org/wiki/$ERR.REX | $ERR.REX | The '''$ERR.REX''' (REXX) program is used to issue various formatted error messages from other REXX programs.
<br><br>The '''$ERR.REX''' program makes use of the '''$T.REX''' program to issue the error messages in red (if available).
<br><br>The help for the '''$ERR''' &... | 277,889 | 2021-01-19T15:31:15 | rosettacode>Gerard Schildberger |
0 | 9,220 | https://rosettacode.org/wiki/$MORSE.HEL | $MORSE.HEL | The '''$MORSE.HEL''' file is the HELp (documentation) file for the '''$MORSE.REX''' (REXX) program.
<pre>
The $MORSE command is used to display the Morse code equivalent of text
(words or letters of the English (Latin) alphabet, digits, and some special
characters, mostly punctuatio... | 223,825 | 2017-09-06T23:59:17 | Thundergnat |
0 | 9,219 | https://rosettacode.org/wiki/$MORSE.REX | $MORSE.REX | The following is the '''$MORSE.REX''' (REXX) program.
This program supports the ''International Morse code'' as well as
the ''USA Morse code'' (the later being primarily used by the
North American Railroads).
Some translation is done for unsupported characters such as
br... | 223,820 | 2020-07-08T19:51:04 | rosettacode>Gerard Schildberger |
0 | 10,136 | https://rosettacode.org/wiki/$SPELL | $SPELL | #REDIRECT [[$SPELL.HEL]] | 246,335 | 2014-04-27T16:03:56 | rosettacode>AndiPersti |
0 | 9,216 | https://rosettacode.org/wiki/$SPELL.HEL | $SPELL.HEL | "==$SPELL#.HEL==\nThe '''$SPELL#.HEL''' is the HELp (documentation) for the [[$(...TRUNCATED) | 223,778 | 2017-09-07T00:00:10 | Thundergnat |
0 | 9,215 | https://rosettacode.org/wiki/$SPELL.REX | $SPELL.REX | "==$SPELL#.REX==\nThis is the '''$SPELL#.REX''' (REXX) program.\n\nIt is invoked (call(...TRUNCATED) | 223,773 | 2021-06-03T19:52:38 | rosettacode>Gerard Schildberger |
End of preview.
README.md exists but content is empty.
- Downloads last month
- 17