narcolepticchicken commited on
Commit
f8574e0
·
verified ·
1 Parent(s): 10e5403

Add dataset build runner

Browse files
Files changed (1) hide show
  1. run_dataset_build.py +13 -0
run_dataset_build.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Run dataset builder job to create and push datasets.
3
+ """
4
+ import subprocess
5
+ import sys
6
+
7
+ # Install dependencies
8
+ subprocess.check_call([sys.executable, "-m", "pip", "install", "--quiet", "datasets", "huggingface_hub"])
9
+
10
+ from dataset_builder import main
11
+
12
+ if __name__ == "__main__":
13
+ main()