Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def train_model(request: TrainingRequest):
|
|
71 |
"python", TRAIN_MODEL_PATH,
|
72 |
"--task", request.task,
|
73 |
"--model_name", request.model_name,
|
74 |
-
"--dataset", dataset_path,
|
75 |
"--num_layers", str(request.model_params.get('num_layers', 12)),
|
76 |
"--attention_heads", str(request.model_params.get('attention_heads', 1)),
|
77 |
"--hidden_size", str(request.model_params.get('hidden_size', 64)),
|
|
|
71 |
"python", TRAIN_MODEL_PATH,
|
72 |
"--task", request.task,
|
73 |
"--model_name", request.model_name,
|
74 |
+
"--dataset", os.path.abspath(dataset_path),
|
75 |
"--num_layers", str(request.model_params.get('num_layers', 12)),
|
76 |
"--attention_heads", str(request.model_params.get('attention_heads', 1)),
|
77 |
"--hidden_size", str(request.model_params.get('hidden_size', 64)),
|