qiheli1998 commited on
Commit
4fa76bd
·
verified ·
1 Parent(s): 0470f1b

README: hf download names files (--include form dropped SHA256SUMS); agent command adds effort, context window, background wait, fable/small-fast aliases

Browse files
Files changed (1) hide show
  1. README.md +9 -6
README.md CHANGED
@@ -63,9 +63,9 @@ images/<lang>/<instance_id>.tar the task's two Docker images (83 GB for all
63
  Requirements: Docker, Python 3.12 and Harbor 0.23.0 (`pip install harbor==0.23.0`), the version our runs used.
64
 
65
  ```bash
66
- # 1. Download one task (drop the --include filters to get everything)
67
- hf download Tokenwave-AI/NL2Repo-Pro --repo-type dataset --revision v1.0 --local-dir NL2Repo-Pro \
68
- --include "SHA256SUMS" "tasks/python/<instance_id>.tar.zst" "images/python/<instance_id>.tar"
69
  cd NL2Repo-Pro
70
  sha256sum -c SHA256SUMS --ignore-missing
71
 
@@ -83,10 +83,12 @@ The images are not in any registry: `docker load` gives them the local names `ta
83
  ### Running an agent
84
 
85
  ```bash
86
- # Claude Code, as in our runs
87
- harbor run -p run/<instance_id> -a claude-code -m <model> \
88
- --ak version=2.1.311 --ak disallowed_tools=WebSearch,WebFetch \
89
  --ae ANTHROPIC_API_KEY=<key> --ae ANTHROPIC_BASE_URL=https://<endpoint host> \
 
 
90
  --allow-agent-host <endpoint host> \
91
  --agent-setup-timeout-multiplier 10 -n 1 -y -o jobs
92
  ```
@@ -95,6 +97,7 @@ harbor run -p run/<instance_id> -a claude-code -m <model> \
95
 
96
  - The agent has no network while answering; `--allow-agent-host` lets it reach its model endpoint and nothing else.
97
  - Some model gateways run tools such as Claude Code's WebSearch on the server, outside the container's network rule. Our runs turned off WebSearch and WebFetch; do the same for comparable results.
 
98
 
99
  ## Environment
100
 
 
63
  Requirements: Docker, Python 3.12 and Harbor 0.23.0 (`pip install harbor==0.23.0`), the version our runs used.
64
 
65
  ```bash
66
+ # 1. Download one task (name no files to get everything)
67
+ hf download Tokenwave-AI/NL2Repo-Pro SHA256SUMS tasks/python/<instance_id>.tar.zst images/python/<instance_id>.tar \
68
+ --repo-type dataset --revision v1.0 --local-dir NL2Repo-Pro
69
  cd NL2Repo-Pro
70
  sha256sum -c SHA256SUMS --ignore-missing
71
 
 
83
  ### Running an agent
84
 
85
  ```bash
86
+ # Claude Code, as in our runs. M: the model (Opus 5.5: 'claude-opus-5-5[1m]'); W: its context window in tokens
87
+ harbor run -p run/<instance_id> -a claude-code -m "$M" \
88
+ --ak version=2.1.311 --ak reasoning_effort=xhigh --ak disallowed_tools=WebSearch,WebFetch \
89
  --ae ANTHROPIC_API_KEY=<key> --ae ANTHROPIC_BASE_URL=https://<endpoint host> \
90
+ --ae CLAUDE_CODE_MAX_CONTEXT_TOKENS=$W --ae CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0 \
91
+ --ae ANTHROPIC_DEFAULT_FABLE_MODEL="$M" --ae ANTHROPIC_SMALL_FAST_MODEL="$M" \
92
  --allow-agent-host <endpoint host> \
93
  --agent-setup-timeout-multiplier 10 -n 1 -y -o jobs
94
  ```
 
97
 
98
  - The agent has no network while answering; `--allow-agent-host` lets it reach its model endpoint and nothing else.
99
  - Some model gateways run tools such as Claude Code's WebSearch on the server, outside the container's network rule. Our runs turned off WebSearch and WebFetch; do the same for comparable results.
100
+ - Claude Code assumes a 200K window for a model it does not know; `CLAUDE_CODE_MAX_CONTEXT_TOKENS` gives the real one (not needed with a `[1m]` model name). The wait ceiling lets background subagents finish before the run ends. Harbor points the opus, sonnet, haiku and subagent aliases at `-m` when a base URL is set; the two `--ae` model variables cover the rest. For a model other than Claude, add `--ae CLAUDE_CODE_NO_MODEL_FALLBACK=1` so no Claude model stands in for it.
101
 
102
  ## Environment
103