We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 818a2cf commit 534a5b8Copy full SHA for 534a5b8
docs/source/using-the-python-api.mdx
@@ -34,6 +34,7 @@ def main():
34
pipeline_params = PipelineParameters(
35
launcher_type=ParallelismManager.ACCELERATE,
36
env_config=EnvConfig(cache_dir="tmp/"),
37
+ custom_task_directory=None, # if using a custom task
38
# Remove the 2 parameters below once your configuration is tested
39
override_batch_size=1,
40
max_samples=10
@@ -52,7 +53,6 @@ def main():
52
53
pipeline_parameters=pipeline_params,
54
evaluation_tracker=evaluation_tracker,
55
model_config=model_config,
- custom_task_directory=None, # if using a custom task
56
)
57
58
pipeline.evaluate()
0 commit comments