Generated croissant file is not valid?
Hi there,
I'm trying to validate the croissant files for the NeurIPS submission DL. It seems that the generated croissant file does not pass the last step:
Record set 'default' failed: An error occured during the sequential generation of the dataset, more specifically during the operation ReadFields(default) Traceback (most recent call last): File "/home/user/app/validation.py", line 50, in validate_records _ = func_timeout.func_timeout(WAIT_TIME, lambda: next(iter(records))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/func_timeout/dafunc.py", line 108, in func_timeout raise_exception(exception) File "/usr/local/lib/python3.11/site-packages/func_timeout/py3_raise.py", line 7, in raise_exception raise exception[0] from None File "/home/user/app/validation.py", line 50, in _ = func_timeout.func_timeout(WAIT_TIME, lambda: next(iter(records))) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/mlcroissant/_src/datasets.py", line 171, in iter yield from execute_operations_sequentially( File "/usr/local/lib/python3.11/site-packages/mlcroissant/_src/operation_graph/execute.py", line 72, in execute_operations_sequentially raise GenerationError( mlcroissant._src.core.issues.GenerationError: An error occured during the sequential generation of the dataset, more specifically during the operation ReadFields(default)
I have no clue how to solve this as I did not touch any of this.
Hi ! sorry for the delay, the error is only for the optional records generation test, and it also shows
TypeError: float() argument must be a string or a real number, not 'dict'
(btw feel free to post in https://huggingface.co/spaces/JoaquinVanschoren/croissant-checker/discussions to chat directly with the validator author, which is more likely to know why this is happening)
Hi!
Yeah, I relaunched the test and now have a warning with the error you mentioned. It just seems odd to me that something that HF automatically generates is not passing the tests.
I think we can close for now but you might want to make sure your generator is aligned with the checker (or the other way around).
Thanks a lot,
Florian