Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
mode: string
completed_shards_discovered: int64
written_shards: int64
listing_seconds: double
total_seconds: double
chunk_size: null
chunk_count: null
total_shards: int64
sources: struct<common_crawl: struct<shards_available: int64, shards_sampled: int64, total_docs_sampled: int6 (... 738 chars omitted)
  child 0, common_crawl: struct<shards_available: int64, shards_sampled: int64, total_docs_sampled: int64, has_soc127_metadat (... 160 chars omitted)
      child 0, shards_available: int64
      child 1, shards_sampled: int64
      child 2, total_docs_sampled: int64
      child 3, has_soc127_metadata: int64
      child 4, has_url: int64
      child 5, text_length_stats: struct<min: int64, max: int64, median: int64, mean: double>
          child 0, min: int64
          child 1, max: int64
          child 2, median: int64
          child 3, mean: double
      child 6, soc127_coverage_pct: double
      child 7, url_coverage_pct: double
  child 1, olmocr_science_pdfs: struct<shards_available: int64, shards_sampled: int64, total_docs_sampled: int64, has_soc127_metadat (... 160 chars omitted)
      child 0, shards_available: int64
      child 1, shards_sampled: int64
      child 2, total_docs_sampled: int64
      child 3, has_soc127_metadata: int64
      child 4, has_url: int64
      child 5, text_length_stats: struct<min: int64, max: int64, median: int64, mean: double>
          child 0, min: int64
          child 1, max: int64
          child 2, median: int64
          child 3, mean: double
      child 6, soc127_coverage_pct: double
      child 7, url_coverage_pct: double
  child 2, stack_edu: struct<shards_available: int64, shards_sampled: int64, total_docs_sampled: int64, has_soc127_metadat (... 160 chars omitted)
      child 0, shards_available: int64
      child 1, shards_sampled: int64
      child 2, total_docs_sampled: int64
      child 3, has_soc127_metadata: int64
      child 4, has_url: int64
      child 5, text_length_stats: struct<min: int64, max: int64, median: int64, mean: double>
          child 0, min: int64
          child 1, max: int64
          child 2, median: int64
          child 3, mean: double
      child 6, soc127_coverage_pct: double
      child 7, url_coverage_pct: double
