change method for 'all'
Browse files- articles/2023-1.json +0 -0
- articles/2023-10.json +0 -0
- articles/2023-11.json +0 -0
- articles/2023-12.json +0 -0
- articles/2023-2.json +0 -0
- articles/2023-3.json +0 -0
- articles/2023-4.json +0 -0
- articles/2023-5.json +0 -0
- articles/2023-6.json +0 -0
- articles/2023-7.json +0 -0
- articles/2023-8.json +0 -0
- articles/2023-9.json +0 -0
- bbc_alltime.py +1 -1
- configs.py +0 -1
- configs.txt +12 -0
articles/2023-1.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-10.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-11.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-12.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-2.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-3.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-4.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-5.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-6.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-7.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-8.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
articles/2023-9.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
bbc_alltime.py
CHANGED
@@ -58,7 +58,7 @@ class Bbc_alltimes(datasets.GeneratorBasedBuilder):
|
|
58 |
"""Returns SplitGenerators."""
|
59 |
if self.config.name == "all":
|
60 |
times = _TIMES[:-1]
|
61 |
-
files = dl_manager.
|
62 |
return [
|
63 |
datasets.SplitGenerator(
|
64 |
name=datasets.Split.TRAIN,
|
|
|
58 |
"""Returns SplitGenerators."""
|
59 |
if self.config.name == "all":
|
60 |
times = _TIMES[:-1]
|
61 |
+
files = dl_manager.download([f"articles/{time}.json" for time in _TIMES ])
|
62 |
return [
|
63 |
datasets.SplitGenerator(
|
64 |
name=datasets.Split.TRAIN,
|
configs.py
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
_TIMES = ['2017-1', '2017-10', '2017-11', '2017-12', '2017-2', '2017-3', '2017-4', '2017-5', '2017-6', '2017-7', '2017-8', '2017-9', '2018-1', '2018-10', '2018-11', '2018-12', '2018-2', '2018-3', '2018-4', '2018-5', '2018-6', '2018-7', '2018-8', '2018-9', '2019-1', '2019-10', '2019-11', '2019-12', '2019-2', '2019-3', '2019-4', '2019-5', '2019-6', '2019-7', '2019-8', '2019-9', '2020-1', '2020-10', '2020-11', '2020-12', '2020-2', '2020-3', '2020-4', '2020-5', '2020-6', '2020-7', '2020-8', '2020-9', '2021-1', '2021-10', '2021-11', '2021-12', '2021-2', '2021-3', '2021-4', '2021-5', '2021-6', '2021-7', '2021-8', '2021-9', '2022-1', '2022-10', '2022-11', '2022-12', '2022-2', '2022-3', '2022-4', '2022-5', '2022-6', '2022-7', '2022-8', '2022-9', 'all']
|
|
|
|
configs.txt
CHANGED
@@ -70,4 +70,16 @@
|
|
70 |
2022-7
|
71 |
2022-8
|
72 |
2022-9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
all
|
|
|
70 |
2022-7
|
71 |
2022-8
|
72 |
2022-9
|
73 |
+
2023-1
|
74 |
+
2023-10
|
75 |
+
2023-11
|
76 |
+
2023-12
|
77 |
+
2023-2
|
78 |
+
2023-3
|
79 |
+
2023-4
|
80 |
+
2023-5
|
81 |
+
2023-6
|
82 |
+
2023-7
|
83 |
+
2023-8
|
84 |
+
2023-9
|
85 |
all
|