loading mozilla-foundation--common_voice_11_0 fails
NONE
@claude Could you please address this issue
2025-06-27T12:27:55Z
https://github.com/huggingface/datasets/issues/7647#issuecomment-3012884773
https://api.github.com/repos/huggingface/datasets/issues/7647
IC_kwDODunzps6zlPkl
https://api.github.com/repos/huggingface/datasets/issues/comments/3012884773/reactions
2025-06-27T12:29:03Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3012884773
https://avatars.githubusercontent.com/u/72126242?v=4
https://api.github.com/users/jyotiyadav94/events{/privacy}
https://api.github.com/users/jyotiyadav94/followers
https://api.github.com/users/jyotiyadav94/following{/other_user}
https://api.github.com/users/jyotiyadav94/gists{/gist_id}
https://github.com/jyotiyadav94
jyotiyadav94
MDQ6VXNlcjcyMTI2MjQy
https://api.github.com/users/jyotiyadav94/orgs
https://api.github.com/users/jyotiyadav94/received_events
https://api.github.com/users/jyotiyadav94/repos
https://api.github.com/users/jyotiyadav94/starred{/owner}{/repo}
https://api.github.com/users/jyotiyadav94/subscriptions
User
https://api.github.com/users/jyotiyadav94
public
MEMBER
kinda related: https://github.com/huggingface/datasets/issues/7675
2025-07-10T14:49:30Z
https://github.com/huggingface/datasets/issues/7647#issuecomment-3057791919
https://api.github.com/repos/huggingface/datasets/issues/7647
IC_kwDODunzps62QjOv
https://api.github.com/repos/huggingface/datasets/issues/comments/3057791919/reactions
2025-07-10T14:49:30Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3057791919
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
### Describe the bug

Hello everyone,

i am trying to load `mozilla-foundation--common_voice_11_0` and it fails. Reproducer 

```
import datasets
datasets.load_dataset("mozilla-foundation/common_voice_11_0", "en", split="test", streaming=True, trust_remote_code=True)
```
and it fails with
```
File ~/opt/envs/.../lib/python3.10/site-packages/datasets/utils/file_utils.py:827, in _add_retries_to_file_obj_read_method.<locals>.read_with_retries(*args, **kwargs)
    825 for retry in range(1, max_retries + 1):
    826     try:
--> 827         out = read(*args, **kwargs)
    828         break
    829     except (
    830         _AiohttpClientError,
    831         asyncio.TimeoutError,
    832         requests.exceptions.ConnectionError,
    833         requests.exceptions.Timeout,
    834     ) as err:

File /usr/lib/python3.10/codecs.py:322, in BufferedIncrementalDecoder.decode(self, input, final)
    319 def decode(self, input, final=False):
    320     # decode input (taking the buffer into account)
    321     data = self.buffer + input
--> 322     (result, consumed) = self._buffer_decode(data, self.errors, final)
    323     # keep undecoded input until the next call
    324     self.buffer = data[consumed:]

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
```
When i remove streaming then everything is good but i need `streaming=True`

### Steps to reproduce the bug

```
import datasets
datasets.load_dataset("mozilla-foundation/common_voice_11_0", "en", split="test", streaming=True, trust_remote_code=True)
```

### Expected behavior

Expected that it will download dataset

### Environment info

datasets==3.6.0 
python3.10
on all platforms linux/win/mac