Update musicbrainz_a1.py
Browse files- musicbrainz_a1.py +2 -2
musicbrainz_a1.py
CHANGED
@@ -5,7 +5,7 @@ import tarfile
|
|
5 |
import io
|
6 |
from io import BytesIO
|
7 |
|
8 |
-
CHUNK_COUNT =
|
9 |
|
10 |
_FEATURES = datasets.Features(
|
11 |
{
|
@@ -40,7 +40,7 @@ class MusicBrainzLoaderStream(datasets.GeneratorBasedBuilder):
|
|
40 |
|
41 |
# Download each chunk file.
|
42 |
for chunk in _CHUNK_LIST:
|
43 |
-
_list.append(dl_manager.download(f"data/{chunk}.jsonl"))
|
44 |
|
45 |
# Return the list of downloaded chunks.
|
46 |
return [
|
|
|
5 |
import io
|
6 |
from io import BytesIO
|
7 |
|
8 |
+
CHUNK_COUNT = 330
|
9 |
|
10 |
_FEATURES = datasets.Features(
|
11 |
{
|
|
|
40 |
|
41 |
# Download each chunk file.
|
42 |
for chunk in _CHUNK_LIST:
|
43 |
+
_list.append(dl_manager.download(f"data/{chunk+1}.jsonl"))
|
44 |
|
45 |
# Return the list of downloaded chunks.
|
46 |
return [
|