noflm commited on
Commit
9a39598
1 Parent(s): 7fc795c

add config

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. EliteVoiceProject.py +10 -10
  2. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/1.mp3 +0 -0
  3. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/100_1.mp3 +0 -0
  4. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/100_2.mp3 +0 -0
  5. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/103_1.mp3 +0 -0
  6. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/104_1.mp3 +0 -0
  7. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/108_1.mp3 +0 -0
  8. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/10_1.mp3 +0 -0
  9. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/110_1.mp3 +0 -0
  10. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/111_1.mp3 +0 -0
  11. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/113_1.mp3 +0 -0
  12. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/115_1.mp3 +0 -0
  13. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/117_1.mp3 +0 -0
  14. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/11_1.mp3 +0 -0
  15. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/120_1.mp3 +0 -0
  16. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/120_2.mp3 +0 -0
  17. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/121_1.mp3 +0 -0
  18. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/121_2.mp3 +0 -0
  19. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/122_1.mp3 +0 -0
  20. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/124_1.mp3 +0 -0
  21. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/125_1.mp3 +0 -0
  22. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/128_1.mp3 +0 -0
  23. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/12_1.mp3 +0 -0
  24. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/132_1.mp3 +0 -0
  25. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/132_2.mp3 +0 -0
  26. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/133_1.mp3 +0 -0
  27. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/137_1.mp3 +0 -0
  28. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/13_1.mp3 +0 -0
  29. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/14_1.mp3 +0 -0
  30. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/150_1.mp3 +0 -0
  31. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/151_1.mp3 +0 -0
  32. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/152_1.mp3 +0 -0
  33. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/153_1.mp3 +0 -0
  34. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/154_1.mp3 +0 -0
  35. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/155_1.mp3 +0 -0
  36. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/157_1.mp3 +0 -0
  37. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/159_1.mp3 +0 -0
  38. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/15_1.mp3 +0 -0
  39. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/162_1.mp3 +0 -0
  40. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/164_1.mp3 +0 -0
  41. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/165_1.mp3 +0 -0
  42. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/166_1.mp3 +0 -0
  43. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/168_1.mp3 +0 -0
  44. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/16_1.mp3 +0 -0
  45. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/170_1.mp3 +0 -0
  46. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/171_1.mp3 +0 -0
  47. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/173_1.mp3 +0 -0
  48. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/175_1.mp3 +0 -0
  49. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/175_2.mp3 +0 -0
  50. audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/177_1.mp3 +0 -0
EliteVoiceProject.py CHANGED
@@ -34,9 +34,9 @@ _LICENSE = "https://hololive.hololivepro.com/guidelines/"
34
 
35
  _BASE_URL = "https://huggingface.co/datasets/Elite35P-Server/EliteVoiceProject/resolve/main/"
36
 
37
- _AUDIO_URL = _BASE_URL + "audio/{platform}/{platform}_{version}.tar"
38
 
39
- _TRANSCRIPT_URL = _BASE_URL + "transcript/{platform}/{platform}_{version}.tsv"
40
 
41
 
42
  class EliteVoiceProjectConfig(datasets.BuilderConfig):
@@ -61,11 +61,12 @@ class EliteVoiceProject(datasets.GeneratorBasedBuilder):
61
 
62
  BUILDER_CONFIGS = [
63
  EliteVoiceProjectConfig(
64
- name='Elite Voice Project',
65
  version='0.0.1',
66
  language='Japanese',
67
  release_date='2022-12-06',
68
  )
 
69
  ]
70
 
71
  def _info(self):
@@ -92,27 +93,26 @@ class EliteVoiceProject(datasets.GeneratorBasedBuilder):
92
  )
93
 
94
  def _split_generators(self, dl_manager):
 
95
  version = self.config.version
96
 
97
  audio_urls = {}
98
  #splits = ("twitter", "youtube", "twitch", "test")
99
- splits = ("twitter")
100
  for split in splits:
101
  audio_urls[split] = [
102
- _AUDIO_URL.format(platform=split, version=version)
103
  ]
104
  archive_paths = dl_manager.download(audio_urls)
105
  local_extracted_archive_paths = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
106
 
107
- meta_urls = {split: _TRANSCRIPT_URL.format(platform=split, version=version) for split in splits}
108
  meta_paths = dl_manager.download_and_extract(meta_urls)
109
 
110
  split_generators = []
111
  split_names = {
112
- "twitter": datasets.Split.TRAIN,
113
- #"youtube": datasets.Split.TRAIN,
114
- #"twitch": datasets.Split.TRAIN,
115
- #"test": datasets.Split.TEST,
116
  }
117
  for split in splits:
118
  split_generators.append(
 
34
 
35
  _BASE_URL = "https://huggingface.co/datasets/Elite35P-Server/EliteVoiceProject/resolve/main/"
36
 
37
+ _AUDIO_URL = _BASE_URL + "audio/{platform}/{split}/{platform}_{split}_{version}.tar"
38
 
39
+ _TRANSCRIPT_URL = _BASE_URL + "transcript/{platform}/{split}/{platform}_{split}_{version}.tsv"
40
 
41
 
42
  class EliteVoiceProjectConfig(datasets.BuilderConfig):
 
61
 
62
  BUILDER_CONFIGS = [
63
  EliteVoiceProjectConfig(
64
+ name=platporm,
65
  version='0.0.1',
66
  language='Japanese',
67
  release_date='2022-12-06',
68
  )
69
+ for platporm in ["twitter", "youtube", "youtube"]
70
  ]
71
 
72
  def _info(self):
 
93
  )
94
 
95
  def _split_generators(self, dl_manager):
96
+ platporm = self.config.name
97
  version = self.config.version
98
 
99
  audio_urls = {}
100
  #splits = ("twitter", "youtube", "twitch", "test")
101
+ splits = ("train", "test")
102
  for split in splits:
103
  audio_urls[split] = [
104
+ _AUDIO_URL.format(platform=platporm, split=split, version=version)
105
  ]
106
  archive_paths = dl_manager.download(audio_urls)
107
  local_extracted_archive_paths = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
108
 
109
+ meta_urls = {split: _TRANSCRIPT_URL.format(platform=platporm, split=split, version=version) for split in splits}
110
  meta_paths = dl_manager.download_and_extract(meta_urls)
111
 
112
  split_generators = []
113
  split_names = {
114
+ "train": datasets.Split.TRAIN,
115
+ "test": datasets.Split.TEST,
 
 
116
  }
117
  for split in splits:
118
  split_generators.append(
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/100_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/100_2.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/103_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/104_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/108_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/10_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/110_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/111_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/113_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/115_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/117_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/11_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/120_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/120_2.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/121_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/121_2.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/122_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/124_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/125_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/128_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/12_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/132_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/132_2.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/133_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/137_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/13_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/14_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/150_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/151_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/152_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/153_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/154_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/155_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/157_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/159_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/15_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/162_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/164_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/165_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/166_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/168_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/16_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/170_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/171_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/173_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/175_1.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/175_2.mp3 RENAMED
File without changes
audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/177_1.mp3 RENAMED
File without changes