-
Notifications
You must be signed in to change notification settings - Fork 19
feat(experimentalist): add Tau3 experimentalist workflow to docs #999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
plugins/nemo-experimentalist/examples/tau3-nooa-agent/experimentalist-smoke.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| max_rounds: 1 | ||
| min_rounds_before_stopping: 1 | ||
| max_survivors: 1 | ||
| max_candidates: 1 | ||
| max_trajectory_tasks: 2 | ||
| max_train_batch_tasks: 4 | ||
| train_batch_seed: 20260727 | ||
| disable_trajectory_scoring: true | ||
| disable_convergence_check: true | ||
| evaluator: | ||
| n_attempts: 1 | ||
| n_concurrent_trials: 1 | ||
| quiet: true | ||
| agent_setup_timeout_multiplier: 2.0 | ||
| environment_build_timeout_multiplier: 3.0 | ||
| eval_author: | ||
| max_traces: 3 | ||
| max_validation_repair_attempts: 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
plugins/nemo-experimentalist/examples/tau3-nooa-agent/prepare-airline-smoke.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| #!/usr/bin/env bash | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| set -euo pipefail | ||
| shopt -s nullglob | ||
|
|
||
| SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" | ||
| PLUGIN_ROOT="$(cd -- "${SCRIPT_DIR}/../.." && pwd)" | ||
| OUTPUT_ROOT="${1:-${PLUGIN_ROOT}/tmp/tau3-airline-smoke}" | ||
| SOURCE_ROOT="${OUTPUT_ROOT}/source" | ||
| DATASET_ROOT="${SOURCE_ROOT}/tau3-bench" | ||
| TRAIN_ROOT="${OUTPUT_ROOT}/train" | ||
| VALIDATION_ROOT="${OUTPUT_ROOT}/validation" | ||
| DATASET_REF="sierra-research/tau3-bench@1" | ||
|
|
||
| TRAIN_TASKS=( | ||
| "tau3-bench__tau3-airline-0" | ||
| "tau3-bench__tau3-airline-20" | ||
| "tau3-bench__tau3-airline-39" | ||
| ) | ||
| VALIDATION_TASKS=( | ||
| "tau3-bench__tau3-airline-3" | ||
| "tau3-bench__tau3-airline-36" | ||
| ) | ||
|
|
||
| if [[ ! -f "${DATASET_ROOT}/${TRAIN_TASKS[0]}/task.toml" ]]; then | ||
| mkdir -p "${SOURCE_ROOT}" | ||
| ( | ||
| cd "${PLUGIN_ROOT}" | ||
| uv run --frozen harbor download "${DATASET_REF}" \ | ||
| --output-dir "${SOURCE_ROOT}" \ | ||
| --export \ | ||
| --overwrite | ||
| ) | ||
| fi | ||
|
nicot marked this conversation as resolved.
|
||
|
|
||
| prepare_split() { | ||
| local split_root="$1" | ||
| shift | ||
| local task_names=("$@") | ||
|
|
||
| if [[ -d "${split_root}" ]]; then | ||
| local existing_tasks=("${split_root}"/*/task.toml) | ||
| if [[ ${#existing_tasks[@]} -eq ${#task_names[@]} ]]; then | ||
| for task_name in "${task_names[@]}"; do | ||
| if [[ ! -f "${split_root}/${task_name}/task.toml" ]]; then | ||
| echo "Existing split is not the expected dataset: ${split_root}" >&2 | ||
| exit 1 | ||
| fi | ||
| done | ||
| echo "Reusing ${split_root}" | ||
| return | ||
| fi | ||
| echo "Existing split is incomplete: ${split_root}" >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| mkdir -p "${split_root}" | ||
| for task_name in "${task_names[@]}"; do | ||
| local source_task="${DATASET_ROOT}/${task_name}" | ||
| if [[ ! -f "${source_task}/task.toml" ]]; then | ||
| echo "Downloaded dataset is missing ${task_name}" >&2 | ||
| exit 1 | ||
| fi | ||
| cp -R "${source_task}" "${split_root}/${task_name}" | ||
| done | ||
| } | ||
|
|
||
| prepare_split "${TRAIN_ROOT}" "${TRAIN_TASKS[@]}" | ||
| prepare_split "${VALIDATION_ROOT}" "${VALIDATION_TASKS[@]}" | ||
|
|
||
| echo "Tau3 Airline smoke datasets are ready:" | ||
| echo " train: ${TRAIN_ROOT}" | ||
| echo " validation: ${VALIDATION_ROOT}" | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.