Build custom dataset to fine-tune Wav2Vec2
CONTRIBUTOR
@lhoestq - We could simply use the "general" json dataset for this no? 
2021-03-15T05:55:12Z
https://github.com/huggingface/datasets/issues/2050#issuecomment-799134401
https://api.github.com/repos/huggingface/datasets/issues/2050
MDEyOklzc3VlQ29tbWVudDc5OTEzNDQwMQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/799134401/reactions
2021-03-15T05:55:12Z
https://api.github.com/repos/huggingface/datasets/issues/comments/799134401
https://avatars.githubusercontent.com/u/23423619?v=4
https://api.github.com/users/patrickvonplaten/events{/privacy}
https://api.github.com/users/patrickvonplaten/followers
https://api.github.com/users/patrickvonplaten/following{/other_user}
https://api.github.com/users/patrickvonplaten/gists{/gist_id}
https://github.com/patrickvonplaten
patrickvonplaten
MDQ6VXNlcjIzNDIzNjE5
https://api.github.com/users/patrickvonplaten/orgs
https://api.github.com/users/patrickvonplaten/received_events
https://api.github.com/users/patrickvonplaten/repos
https://api.github.com/users/patrickvonplaten/starred{/owner}{/repo}
https://api.github.com/users/patrickvonplaten/subscriptions
User
https://api.github.com/users/patrickvonplaten
public
MEMBER
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.
2021-03-15T09:26:05Z
https://github.com/huggingface/datasets/issues/2050#issuecomment-799261694
https://api.github.com/repos/huggingface/datasets/issues/2050
MDEyOklzc3VlQ29tbWVudDc5OTI2MTY5NA==
https://api.github.com/repos/huggingface/datasets/issues/comments/799261694/reactions
2021-03-15T09:26:05Z
https://api.github.com/repos/huggingface/datasets/issues/comments/799261694
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
NONE
Many thanks! that was what I was looking for. 
2021-03-15T09:27:25Z
https://github.com/huggingface/datasets/issues/2050#issuecomment-799262762
https://api.github.com/repos/huggingface/datasets/issues/2050
MDEyOklzc3VlQ29tbWVudDc5OTI2Mjc2Mg==
https://api.github.com/repos/huggingface/datasets/issues/comments/799262762/reactions
2021-03-15T09:27:25Z
https://api.github.com/repos/huggingface/datasets/issues/comments/799262762
https://avatars.githubusercontent.com/u/72882909?v=4
https://api.github.com/users/Omarnabk/events{/privacy}
https://api.github.com/users/Omarnabk/followers
https://api.github.com/users/Omarnabk/following{/other_user}
https://api.github.com/users/Omarnabk/gists{/gist_id}
https://github.com/Omarnabk
Omarnabk
MDQ6VXNlcjcyODgyOTA5
https://api.github.com/users/Omarnabk/orgs
https://api.github.com/users/Omarnabk/received_events
https://api.github.com/users/Omarnabk/repos
https://api.github.com/users/Omarnabk/starred{/owner}{/repo}
https://api.github.com/users/Omarnabk/subscriptions
User
https://api.github.com/users/Omarnabk
public
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. 
