noflm
commited on
Commit
•
9a39598
1
Parent(s):
7fc795c
add config
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- EliteVoiceProject.py +10 -10
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/100_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/100_2.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/103_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/104_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/108_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/10_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/110_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/111_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/113_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/115_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/117_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/11_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/120_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/120_2.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/121_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/121_2.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/122_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/124_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/125_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/128_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/12_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/132_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/132_2.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/133_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/137_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/13_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/14_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/150_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/151_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/152_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/153_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/154_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/155_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/157_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/159_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/15_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/162_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/164_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/165_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/166_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/168_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/16_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/170_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/171_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/173_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/175_1.mp3 +0 -0
- audio_raw/twitter/{1lPKqmyQPOAKb → train/1lPKqmyQPOAKb}/175_2.mp3 +0 -0
- 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=
|
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 = ("
|
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 |
-
"
|
113 |
-
|
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
|