zting commited on
Commit
911a04e
β€’
1 Parent(s): e057093

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +7 -0
main.py CHANGED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ pip install transformers datasets evaluate
2
+ from huggingface_hub import notebook_login
3
+ notebook_login()
4
+ from datasets import load_dataset, Audio
5
+ minds = load_dataset("PolyAI/minds14", name="en-US", split="train")
6
+ minds = minds.train_test_split(test_size=0.2)
7
+ minds