File size: 9,801 Bytes
7a36179 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 |
0%| | 0/5000 [00:00<?, ?it/s]
Reading metadata...: 226310it [00:32, 5068.62it/s]
[INFO|trainer_utils.py:693] 2023-05-09 11:54:45,544 >> The following columns in the training set don't have a corresponding argument in `WhisperForConditionalGeneration.forward` and have been ignored: input_length. If input_length are not expected by `WhisperForConditionalGeneration.forward`, you can safely ignore this message.
/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/torch/nn/parallel/_functions.py:68: UserWarning: Was asked to gather along dimension 0, but all input tensors were scalars; will instead unsqueeze and return a vector.
warnings.warn('Was asked to gather along dimension 0, but all '
0%| | 25/5000 [15:04<41:02:00, 29.69s/it]
1%| | 49/5000 [27:10<40:56:29, 29.77s/it]
2%|β | 75/5000 [40:25<41:58:23, 30.68s/it]
2%|β | 99/5000 [52:35<40:36:11, 29.82s/it]
2%|β | 124/5000 [1:05:34<39:47:20, 29.38s/it]
3%|β | 149/5000 [1:18:10<40:31:07, 30.07s/it]
3%|β | 174/5000 [1:30:34<40:45:25, 30.40s/it]
4%|β | 189/5000 [1:38:11<40:29:36, 30.30s/it]
05/09/2023 13:31:00 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [1/20]
05/09/2023 13:31:05 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [2/20]
05/09/2023 13:31:11 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [3/20]
05/09/2023 13:31:16 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [4/20]
05/09/2023 13:31:21 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [5/20]
05/09/2023 13:31:26 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [6/20]
05/09/2023 13:31:31 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [7/20]
05/09/2023 13:31:37 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [8/20]
05/09/2023 13:31:42 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [9/20]
05/09/2023 13:31:47 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [10/20]
05/09/2023 13:31:52 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [11/20]
05/09/2023 13:31:57 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [12/20]
05/09/2023 13:32:03 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [13/20]
05/09/2023 13:32:08 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [14/20]
05/09/2023 13:32:13 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [15/20]
05/09/2023 13:32:18 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [16/20]
05/09/2023 13:32:23 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [17/20]
05/09/2023 13:32:29 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [18/20]
05/09/2023 13:32:34 - WARNING - datasets.download.streaming_download_manager - Got disconnected from remote data host. Retrying in 5sec [19/20]
4%|β | 189/5000 [1:38:11<40:29:36, 30.30s/it]Traceback (most recent call last):
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 372, in read_with_retries
out = read(*args, **kwargs)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/fsspec/implementations/http.py", line 600, in read
return super().read(length)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/fsspec/spec.py", line 1703, in read
out = self.cache._fetch(self.loc, self.loc + length)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/fsspec/caching.py", line 397, in _fetch
new = self.fetcher(self.end, bend)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/fsspec/asyn.py", line 115, in wrapper
return sync(self.loop, func, *args, **kwargs)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/fsspec/asyn.py", line 100, in sync
raise return_result
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/fsspec/asyn.py", line 55, in _runner
result[0] = await coro
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/fsspec/implementations/http.py", line 655, in async_fetch_range
r.raise_for_status()
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1005, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 502, message='Bad Gateway', url=URL('https://huggingface.co/datasets/mozilla-foundation/common_voice_11_0/resolve/main/audio/es/train/es_train_3.tar')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/local/QCRI/dizham/kanari/whisper/whisper-small-es/run_speech_recognition_seq2seq_streaming.py", line 629, in <module>
main()
File "/home/local/QCRI/dizham/kanari/whisper/whisper-small-es/run_speech_recognition_seq2seq_streaming.py", line 578, in main
train_result = trainer.train(resume_from_checkpoint=checkpoint)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/transformers/trainer.py", line 1664, in train
return inner_training_loop(
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/transformers/trainer.py", line 1901, in _inner_training_loop
for step, inputs in enumerate(epoch_iterator):
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 634, in __next__
data = self._next_data()
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 678, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 32, in fetch
data.append(next(self.dataset_iter))
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 981, in __iter__
for key, example in ex_iterable:
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 592, in __iter__
for key, example in iterator:
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 647, in __iter__
for x in self.ex_iterable:
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 500, in __iter__
for key, example in iterator:
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 772, in __iter__
for key, example in self.ex_iterable:
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 229, in __iter__
if not iterators[i].hasnext():
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 76, in hasnext
self._thenext = next(self.it)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 142, in __iter__
yield from self.generate_examples_fn(**kwargs_with_shuffled_shards)
File "/home/local/QCRI/dizham/.cache/huggingface/modules/datasets_modules/datasets/mozilla-foundation--common_voice_11_0/2c65b95d99ca879b1b1074ea197b65e0497848fd697fdb0582e0f6b75b6f4da0/common_voice_11_0.py", line 195, in _generate_examples
result["audio"] = {"path": path, "bytes": file.read()}
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/tarfile.py", line 684, in read
b = self.fileobj.read(length)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/tarfile.py", line 521, in read
buf = self._read(size)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/tarfile.py", line 529, in _read
return self.__read(size)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/tarfile.py", line 559, in __read
buf = self.fileobj.read(self.bufsize)
File "/home/local/QCRI/dizham/miniconda3/envs/whisper/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 381, in read_with_retries
raise ConnectionError("Server Disconnected") from disconnect_err
ConnectionError: Server Disconnected |