Skip to content

Commit 534a5b8

Browse files
xgwangxgwNathanHB
authored
fix wrong 'custom_task_directory' in python api doc (#671)
Co-authored-by: xgw <xinguang.wxg@alibaba-inc.com> Co-authored-by: Nathan Habib <30601243+NathanHB@users.noreply.github.com>
1 parent 818a2cf commit 534a5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/using-the-python-api.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def main():
3434
pipeline_params = PipelineParameters(
3535
launcher_type=ParallelismManager.ACCELERATE,
3636
env_config=EnvConfig(cache_dir="tmp/"),
37+
custom_task_directory=None, # if using a custom task
3738
# Remove the 2 parameters below once your configuration is tested
3839
override_batch_size=1,
3940
max_samples=10
@@ -52,7 +53,6 @@ def main():
5253
pipeline_parameters=pipeline_params,
5354
evaluation_tracker=evaluation_tracker,
5455
model_config=model_config,
55-
custom_task_directory=None, # if using a custom task
5656
)
5757

5858
pipeline.evaluate()

0 commit comments

Comments
 (0)