Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    ArrowInvalid
Message:      Schema at index 1 was different: 
concept_class_id: list<item: string>
concepts_table: string
count: int64
domain_id: list<item: string>
duckdb: string
exclude_concept_class_id: list<item: string>
extra_columns: list<item: string>
include_codes_in_text: bool
max_synonyms: int64
model_id: string
profiles_table: string
vector_dim: int64
vs
model_id: string
concept_table: string
profiles_table: null
domain_filters: list<item: string>
concept_class_filters: list<item: string>
exclude_concept_classes: list<item: null>
extra_columns: list<item: null>
include_atc: bool
count: int64
embedding_dim: int64
device: string
pooling: string
max_length: int64
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 243, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 3496, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2257, in _head
                  return next(iter(self.iter(batch_size=n)))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2461, in iter
                  for key, example in iterator:
                                      ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 1952, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 1974, in _iter_arrow
                  yield from self.ex_iterable._iter_arrow()
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 563, in _iter_arrow
                  yield new_key, pa.Table.from_batches(chunks_buffer)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "pyarrow/table.pxi", line 5039, in pyarrow.lib.Table.from_batches
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: Schema at index 1 was different: 
              concept_class_id: list<item: string>
              concepts_table: string
              count: int64
              domain_id: list<item: string>
              duckdb: string
              exclude_concept_class_id: list<item: string>
              extra_columns: list<item: string>
              include_codes_in_text: bool
              max_synonyms: int64
              model_id: string
              profiles_table: string
              vector_dim: int64
              vs
              model_id: string
              concept_table: string
              profiles_table: null
              domain_filters: list<item: string>
              concept_class_filters: list<item: string>
              exclude_concept_classes: list<item: null>
              extra_columns: list<item: null>
              include_atc: bool
              count: int64
              embedding_dim: int64
              device: string
              pooling: string
              max_length: int64

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.

No dataset card yet

Downloads last month
2

Spaces using amnnma/drug-concept-index 3