Closed ofirpress closed 2 weeks ago
@klieret thoughts?
Hi @ofirpress
The history
field contains all input to the model, including the system prompt, the instance prompt and the demonstrations. It den also has the same content as the trajectory
, only in a slightly different structure (structured like a chat, rather than combining together action
and environment response
as in the trajectory
field.
Granted, this duplication is not ideal, but it's also what's processed when using convert_traj_to_demo.py
etc.
In any way, just renaming the key to demonstrations
is equally misleading IMO.
So I vote for 'closing'. Feel free to reopen if you don't agree ;)
ah ok thanks for clarifying, this makes sense! thank you
we have a history field in the trajectory files.
this field does not contain the history, it just has the demonstration.
this might be confusing to some people. we should've called that field 'demonstration'.
i don't think we should go for the hassle of fixing this, maybe we should just close this issue.
i do want this issue to exist so that people can see this if they search for information on google.
if you need an explainer on what the demonstration is, see this figure from the appendix of the swe-agent paper: