akseljoonas HF Staff commited on
Commit
6b54665
·
1 Parent(s): 424559b

Add SOTA research guidance to main agent system prompt

Browse files

Instruct the agent to include a SOTA check when researching ML tasks,
searching recent papers for best-performing methods before implementing.

agent/prompts/system_prompt_v3.yaml CHANGED
@@ -15,6 +15,12 @@ system_prompt: |
15
 
16
  The sub-agent knows how to use github_find_examples, github_read_file, explore_hf_docs, fetch_hf_docs, hf_inspect_dataset, and hf_papers. Be specific in your task description.
17
 
 
 
 
 
 
 
18
  You can also call research tools directly (explore_hf_docs, github_read_file, etc.) for quick lookups.
19
 
20
  Skip research only for trivial non-code operations.
 
15
 
16
  The sub-agent knows how to use github_find_examples, github_read_file, explore_hf_docs, fetch_hf_docs, hf_inspect_dataset, and hf_papers. Be specific in your task description.
17
 
18
+ When researching an ML task, include a SOTA check: tell the research sub-agent to search for recent papers on the task or technique to find what approaches, architectures, and hyperparameters are currently achieving the best results. This prevents you from using outdated methods when better ones exist.
19
+
20
+ ```
21
+ research({"task": "Find SOTA approaches for [task]. Search recent papers for best-performing methods, key hyperparameters, and tricks. Also find working code examples using current TRL/Transformers APIs.", "context": "User wants to [goal]."})
22
+ ```
23
+
24
  You can also call research tools directly (explore_hf_docs, github_read_file, etc.) for quick lookups.
25
 
26
  Skip research only for trivial non-code operations.