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: 
dataset: string
split: string
model: string
num_conversations: int64
embedding_dim: int64
topics: struct<JUSTICE: int64, MONEY: int64, FOREIGNERS: int64, INTELLECTUAL_PROPERTY: int64, OTHER: int64, WORK: int64, BUSINESS: int64, CONTRACTS: int64, HOUSING: int64, CONSTITUTIONAL: int64, DATA_PRIVACY: int64, FAMILY: int64, INTERNATIONAL_LAW: int64, SOCIAL_SECURITY: int64>
vs
id: int64
x_umap: double
y_umap: double
x_tsne: double
y_tsne: double
topic: string
subtopic: string
preview: string
conversation: list<item: struct<content: string, role: string>>
embedding_idx: int64
language: string
country: string
model: string
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 547, 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: 
              dataset: string
              split: string
              model: string
              num_conversations: int64
              embedding_dim: int64
              topics: struct<JUSTICE: int64, MONEY: int64, FOREIGNERS: int64, INTELLECTUAL_PROPERTY: int64, OTHER: int64, WORK: int64, BUSINESS: int64, CONTRACTS: int64, HOUSING: int64, CONSTITUTIONAL: int64, DATA_PRIVACY: int64, FAMILY: int64, INTERNATIONAL_LAW: int64, SOCIAL_SECURITY: int64>
              vs
              id: int64
              x_umap: double
              y_umap: double
              x_tsne: double
              y_tsne: double
              topic: string
              subtopic: string
              preview: string
              conversation: list<item: struct<content: string, role: string>>
              embedding_idx: int64
              language: string
              country: string
              model: string

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
30

Space using AmirMohseni/WildChat-Legal-Visualization 1

Collection including AmirMohseni/WildChat-Legal-Visualization