Build custom dataset to fine-tune Wav2Vec2
{'login': 'Omarnabk', 'id': 72882909, 'node_id': 'MDQ6VXNlcjcyODgyOTA5', 'avatar_url': 'https://avatars.githubusercontent.com/u/72882909?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Omarnabk', 'html_url': 'https://github.com/Omarnabk', 'followers_url': 'https://api.github.com/users/Omarnabk/followers', 'following_url': 'https://api.github.com/users/Omarnabk/following{/other_user}', 'gists_url': 'https://api.github.com/users/Omarnabk/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/Omarnabk/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/Omarnabk/subscriptions', 'organizations_url': 'https://api.github.com/users/Omarnabk/orgs', 'repos_url': 'https://api.github.com/users/Omarnabk/repos', 'events_url': 'https://api.github.com/users/Omarnabk/events{/privacy}', 'received_events_url': 'https://api.github.com/users/Omarnabk/received_events', 'type': 'User', 'site_admin': False}
[{'id': 2067376369, 'node_id': 'MDU6TGFiZWwyMDY3Mzc2MzY5', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/dataset%20request', 'name': 'dataset request', 'color': 'e99695', 'default': False, 'description': 'Requesting to add a new dataset'}]
[]
@lhoestq - We could simply use the "general" json dataset for this no?  Sure you can use the json loader
```python
data_files = {"train": "path/to/your/train_data.json", "test": "path/to/your/test_data.json"}
train_dataset = load_dataset("json", data_files=data_files, split="train")
test_dataset = load_dataset("json", data_files=data_files, split="test")
```

You just need to make sure that the data contain the paths to the audio files.
If not, feel free to use `.map()` to add them. Many thanks! that was what I was looking for. 
Thank you for your recent tutorial on how to finetune Wav2Vec2 on a custom dataset. The example you gave here (https://huggingface.co/blog/fine-tune-xlsr-wav2vec2) was on the CommonVoice dataset. However, what if I want to load my own dataset?  I have a manifest (transcript and their audio files) in a JSON file. 

{'url': 'https://api.github.com/repos/huggingface/datasets/issues/2050/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}