The dataset viewer is not available for this split.
Error code: FeaturesError Exception: ValueError Message: Not able to read records in the JSON file at hf://datasets/NOTGregory/NOTMusic@66f5bfc4350beb32c2364c1b2dbbf2f58159059e/data.json. You should probably indicate the field of the JSON file containing your records. This JSON file contain the following fields: ['tokens', 'items']. Select the correct one and provide it as `field='XXX'` to the dataset loading method. Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 240, in compute_first_rows_from_streaming_response iterable_dataset = iterable_dataset._resolve_features() File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2216, in _resolve_features features = _infer_features_from_batch(self.with_format(None)._head()) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1239, in _head return _examples_to_batch(list(self.take(n))) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1389, in __iter__ for key, example in ex_iterable: File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1044, in __iter__ yield from islice(self.ex_iterable, self.n) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 282, in __iter__ for key, pa_table in self.generate_tables_fn(**self.kwargs): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 170, in _generate_tables raise ValueError( ValueError: Not able to read records in the JSON file at hf://datasets/NOTGregory/NOTMusic@66f5bfc4350beb32c2364c1b2dbbf2f58159059e/data.json. You should probably indicate the field of the JSON file containing your records. This JSON file contain the following fields: ['tokens', 'items']. Select the correct one and provide it as `field='XXX'` to the dataset loading method.
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
NOTMusic
1 - Abstract
NOTMusic is a dataset that associates string tags with melodic sequences.
2 - Contents
2.1 - Format
The NOTMusic dataset is encoded in a file labeled "data.json".
Said file contains a object with a "tokens" field and an "items" field.
The tokens fields contains an object where every key represents a string tag, and every value specifies the index of its key.
The items field contains a list of objects representing input-output pairs of tag-lists and melodic sequences.
Each of said objects contains an "input" field and an "output" field.
The input field contains an array of numbers representing the indices of the string tags for the melody as specified in the tokens object.
The output field contains an array of numbers representing a melodic sequence where each number specifies a note for a piano, ranging from 1 to 88.
2.2 - Source
The NOTMusic dataset was generated from MIDI files found on https://www.midiworld.com/.
- Downloads last month
- 46