Dataset Viewer issue: DatasetWithScriptNotSupportedError

#1
by muhammadravi251001 - opened

The dataset viewer is not working.

Error details:

Error code:   DatasetWithScriptNotSupportedError

I remember it worked well before. The same problem goes to my other dataset, such as: idkmrc-nli & squadid-nli in this same Hugging Face account.

cc @albertvillanova @lhoestq @severo .

Hi ! We stopped showing the dataset content when the dataset is based on a script for security reasons (some people were abusing it).

Though it seems your dataset is made of CSV files, and the Viewer does support the CSV format.
You can try removing the dataset script altogether :)

And if you want to specify the Features (e.g. for ClassLabel) without a script you just need to add them in the YAML part at the top of you README.md:

dataset_info:
  features:
  - name: premise
    dtype: string
  - name: hypothesis
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': entailment
          '1': neutral
          '2': contradiction

Alright, it worked! Sorry for the very very late response, Sir!

muhammadravi251001 changed discussion status to closed

Sign up or log in to comment