Dataset Preview
Duplicate
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:    TypeError
Message:      Couldn't cast array of type
struct<start: int64, end: int64, text: string, concept_id: string, umls_cui: string, context: struct<negated: bool, status: string, uncertain: bool>>
to
{'start': Value('int64'), 'end': Value('int64'), 'text': Value('string'), 'concept_id': Value('string')}
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_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 2312, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2118, in cast_array_to_feature
                  casted_array_values = _c(array.values, feature.feature)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2158, 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<start: int64, end: int64, text: string, concept_id: string, umls_cui: string, context: struct<negated: bool, status: string, uncertain: bool>>
              to
              {'start': Value('int64'), 'end': Value('int64'), 'text': Value('string'), 'concept_id': Value('string')}
              
              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 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 1880, 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.

note_id
string
text
string
entities
list
10043750-DS-6
Name: ___ Unit No: ___ Admission Date: ___ Discharge Date: ___ Date of Birth: ___ Sex: F Service: SURGERY Allergies: No Known Allergies / Adverse Drug Reactions Attending: ___. Chief Complaint: R colon cancer Major Surgical or Invasive Procedure: Open...
[ { "start": 180, "end": 182, "text": "No", "concept_id": "UNLINKED" }, { "start": 201, "end": 223, "text": "Adverse Drug Reactions", "concept_id": "UNLINKED" }, { "start": 261, "end": 275, "text": "R colon cancer", "concept_id": "UNLINKED" }, { "start":...
10371195-DS-9
Name: ___ Unit No: ___ Admission Date: ___ Discharge Date: ___ Date of Birth: ___ Sex: M Service: SURGERY Allergies: Patient recorded as having No Known Allergies to Drugs Attending: ___. Chief Complaint: s/p Motorcycle crash Major Surgical or Invasive P...
[ { "start": 204, "end": 216, "text": "No Known All", "concept_id": "UNLINKED" }, { "start": 273, "end": 289, "text": "Motorcycle crash", "concept_id": "UNLINKED" }, { "start": 334, "end": 361, "text": "Epidural catheter placement", "concept_id": "UNLINKED" },...
10794068-DS-18
Name: ___ Unit No: ___ Admission Date: ___ Discharge Date: ___ Date of Birth: ___ Sex: M Service: SURGERY Allergies: Patient recorded as having No Known Allergies to Drugs Attending: ___. Chief Complaint: ___ s/p unwitnessed fall, unresponsive, with mult...
[ { "start": 279, "end": 295, "text": "unwitnessed fall", "concept_id": "UNLINKED" }, { "start": 297, "end": 309, "text": "unresponsive", "concept_id": "UNLINKED" }, { "start": 325, "end": 326, "text": "L", "concept_id": "UNLINKED" }, { "start": 327, ...
10839721-DS-9
Name: ___ Unit No: ___ Admission Date: ___ Discharge Date: ___ Date of Birth: ___ Sex: F Service: MEDICINE Allergies: Iodine-Iodine Containing / Amitriptyline / Amitiza / ondansetron / Levaquin Attending: ___. Chief Complaint: Colitis, Hematochezia ...
[ { "start": 184, "end": 208, "text": "Iodine-Iodine Containing", "concept_id": "UNLINKED" }, { "start": 211, "end": 224, "text": "Amitriptyline", "concept_id": "UNLINKED" }, { "start": 252, "end": 255, "text": "Lev", "concept_id": "UNLINKED" }, { "start...
10848570-DS-12
Name: ___ Unit No: ___ Admission Date: ___ Discharge Date: ___ Date of Birth: ___ Sex: M Service: MEDICINE Allergies: Patient recorded as having No Known Allergies to Drugs Attending: ___. Chief Complaint: Fall Major Surgical or Invasive Procedure: Endo...
[ { "start": 271, "end": 275, "text": "Fall", "concept_id": "UNLINKED" }, { "start": 316, "end": 339, "text": "Endotracheal Intubation", "concept_id": "UNLINKED" }, { "start": 340, "end": 369, "text": "Central Venous Line Placement", "concept_id": "UNLINKED" }...
10860165-DS-24
Name: ___ Unit No: ___ Admission Date: ___ Discharge Date: ___ Date of Birth: ___ Sex: M Service: SURGERY Allergies: No Known Allergies / Adverse Drug Reactions Attending: ___. Chief Complaint: trauma evaluation s/p fall from ladder Major Surgical or Invas...
[ { "start": 196, "end": 218, "text": "Adverse Drug Reactions", "concept_id": "UNLINKED" }, { "start": 256, "end": 273, "text": "trauma evaluation", "concept_id": "UNLINKED" }, { "start": 278, "end": 282, "text": "fall", "concept_id": "UNLINKED" }, { "st...
10912090-DS-33
" \nName: ___ Unit No: ___\n \nAdmission Date: ___ Discharge Date:(...TRUNCATED)
[{"start":180,"end":196,"text":"Abacavir Sulfate","concept_id":"UNLINKED"},{"start":199,"end":206,"t(...TRUNCATED)
10960609-DS-16
" \nName: ___ Unit No: ___\n \nAdmission Date: ___ Discharge Date(...TRUNCATED)
[{"start":185,"end":196,"text":"Penicillins","concept_id":"UNLINKED"},{"start":199,"end":208,"text":(...TRUNCATED)
10965697-DS-12
" \nName: ___ Unit No: ___\n \nAdmission Date: ___ Discharge Dat(...TRUNCATED)
[{"start":182,"end":192,"text":"lisinopril","concept_id":"UNLINKED"},{"start":195,"end":208,"text":"(...TRUNCATED)
11021124-DS-15
" \nName: ___ Unit No: ___\n \nAdmission Date: ___ Discharge Date: (...TRUNCATED)
[{"start":179,"end":186,"text":"Codeine","concept_id":"UNLINKED"},{"start":224,"end":234,"text":"che(...TRUNCATED)
End of preview.

No dataset card yet

Downloads last month
54