Spaces:
Sleeping
Sleeping
Commit
•
5608340
1
Parent(s):
36b6655
Update script.py
Browse files
script.py
CHANGED
@@ -64,7 +64,7 @@ def run_training(hf_dataset_path: str):
|
|
64 |
dataset_dir = process_dataset(dataset_dir)
|
65 |
|
66 |
# run training
|
67 |
-
commands = "git clone https://github.com/ostris/ai-toolkit.git ai-toolkit && cd ai-toolkit && git submodule update --init --recursive"
|
68 |
subprocess.run(commands, shell=True)
|
69 |
|
70 |
commands = f"python run.py {os.path.join(dataset_dir, 'config.yaml')}"
|
|
|
64 |
dataset_dir = process_dataset(dataset_dir)
|
65 |
|
66 |
# run training
|
67 |
+
commands = "git clone https://github.com/ostris/ai-toolkit.git ai-toolkit && cd ai-toolkit && git checkout bc693488eb3cf48ded8bc2af845059d80f4cf7d0 && git submodule update --init --recursive"
|
68 |
subprocess.run(commands, shell=True)
|
69 |
|
70 |
commands = f"python run.py {os.path.join(dataset_dir, 'config.yaml')}"
|