Commit
·
5e61423
1
Parent(s):
5b3b260
Update script.py
Browse files
script.py
CHANGED
@@ -6,8 +6,8 @@ import torch
|
|
6 |
import re
|
7 |
|
8 |
def do_train(script_args):
|
9 |
-
# Pass all arguments to
|
10 |
-
subprocess.run(['python', '
|
11 |
|
12 |
def do_inference(dataset_name, output_dir, num_tokens):
|
13 |
dataset = load_dataset(dataset_name)
|
|
|
6 |
import re
|
7 |
|
8 |
def do_train(script_args):
|
9 |
+
# Pass all arguments to trainer.py
|
10 |
+
subprocess.run(['python', 'trainer.py'] + script_args)
|
11 |
|
12 |
def do_inference(dataset_name, output_dir, num_tokens):
|
13 |
dataset = load_dataset(dataset_name)
|