pool_shards: int64
nonpool_shards: int64
total_source_families: int64
to
{'sources': {'common_crawl': {'shards_available': Value('int64'), 'shards_sampled': Value('int64'), 'total_docs_sampled': Value('int64'), 'has_soc127_metadata': Value('int64'), 'has_url': Value('int64'), 'text_length_stats': {'min': Value('int64'), 'max': Value('int64'), 'median': Value('int64'), 'mean': Value('float64')}, 'soc127_coverage_pct': Value('float64'), 'url_coverage_pct': Value('float64')}, 'olmocr_science_pdfs': {'shards_available': Value('int64'), 'shards_sampled': Value('int64'), 'total_docs_sampled': Value('int64'), 'has_soc127_metadata': Value('int64'), 'has_url': Value('int64'), 'text_length_stats': {'min': Value('int64'), 'max': Value('int64'), 'median': Value('int64'), 'mean': Value('float64')}, 'soc127_coverage_pct': Value('float64'), 'url_coverage_pct': Value('float64')}, 'stack_edu': {'shards_available': Value('int64'), 'shards_sampled': Value('int64'), 'total_docs_sampled': Value('int64'), 'has_soc127_metadata': Value('int64'), 'has_url': Value('int64'), 'text_length_stats': {'min': Value('int64'), 'max': Value('int64'), 'median': Value('int64'), 'mean': Value('float64')}, 'soc127_coverage_pct': Value('float64'), 'url_coverage_pct': Value('float64')}}, 'total_source_families': Value('int64'), 'total_shards': Value('int64'), 'pool_shards': Value('int64'), 'nonpool_shards': Value('int64')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                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 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              mode: string
              completed_shards_discovered: int64
              written_shards: int64
              listing_seconds: double
              total_seconds: double
              chunk_size: null
              chunk_count: null
              total_shards: int64
              sources: struct<common_crawl: struct<shards_available: int64, shards_sampled: int64, total_docs_sampled: int6 (... 738 chars omitted)
                child 0, common_crawl: struct<shards_available: int64, shards_sampled: int64, total_docs_sampled: int64, has_soc127_metadat (... 160 chars omitted)
                    child 0, shards_available: int64
                    child 1, shards_sampled: int64
                    child 2, total_docs_sampled: int64
                    child 3, has_soc127_metadata: int64
                    child 4, has_url: int64
                    child 5, text_length_stats: struct<min: int64, max: int64, median: int64, mean: double>
                        child 0, min: int64
                        child 1, max: int64
                        child 2, median: int64
                        child 3, mean: double
                    child 6, soc127_coverage_pct: double
                    child 7, url_coverage_pct: double
                child 1, olmocr_science_pdfs: struct<shards_available: int64, shards_sampled: int64, total_docs_sampled: int64, has_soc127_metadat (... 160 chars omitted)
                    child 0, shards_available: int64
                    child 1, shards_sampled: int64
                    child 2, total_docs_sampled: int64
                    child 3, has_soc127_metadata: int64
                    child 4, has_url: int64
                    child 5, text_length_stats: struct<min: int64, max: int64, median: int64, mean: double>
                        child 0, min: int64
                        child 1, max: int64
                        child 2, median: int64
                        child 3, mean: double
                    child 6, soc127_coverage_pct: double
                    child 7, url_coverage_pct: double
                child 2, stack_edu: struct<shards_available: int64, shards_sampled: int64, total_docs_sampled: int64, has_soc127_metadat (... 160 chars omitted)
                    child 0, shards_available: int64
                    child 1, shards_sampled: int64
                    child 2, total_docs_sampled: int64
                    child 3, has_soc127_metadata: int64
                    child 4, has_url: int64
                    child 5, text_length_stats: struct<min: int64, max: int64, median: int64, mean: double>
                        child 0, min: int64
                        child 1, max: int64
                        child 2, median: int64
                        child 3, mean: double
                    child 6, soc127_coverage_pct: double
                    child 7, url_coverage_pct: double
              pool_shards: int64
              nonpool_shards: int64
              total_source_families: int64
              to
              {'sources': {'common_crawl': {'shards_available': Value('int64'), 'shards_sampled': Value('int64'), 'total_docs_sampled': Value('int64'), 'has_soc127_metadata': Value('int64'), 'has_url': Value('int64'), 'text_length_stats': {'min': Value('int64'), 'max': Value('int64'), 'median': Value('int64'), 'mean': Value('float64')}, 'soc127_coverage_pct': Value('float64'), 'url_coverage_pct': Value('float64')}, 'olmocr_science_pdfs': {'shards_available': Value('int64'), 'shards_sampled': Value('int64'), 'total_docs_sampled': Value('int64'), 'has_soc127_metadata': Value('int64'), 'has_url': Value('int64'), 'text_length_stats': {'min': Value('int64'), 'max': Value('int64'), 'median': Value('int64'), 'mean': Value('float64')}, 'soc127_coverage_pct': Value('float64'), 'url_coverage_pct': Value('float64')}, 'stack_edu': {'shards_available': Value('int64'), 'shards_sampled': Value('int64'), 'total_docs_sampled': Value('int64'), 'has_soc127_metadata': Value('int64'), 'has_url': Value('int64'), 'text_length_stats': {'min': Value('int64'), 'max': Value('int64'), 'median': Value('int64'), 'mean': Value('float64')}, 'soc127_coverage_pct': Value('float64'), 'url_coverage_pct': Value('float64')}}, 'total_source_families': Value('int64'), 'total_shards': Value('int64'), 'pool_shards': Value('int64'), 'nonpool_shards': Value('int64')}
              because column names don't match

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
74

Space using HCAI-Lab-GT/soc91-stats 1

Collection including HCAI-Lab-GT/soc91-stats