Skip to content

Error when loading dataset #23

@steve2972

Description

@steve2972

Hi, when I run the following code:

from datasets import load_dataset
ds = load_dataset("BAAI/JudgeLM-100K")

I get the following error:

raise TypeError(f"Couldn't cast array of type {_short_str(array.type)} to {_short_str(pa_type)}")
TypeError: Couldn't cast array of type struct<logprobs: double, rouge1: double, rouge2: double, rougeLsum: double, rougeL: double, bleu: double, bertscore: double, bleurt: double, bartscore: double> to double

Do we have to explicitly use the jsonl files directly to access the data?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions