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: CastError
Message: Couldn't cast
document_id: string
document_content: string
parent_id: string
metadata: null
task_split: string
passage_qrels: list<item: struct<id: string, label: double>>
child 0, item: struct<id: string, label: double>
child 0, id: string
child 1, label: double
full_document_qrels: list<item: struct<id: string, label: double>>
child 0, item: struct<id: string, label: double>
child 0, id: string
child 1, label: double
instruction: string
use_max_p: bool
query_content: string
query_id: string
passage_binary_qrels: null
to
{'query_id': Value('string'), 'query_content': Value('string'), 'instruction': Value('string'), 'passage_qrels': List({'id': Value('string'), 'label': Value('float64')}), 'passage_binary_qrels': Value('null'), 'full_document_qrels': List({'id': Value('string'), 'label': Value('float64')}), 'use_max_p': Value('bool'), 'metadata': Value('string'), 'task_split': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1872, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 260, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 120, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
document_id: string
document_content: string
parent_id: string
metadata: null
task_split: string
passage_qrels: list<item: struct<id: string, label: double>>
child 0, item: struct<id: string, label: double>
child 0, id: string
child 1, label: double
full_document_qrels: list<item: struct<id: string, label: double>>
child 0, item: struct<id: string, label: double>
child 0, id: string
child 1, label: double
instruction: string
use_max_p: bool
query_content: string
query_id: string
passage_binary_qrels: null
to
{'query_id': Value('string'), 'query_content': Value('string'), 'instruction': Value('string'), 'passage_qrels': List({'id': Value('string'), 'label': Value('float64')}), 'passage_binary_qrels': Value('null'), 'full_document_qrels': List({'id': Value('string'), 'label': Value('float64')}), 'use_max_p': Value('bool'), 'metadata': Value('string'), 'task_split': Value('string')}
because column names don't match
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 1347, 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 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1922, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
query_id string | query_content string | instruction string | passage_qrels list | passage_binary_qrels null | full_document_qrels list | use_max_p bool | metadata string | task_split string |
|---|---|---|---|---|---|---|---|---|
2022-15 | An 8-year-old boy is brought to the clinic by his parents because of weakness and difficulty of standing up from a sitting position. The mother is healthy but had a brother who died in his 20th after being disabled and using wheelchairs in the last few years of his life. Physical examination shows 3/5 lower extremity m... | Given a patient's medical history, find clinical trials that are relevant to them | [
{
"id": "NCT00000524:0",
"label": 0
},
{
"id": "NCT00000619:0",
"label": 0
},
{
"id": "NCT00000619:1",
"label": 0
},
{
"id": "NCT00001165:0",
"label": 0
},
{
"id": "NCT00001165:1",
"label": 0
},
{
"id": "NCT00001332:0",
"label": 0
},
{
"id"... | null | [
{
"id": "NCT00000524",
"label": 0
},
{
"id": "NCT00000619",
"label": 0
},
{
"id": "NCT00001165",
"label": 0
},
{
"id": "NCT00001332",
"label": 0
},
{
"id": "NCT00001421",
"label": 0
},
{
"id": "NCT00001431",
"label": 0
},
{
"id": "NCT000014... | true | {"year": "2022", "query_with_instruction": "Given a patient's medical history, find clinical trials that are relevant to them\nAn 8-year-old boy is brought to the clinic by his parents because of weakness and difficulty of standing up from a sitting position. The mother is healthy but had a brother who died in his 20th... | clinical_trial |
2021-16 | 79 yo F with multifactorial chronic hypoxemia and dyspnea thought due to diastolic CHF, pulmonary hypertension thought secondary to a chronic ASD and COPD on 5L home oxygen admitted with complaints of worsening shortness of breath. Cardiology consult recommended a right heart cath for evaluation of response to sildenaf... | Given a patient's medical history, find clinical trials that are relevant to them | [
{
"id": "NCT00032643:0",
"label": 0
},
{
"id": "NCT00032643:1",
"label": 0
},
{
"id": "NCT00032643:2",
"label": 0
},
{
"id": "NCT00037973:0",
"label": 2
},
{
"id": "NCT00037973:1",
"label": 2
},
{
"id": "NCT00041938:0",
"label": 0
},
{
"id"... | null | [
{
"id": "NCT00032643",
"label": 0
},
{
"id": "NCT00037973",
"label": 2
},
{
"id": "NCT00041938",
"label": 0
},
{
"id": "NCT00043836",
"label": 1
},
{
"id": "NCT00098072",
"label": 0
},
{
"id": "NCT00098488",
"label": 0
},
{
"id": "NCT001024... | true | {"year": "2021", "query_with_instruction": "Given a patient's medical history, find clinical trials that are relevant to them\n79 yo F with multifactorial chronic hypoxemia and dyspnea thought due to diastolic CHF, pulmonary hypertension thought secondary to a chronic ASD and COPD on 5L home oxygen admitted with compla... | clinical_trial |
2021-4 | "This is a 44 year old female with PMH of PCOS, Obesity, HTN who presented with symptoms of cholecys(...TRUNCATED) | Given a patient's medical history, find clinical trials that are relevant to them | [{"id":"NCT00000776:0","label":0.0},{"id":"NCT00000776:1","label":0.0},{"id":"NCT00000776:2","label"(...TRUNCATED) | null | [{"id":"NCT00000776","label":0.0},{"id":"NCT00001301","label":1.0},{"id":"NCT00001539","label":0.0},(...TRUNCATED) | true | "{\"year\": \"2021\", \"query_with_instruction\": \"Given a patient's medical history, find clinical(...TRUNCATED) | clinical_trial |
2022-32 | "A 30-year-old man who is a computer scientist came to the clinic with the lab result stating azoosp(...TRUNCATED) | Given a patient's medical history, find clinical trials that are relevant to them | [{"id":"NCT00000576:0","label":0.0},{"id":"NCT00000576:1","label":0.0},{"id":"NCT00000585:0","label"(...TRUNCATED) | null | [{"id":"NCT00000576","label":0.0},{"id":"NCT00000585","label":0.0},{"id":"NCT00000653","label":0.0},(...TRUNCATED) | true | "{\"year\": \"2022\", \"query_with_instruction\": \"Given a patient's medical history, find clinical(...TRUNCATED) | clinical_trial |
2021-39 | "A 3-day-old Asian female infant presents with jaundice that started a day ago. She was born at 38w3(...TRUNCATED) | Given a patient's medical history, find clinical trials that are relevant to them | [{"id":"NCT00000910:0","label":2.0},{"id":"NCT00001383:0","label":0.0},{"id":"NCT00001383:1","label"(...TRUNCATED) | null | [{"id":"NCT00000910","label":2.0},{"id":"NCT00001383","label":0.0},{"id":"NCT00001386","label":0.0},(...TRUNCATED) | true | "{\"year\": \"2021\", \"query_with_instruction\": \"Given a patient's medical history, find clinical(...TRUNCATED) | clinical_trial |
2021-35 | "The patient is a 15 year old girl with the history of recurrent bilateral headache. The attacks com(...TRUNCATED) | Given a patient's medical history, find clinical trials that are relevant to them | [{"id":"NCT00000862:0","label":0.0},{"id":"NCT00000862:1","label":0.0},{"id":"NCT00000862:2","label"(...TRUNCATED) | null | [{"id":"NCT00000862","label":0.0},{"id":"NCT00000910","label":0.0},{"id":"NCT00001598","label":0.0},(...TRUNCATED) | true | "{\"year\": \"2021\", \"query_with_instruction\": \"Given a patient's medical history, find clinical(...TRUNCATED) | clinical_trial |
2021-32 | "A 17 year old boy complains of vomiting, non-bloody diarrhea, abdominal pain, fever, chills and los(...TRUNCATED) | Given a patient's medical history, find clinical trials that are relevant to them | [{"id":"NCT00001237:0","label":0.0},{"id":"NCT00001237:1","label":0.0},{"id":"NCT00001237:2","label"(...TRUNCATED) | null | [{"id":"NCT00001237","label":0.0},{"id":"NCT00002774","label":0.0},{"id":"NCT00003126","label":0.0},(...TRUNCATED) | true | "{\"year\": \"2021\", \"query_with_instruction\": \"Given a patient's medical history, find clinical(...TRUNCATED) | clinical_trial |
2021-20 | "A 35-year-old woman presents with history of acne and mild hirsutism. The primary evaluation reveal(...TRUNCATED) | Given a patient's medical history, find clinical trials that are relevant to them | [{"id":"NCT00000910:0","label":0.0},{"id":"NCT00001621:0","label":0.0},{"id":"NCT00001860:0","label"(...TRUNCATED) | null | [{"id":"NCT00000910","label":0.0},{"id":"NCT00001621","label":0.0},{"id":"NCT00001860","label":1.0},(...TRUNCATED) | true | "{\"year\": \"2021\", \"query_with_instruction\": \"Given a patient's medical history, find clinical(...TRUNCATED) | clinical_trial |
2022-47 | "A 41-year-old woman comes to the dermatology clinic complaining of facial redness, especially on he(...TRUNCATED) | Given a patient's medical history, find clinical trials that are relevant to them | [{"id":"NCT00000115:0","label":0.0},{"id":"NCT00000115:1","label":0.0},{"id":"NCT00000123:0","label"(...TRUNCATED) | null | [{"id":"NCT00000115","label":0.0},{"id":"NCT00000123","label":0.0},{"id":"NCT00000125","label":0.0},(...TRUNCATED) | true | "{\"year\": \"2022\", \"query_with_instruction\": \"Given a patient's medical history, find clinical(...TRUNCATED) | clinical_trial |
2021-15 | "70 year-old woman with a history of CAD recently noted abdominal mass who presents with fevers/rigo(...TRUNCATED) | Given a patient's medical history, find clinical trials that are relevant to them | [{"id":"NCT00001730:0","label":0.0},{"id":"NCT00001730:1","label":0.0},{"id":"NCT00001730:2","label"(...TRUNCATED) | null | [{"id":"NCT00001730","label":0.0},{"id":"NCT00003049","label":2.0},{"id":"NCT00003118","label":0.0},(...TRUNCATED) | true | "{\"year\": \"2021\", \"query_with_instruction\": \"Given a patient's medical history, find clinical(...TRUNCATED) | clinical_trial |
End of preview.