Skip to content

Commit 94d8e62

Browse files
author
marwan37
committed
update configs
1 parent 5dcf313 commit 94d8e62

File tree

2 files changed

+67
-8
lines changed

2 files changed

+67
-8
lines changed

omni-reader/configs/batch_pipeline.yaml

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,44 @@
1-
# Pipeline configuration
1+
# Apache Software License 2.0
2+
#
3+
# Copyright (c) ZenML GmbH 2024. All rights reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
# pipeline configuration
219
build: "batch-ocr-pipeline-20254007"
320
run_name: "run_ocr"
421

5-
# Enable flags
22+
# environment configuration
23+
settings:
24+
docker:
25+
requirements:
26+
- requirements.txt
27+
required_integrations:
28+
- aws
29+
- s3
30+
python_package_installer: "uv"
31+
environment:
32+
OPENAI_API_KEY: ${{ env.OPENAI_API_KEY }}
33+
MISTRAL_API_KEY: ${{ env.MISTRAL_API_KEY }}
34+
35+
# enable flags
636
enable_artifact_metadata: True
737
enable_artifact_visualization: True
838
enable_cache: False
939
enable_step_logs: True
1040

11-
# Steps
41+
# step configuration
1242
steps:
1343
load_images:
1444
parameters:
@@ -27,8 +57,7 @@ steps:
2757
- "gemma3"
2858
enable_cache: False
2959

30-
# Vision models registry – provides model metadata needed to run the pipeline
31-
# -- update this list with whatever models you want to test
60+
# vision models configuration
3261
models_registry:
3362
- name: "mistral/pixtral-12b-2409"
3463
shorthand: "pixtral"

omni-reader/configs/evaluation_pipeline.yaml

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,44 @@
1-
# Pipeline configuration
1+
# Apache Software License 2.0
2+
#
3+
# Copyright (c) ZenML GmbH 2024. All rights reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
# pipeline configuration
219
build: "ocr-evaluation-pipeline-20254007"
320
run_name: "ocr_evaluation_run"
421

5-
# Enable flags
22+
# environment configuration
23+
settings:
24+
docker:
25+
requirements:
26+
- requirements.txt
27+
required_integrations:
28+
- aws
29+
- s3
30+
python_package_installer: "uv"
31+
environment:
32+
OPENAI_API_KEY: ${{ env.OPENAI_API_KEY }}
33+
MISTRAL_API_KEY: ${{ env.MISTRAL_API_KEY }}
34+
35+
# enable flags
636
enable_artifact_metadata: True
737
enable_artifact_visualization: True
838
enable_cache: False
939
enable_step_logs: True
1040

11-
# Steps
41+
# steps configuration
1242
steps:
1343
load_ocr_results: # loads OCR results from batch pipeline runs
1444
enable_cache: False

0 commit comments

Comments
 (0)