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 1 new columns ({'text'}) and 3 missing columns ({'concept_id', 'end', 'start'}).
This happened while the csv dataset builder was generating data using
hf://datasets/damonsalvatore123/NLP-A2/Data/training-notes.csv (at revision 0f79a1dbe2d235a1f76f1326d572068b2486be10), ['hf://datasets/damonsalvatore123/NLP-A2@0f79a1dbe2d235a1f76f1326d572068b2486be10/Data/train-annotations.csv', 'hf://datasets/damonsalvatore123/NLP-A2@0f79a1dbe2d235a1f76f1326d572068b2486be10/Data/training-notes.csv']
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 "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
note_id: string
text: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 501
to
{'note_id': Value('string'), 'start': Value('int64'), 'end': Value('int64'), 'concept_id': Value('int64')}
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 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
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 1 new columns ({'text'}) and 3 missing columns ({'concept_id', 'end', 'start'}).
This happened while the csv dataset builder was generating data using
hf://datasets/damonsalvatore123/NLP-A2/Data/training-notes.csv (at revision 0f79a1dbe2d235a1f76f1326d572068b2486be10), ['hf://datasets/damonsalvatore123/NLP-A2@0f79a1dbe2d235a1f76f1326d572068b2486be10/Data/train-annotations.csv', 'hf://datasets/damonsalvatore123/NLP-A2@0f79a1dbe2d235a1f76f1326d572068b2486be10/Data/training-notes.csv']
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.
note_id string | start int64 | end int64 | concept_id int64 |
|---|---|---|---|
10060142-DS-9 | 179 | 190 | 91,936,005 |
10060142-DS-9 | 228 | 248 | 95,563,007 |
10060142-DS-9 | 294 | 322 | 45,595,009 |
10060142-DS-9 | 390 | 411 | 95,563,007 |
10060142-DS-9 | 425 | 444 | 1,835,003 |
10060142-DS-9 | 476 | 496 | 310,244,003 |
10060142-DS-9 | 501 | 516 | 19,387,007 |
10060142-DS-9 | 541 | 566 | 57,653,000 |
10060142-DS-9 | 574 | 582 | 268,910,001 |
10060142-DS-9 | 618 | 628 | 13,467,000 |
10060142-DS-9 | 646 | 653 | 56,783,008 |
10060142-DS-9 | 701 | 709 | 122,865,005 |
10060142-DS-9 | 818 | 824 | 737,492,002 |
10060142-DS-9 | 836 | 851 | 38,102,005 |
10060142-DS-9 | 859 | 869 | 223,482,009 |
10060142-DS-9 | 953 | 968 | 38,102,005 |
10060142-DS-9 | 1,001 | 1,014 | 84,089,009 |
10060142-DS-9 | 1,021 | 1,030 | 32,849,002 |
10060142-DS-9 | 1,033 | 1,049 | 30,811,009 |
10060142-DS-9 | 1,052 | 1,059 | 48,694,002 |
10060142-DS-9 | 1,062 | 1,071 | 161,891,005 |
10060142-DS-9 | 1,128 | 1,150 | 94,391,008 |
10060142-DS-9 | 1,159 | 1,164 | 438,949,009 |
10060142-DS-9 | 1,170 | 1,173 | 230,690,007 |
10060142-DS-9 | 1,199 | 1,220 | 363,418,001 |
10060142-DS-9 | 1,258 | 1,260 | 118,227,000 |
10060142-DS-9 | 1,288 | 1,290 | 722,742,002 |
10060142-DS-9 | 1,291 | 1,294 | 162,673,000 |
10060142-DS-9 | 1,296 | 1,299 | 281,900,007 |
10060142-DS-9 | 1,309 | 1,311 | 363,003,006 |
10060142-DS-9 | 1,313 | 1,316 | 76,863,003 |
10060142-DS-9 | 1,317 | 1,321 | 268,925,001 |
10060142-DS-9 | 1,323 | 1,327 | 48,348,007 |
10060142-DS-9 | 1,328 | 1,331 | 225,162,003 |
10060142-DS-9 | 1,333 | 1,345 | 51,316,009 |
10060142-DS-9 | 1,346 | 1,355 | 609,343,002 |
10060142-DS-9 | 1,393 | 1,397 | 302,773,001 |
10060142-DS-9 | 1,399 | 1,403 | 102,599,008 |
10060142-DS-9 | 1,413 | 1,414 | 3,415,004 |
10060142-DS-9 | 1,417 | 1,418 | 424,372,002 |
10060142-DS-9 | 1,512 | 1,534 | 95,563,007 |
10060142-DS-9 | 1,604 | 1,632 | 45,595,009 |
10060142-DS-9 | 1,673 | 1,677 | 386,390,005 |
10060142-DS-9 | 1,723 | 1,736 | 36,823,005 |
10060142-DS-9 | 1,742 | 1,751 | 103,744,005 |
10060142-DS-9 | 1,766 | 1,769 | 241,716,000 |
10060142-DS-9 | 1,774 | 1,786 | 225,782,006 |
10060142-DS-9 | 1,806 | 1,828 | 301,459,008 |
10060142-DS-9 | 1,830 | 1,854 | 1,156,446,004 |
10060142-DS-9 | 1,856 | 1,879 | 310,500,000 |
10060142-DS-9 | 1,894 | 1,916 | 102,834,005 |
10060142-DS-9 | 1,953 | 1,960 | 103,746,007 |
10060142-DS-9 | 2,062 | 2,070 | 386,661,006 |
10060142-DS-9 | 2,077 | 2,095 | 72,970,002 |
10060142-DS-9 | 2,126 | 2,139 | 36,823,005 |
10060142-DS-9 | 2,141 | 2,151 | 160,680,006 |
10060142-DS-9 | 2,153 | 2,179 | 129,023,004 |
10060142-DS-9 | 2,185 | 2,210 | 1,156,446,004 |
10060142-DS-9 | 2,295 | 2,303 | 311,401,005 |
10060142-DS-9 | 2,319 | 2,331 | 420,227,002 |
10060142-DS-9 | 2,386 | 2,400 | 371,754,007 |
10060142-DS-9 | 2,794 | 2,814 | 95,563,007 |
10060142-DS-9 | 2,839 | 2,852 | 392,257,007 |
10060142-DS-9 | 2,874 | 2,896 | 444,714,004 |
10060142-DS-9 | 2,898 | 2,903 | 248,234,008 |
10060142-DS-9 | 2,908 | 2,919 | 288,577,006 |
10060142-DS-9 | 2,938 | 2,962 | 165,245,003 |
10060142-DS-9 | 3,043 | 3,082 | 38,102,005 |
10060142-DS-9 | 3,110 | 3,125 | 19,585,003 |
10060142-DS-9 | 3,388 | 3,399 | 394,835,006 |
10060142-DS-9 | 3,456 | 3,466 | 967,006 |
10060142-DS-9 | 3,496 | 3,507 | 967,006 |
10060142-DS-9 | 3,562 | 3,570 | 359,665,005 |
10060142-DS-9 | 3,599 | 3,631 | 313,210,009 |
10060142-DS-9 | 3,634 | 3,656 | 304,673,006 |
10060142-DS-9 | 3,688 | 3,697 | 183,616,001 |
10060142-DS-9 | 3,758 | 3,780 | 304,673,006 |
10060142-DS-9 | 3,825 | 3,855 | 394,835,006 |
10060142-DS-9 | 3,896 | 3,908 | 737,470,001 |
10060142-DS-9 | 3,920 | 3,923 | 737,470,001 |
10060142-DS-9 | 4,012 | 4,026 | 1,144,586,002 |
10060142-DS-9 | 4,028 | 4,036 | 442,672,001 |
10060142-DS-9 | 4,038 | 4,045 | 822,962,003 |
10060142-DS-9 | 4,050 | 4,058 | 75,823,008 |
10060142-DS-9 | 4,068 | 4,082 | 609,343,002 |
10060142-DS-9 | 4,153 | 4,159 | 304,673,006 |
10060142-DS-9 | 4,170 | 4,188 | 609,343,002 |
10097089-DS-8 | 201 | 223 | 419,511,003 |
10097089-DS-8 | 277 | 287 | 29,857,009 |
10097089-DS-8 | 289 | 295 | 401,314,000 |
10097089-DS-8 | 336 | 359 | 41,976,001 |
10097089-DS-8 | 419 | 423 | 13,645,005 |
10097089-DS-8 | 432 | 442 | 29,857,009 |
10097089-DS-8 | 447 | 465 | 444,931,001 |
10097089-DS-8 | 471 | 473 | 29,857,009 |
10097089-DS-8 | 495 | 503 | 413,322,009 |
10097089-DS-8 | 519 | 531 | 781,087,000 |
10097089-DS-8 | 533 | 535 | 29,857,009 |
10097089-DS-8 | 536 | 545 | 58,184,002 |
10097089-DS-8 | 566 | 574 | 413,322,009 |
End of preview.
No dataset card yet
- Downloads last month
- 12