failure-attribution-data / traceelephant /code_TraceElephant /code /agent_system /Magentic-One /README.md
|
Download traceelephant/code_TraceElephant/code/agent_system/Magentic-One/README.md from nguyenthanhdo/failure-attribution-data: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/datasets/nguyenthanhdo/failure-attribution-data/resolve/main/traceelephant/code_TraceElephant/code/agent_system/Magentic-One/README.md
- Command line
-
hf download hf://datasets/nguyenthanhdo/failure-attribution-data/traceelephant/code_TraceElephant/code/agent_system/Magentic-One/README.md
-
curl -L -o README.md https://huggingface.co/datasets/nguyenthanhdo/failure-attribution-data/resolve/main/traceelephant/code_TraceElephant/code/agent_system/Magentic-One/README.md
1.08 kB
README
Data Prepare
You should download GAIA and AssistantBench, and put dataset in this dir.
You can also get GAIA dataset here:
cd data
wget https://huggingface.co/datasets/miromind-ai/MiroFlow-Benchmarks/resolve/main/gaia-val.zip
unzip gaia-val.zip
# Unzip passcode: pf4*
Code Change
If you use the default Bing search engine, it may trigger frequent bot verification; switching to DuckDuckGo can resolve this issue.
If you want to change the default search engine to duckduckgo, you can change code in .venv/lib/python3.x/site-packages/autogen_ext/agents/web_surfer/_multimodal_web_surfer.py like below:
SEARCH_ENGINE = os.getenv("WEB_SURFER_SEARCH_ENGINE", "duckduckgo").lower()
SEARCH_ENGINES: dict[str, str] = {
"duckduckgo": "https://duckduckgo.com/?q={query}",
"bing": "https://www.bing.com/search?q={query}&FORM=QBLH",
}
How to run
bash run_assistant_bench.sh
bash run_gaia.sh