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

ValueError: --do_eval requires a validation dataset #9

Open
10637409100 opened this issue Dec 10, 2024 · 1 comment
Open

ValueError: --do_eval requires a validation dataset #9

10637409100 opened this issue Dec 10, 2024 · 1 comment

Comments

@10637409100
Copy link

12/10/2024 12:37:18 - INFO - datasets.arrow_dataset - Concatenating 4 shards
[rank0]: Traceback (most recent call last):
[rank0]: File "/home/fu/下载/GNER-main/GNER-main/src/run.py", line 507, in
[rank0]: main()
[rank0]: File "/home/fu/下载/GNER-main/GNER-main/src/run.py", line 370, in main
[rank0]: raise ValueError("--do_eval requires a validation dataset")
[rank0]: ValueError: --do_eval requires a validation dataset
There is an error about missing a validation set, but there is no content about the validation set in the given data.

@10637409100
Copy link
Author

10637409100 commented Dec 10, 2024

I solved this problem by changing 'valid' to 'validation' on line 369 of run.py

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