Error when loading the dataset

#1
by yrshi - opened

Thanks for your great work!

I encountered some problems when trying to use this dataset. When loading the dataset, the huggingface datasets lib yields the following error message:

Couldn't cast
input_ids: list<item: int16>
  child 0, item: int16
soma_joinid: int64
dataset_id: string
assay: string
assay_ontology_term_id: string
cell_type: string
cell_type_ontology_term_id: string
development_stage: string
development_stage_ontology_term_id: string
disease: string
disease_ontology_term_id: string
donor_id: string
is_primary_data: bool
self_reported_ethnicity: string
self_reported_ethnicity_ontology_term_id: string
sex: string
sex_ontology_term_id: string
suspension_type: string
tissue: string
tissue_ontology_term_id: string
tissue_general: string
tissue_general_ontology_term_id: string
fulltext: string
length: int64
-- schema metadata --
huggingface: '{"info": {"features": {"input_ids": {"feature": {"dtype": "' + 1412
to
{'indices': Value(dtype='uint64', id=None)}
because column names don't match

Below is the code to reproduce this error:

>>> from datasets import load_dataset
>>> dataset = load_dataset('Toycat/scLibrary')

environment:

  • Python 3.10.16
  • datasets 3.2.0

It seems this is a common error, as I also see this error message on the front page of this repo.

image.png

Sign up or log in to comment