versae commited on
Commit
5b01d58
1 Parent(s): f19ff8a

Adding the rest of training meeting ids

Browse files
Files changed (1) hide show
  1. NPSC.py +3 -3
NPSC.py CHANGED
@@ -20,7 +20,6 @@ import io
20
  import json
21
  import tarfile
22
  import datasets
23
- import fsspec
24
  from datasets.tasks import AutomaticSpeechRecognition
25
  from datasets.utils.streaming_download_manager import xopen
26
 
@@ -45,7 +44,7 @@ The corpus is in total sound recordings from 40 entire days of meetings. This am
45
 
46
  _HOMEPAGE = "https://www.nb.no/sprakbanken/en/resource-catalogue/oai-nb-no-sbr-58/"
47
 
48
- # Example: https://huggingface.co/datasets/NbAiLab/NPSC/resolve/main/data/train/20170110_48K_mp3.tar.gz
49
  _DATA_URL = "https://huggingface.co/datasets/NB/NPSC/resolve/main/data/{split}/{shard}_{config}.tar.gz"
50
  # Example: https://huggingface.co/datasets/NB/NPSC/resolve/main/data/test/20170207.json
51
  _METADATA_URL = "https://huggingface.co/datasets/NB/NPSC/resolve/main/data/{split}/{shard}.json"
@@ -53,9 +52,10 @@ _METADATA_URL = "https://huggingface.co/datasets/NB/NPSC/resolve/main/data/{spli
53
  _SHARDS = {
54
  "validation": ["20170209", "20180109", "20180201", "20180307", "20180611"],
55
  "test": ["20170207", "20171122", "20171219", "20180530"],
56
- "train": ["20170110", "20170208", "20170215", "20170216", "20170222", "20170314", "20170322", "20170323", "20170403", "20170405", "20170419", "20170426", "20170503", "20170510", "20170516", "20170613", "20170615", "20171007", "20171012", "20171018", "20171024", "20171208", "20171211", "20171213", "20180316"],
57
  }
58
 
 
59
  class NpscConfig(datasets.BuilderConfig):
60
  """BuilderConfig for NPSC."""
61
 
 
20
  import json
21
  import tarfile
22
  import datasets
 
23
  from datasets.tasks import AutomaticSpeechRecognition
24
  from datasets.utils.streaming_download_manager import xopen
25
 
 
44
 
45
  _HOMEPAGE = "https://www.nb.no/sprakbanken/en/resource-catalogue/oai-nb-no-sbr-58/"
46
 
47
+ # Example: https://huggingface.co/datasets/NB/NPSC/resolve/main/data/train/20170110_48K_mp3.tar.gz
48
  _DATA_URL = "https://huggingface.co/datasets/NB/NPSC/resolve/main/data/{split}/{shard}_{config}.tar.gz"
49
  # Example: https://huggingface.co/datasets/NB/NPSC/resolve/main/data/test/20170207.json
50
  _METADATA_URL = "https://huggingface.co/datasets/NB/NPSC/resolve/main/data/{split}/{shard}.json"
 
52
  _SHARDS = {
53
  "validation": ["20170209", "20180109", "20180201", "20180307", "20180611"],
54
  "test": ["20170207", "20171122", "20171219", "20180530"],
55
+ "train": ["20170110", "20170208", "20170215", "20170216", "20170222", "20170314", "20170322", "20170323", "20170403", "20170405", "20170419", "20170426", "20170503", "20170510", "20170516", "20170613", "20170615", "20171007", "20171012", "20171018", "20171024", "20171208", "20171211", "20171213", "20180316", "20180321", "20180404", "20180410", "20180411", "20180601", "20180613", "20180615"],
56
  }
57
 
58
+
59
  class NpscConfig(datasets.BuilderConfig):
60
  """BuilderConfig for NPSC."""
61