Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
Libraries:
Datasets
pandas
License:
Northeastern University Programming Research Lab org

Convert dataset to Parquet.

Northeastern University Programming Research Lab org

This blows up with:

 % datasets-cli convert_to_parquet nuprl/MultiPL-E
nuprl/MultiPL-E
configs = ['humaneval-cpp-keep', 'humaneval-cpp-transform', 'humaneval-cpp', 'humaneval-cpp-remove', 'humaneval-cs-keep', 'humaneval-cs-transform', 'humaneval-cs', 'humaneval-cs-remove', 'humaneval-d-keep', 'humaneval-d-transform', 'humaneval-d', 'humaneval-d-remove', 'humaneval-go-keep', 'humaneval-go-transform', 'humaneval-go', 'humaneval-go-remove', 'humaneval-java-keep', 'humaneval-java-transform', 'humaneval-java', 'humaneval-java-remove', 'humaneval-jl-keep', 'humaneval-jl-transform', 'humaneval-jl', 'humaneval-jl-remove', 'humaneval-js-keep', 'humaneval-js-transform', 'humaneval-js', 'humaneval-js-remove', 'humaneval-lua-keep', 'humaneval-lua-transform', 'humaneval-lua', 'humaneval-lua-remove', 'humaneval-php-keep', 'humaneval-php-transform', 'humaneval-php', 'humaneval-php-remove', 'humaneval-pl-keep', 'humaneval-pl-transform', 'humaneval-pl', 'humaneval-pl-remove', 'humaneval-py-keep', 'humaneval-py-transform', 'humaneval-py', 'humaneval-py-remove', 'humaneval-r-keep', 'humaneval-r-transform', 'humaneval-r', 'humaneval-r-remove', 'humaneval-rb-keep', 'humaneval-rb-transform', 'humaneval-rb', 'humaneval-rb-remove', 'humaneval-rkt-keep', 'humaneval-rkt-transform', 'humaneval-rkt', 'humaneval-rkt-remove', 'humaneval-rs-keep', 'humaneval-rs-transform', 'humaneval-rs', 'humaneval-rs-remove', 'humaneval-scala-keep', 'humaneval-scala-transform', 'humaneval-scala', 'humaneval-scala-remove', 'humaneval-sh-keep', 'humaneval-sh-transform', 'humaneval-sh', 'humaneval-sh-remove', 'humaneval-swift-keep', 'humaneval-swift-transform', 'humaneval-swift', 'humaneval-swift-remove', 'humaneval-ts-keep', 'humaneval-ts-transform', 'humaneval-ts', 'humaneval-ts-remove', 'mbpp-cpp-keep', 'mbpp-cpp', 'mbpp-cs-keep', 'mbpp-cs', 'mbpp-d-keep', 'mbpp-d', 'mbpp-go-keep', 'mbpp-go', 'mbpp-java-keep', 'mbpp-java', 'mbpp-jl-keep', 'mbpp-jl', 'mbpp-js-keep', 'mbpp-js', 'mbpp-lua-keep', 'mbpp-lua', 'mbpp-php-keep', 'mbpp-php', 'mbpp-pl-keep', 'mbpp-pl', 'mbpp-py-keep', 'mbpp-py', 'mbpp-r-keep', 'mbpp-r', 'mbpp-rb-keep', 'mbpp-rb', 'mbpp-rkt-keep', 'mbpp-rkt', 'mbpp-rs-keep', 'mbpp-rs', 'mbpp-scala-keep', 'mbpp-scala', 'mbpp-sh-keep', 'mbpp-sh', 'mbpp-swift-keep', 'mbpp-swift', 'mbpp-ts-keep', 'mbpp-ts']
default_config = 'humaneval-cpp'
config = 'humaneval-cpp'
Loading Dataset Infos from /Users/arjun/.cache/huggingface/modules/datasets_modules/datasets/nuprl--MultiPL-E/523fc75edb4d4e1207d2e94788ccff537d389f71947b21c296ae53c48bb044e5
Overwrite dataset info from restored data version if exists.
Loading Dataset info from /Users/arjun/.cache/huggingface/datasets/nuprl___multi_pl-e/humaneval-cpp/2.1.0/523fc75edb4d4e1207d2e94788ccff537d389f71947b21c296ae53c48bb044e5
Found cached dataset multi_pl-e (/Users/arjun/.cache/huggingface/datasets/nuprl___multi_pl-e/humaneval-cpp/2.1.0/523fc75edb4d4e1207d2e94788ccff537d389f71947b21c296ae53c48bb044e5)
Loading Dataset info from /Users/arjun/.cache/huggingface/datasets/nuprl___multi_pl-e/humaneval-cpp/2.1.0/523fc75edb4d4e1207d2e94788ccff537d389f71947b21c296ae53c48bb044e5
Pushing split test to the Hub.
Creating parquet from Arrow format: 100%|████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 777.15ba/s]
Uploading the dataset shards: 100%|███████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  7.42it/s]
config = 'humaneval-cpp-keep'
Loading Dataset Infos from /Users/arjun/.cache/huggingface/modules/datasets_modules/datasets/nuprl--MultiPL-E/523fc75edb4d4e1207d2e94788ccff537d389f71947b21c296ae53c48bb044e5
Overwrite dataset info from restored data version if exists.
Loading Dataset info from /Users/arjun/.cache/huggingface/datasets/nuprl___multi_pl-e/humaneval-cpp-keep/2.1.0/523fc75edb4d4e1207d2e94788ccff537d389f71947b21c296ae53c48bb044e5
Found cached dataset multi_pl-e (/Users/arjun/.cache/huggingface/datasets/nuprl___multi_pl-e/humaneval-cpp-keep/2.1.0/523fc75edb4d4e1207d2e94788ccff537d389f71947b21c296ae53c48bb044e5)
Loading Dataset info from /Users/arjun/.cache/huggingface/datasets/nuprl___multi_pl-e/humaneval-cpp-keep/2.1.0/523fc75edb4d4e1207d2e94788ccff537d389f71947b21c296ae53c48bb044e5
Traceback (most recent call last):
  File "/Users/arjun/miniconda3/lib/python3.11/site-packages/huggingface_hub/utils/_errors.py", line 304, in hf_raise_for_status
    response.raise_for_status()
  File "/Users/arjun/miniconda3/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://huggingface.co/api/datasets/nuprl/MultiPL-E/branch/refs%2Fpr%2F6

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/arjun/miniconda3/bin/datasets-cli", line 33, in <module>
    sys.exit(load_entry_point('datasets==2.20.0', 'console_scripts', 'datasets-cli')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arjun/miniconda3/lib/python3.11/site-packages/datasets/commands/datasets_cli.py", line 43, in main
    service.run()
  File "/Users/arjun/miniconda3/lib/python3.11/site-packages/datasets/commands/convert_to_parquet.py", line 44, in run
    _ = convert_to_parquet(
        ^^^^^^^^^^^^^^^^^^^
  File "/Users/arjun/miniconda3/lib/python3.11/site-packages/datasets/hub.py", line 86, in convert_to_parquet
    dataset.push_to_hub(
  File "/Users/arjun/miniconda3/lib/python3.11/site-packages/datasets/dataset_dict.py", line 1713, in push_to_hub
    api.create_branch(repo_id, branch=revision, token=token, repo_type="dataset", exist_ok=True)
  File "/Users/arjun/miniconda3/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/arjun/miniconda3/lib/python3.11/site-packages/huggingface_hub/hf_api.py", line 5503, in create_branch
    hf_raise_for_status(response)
  File "/Users/arjun/miniconda3/lib/python3.11/site-packages/huggingface_hub/utils/_errors.py", line 358, in hf_raise_for_status
    raise BadRequestError(message, response=response) from e
huggingface_hub.utils._errors.BadRequestError:  (Request ID: Root=1-668949ba-6030ed7a66c5ee5b115b4f86;30a467c8-6b2a-4c36-a3d3-fbf65f88d33b)

Bad request:
Invalid reference for a branch: refs/pr/6
arjunguha changed pull request status to closed

Sign up or log in to comment