Skip to content

[BUG]: Data processing #189

@Q1Shane

Description

@Q1Shane

Description of the bug

In process_annotation_direct_attribution.py line73 show that:
sotopia_pi_utterance_reward.append(
{
"instruction": d['prompt'],
"output": d['result'],
"value": calc_reward(d['attribution']['attribution'], d['goal_score']),
}
)

However, For trainning train_rm.py use data.py line 100 use that:
rendered_text = self.template.render(
messages=[
{"role": "user", "content": item["input"]},
{"role": "assistant", "content": item["output"]}
]
i dont know whether there are some issue in data processing?

Steps To Reproduce

1

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions