Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when loading dataset #23

Open
steve2972 opened this issue Jan 17, 2025 · 0 comments
Open

Error when loading dataset #23

steve2972 opened this issue Jan 17, 2025 · 0 comments

Comments

@steve2972
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant