Skip to content

Conversation

liamjxu
Copy link
Contributor

@liamjxu liamjxu commented Oct 22, 2024

Added the basic few-shot run_specs for GPQA (using the excluded train examples).

Due to the need for train examples, this PR is depending on the previous #3078.

@liamjxu liamjxu self-assigned this Oct 22, 2024
@liamjxu liamjxu force-pushed the jialiang/gpqa_run_specs branch from 259235d to 70e991e Compare October 22, 2024 05:30
@liamjxu liamjxu requested a review from yifanmai October 22, 2024 05:57


@run_spec_function("gpqa")
def get_gpqa_spec(subset: str, method: str = ADAPT_MULTIPLE_CHOICE_JOINT) -> RunSpec:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete method here because method is going to depend on whether we use CoT or not.

)

adapter_spec = get_multiple_choice_adapter_spec(
method=method,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just use method=ADAPT_MULTIPLE_CHOICE_JOINT here for now.

)

return RunSpec(
name=f"gpqa:subset={subset},method={method}",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise, remove method

@yifanmai yifanmai merged commit a6e8a13 into main Oct 22, 2024
12 checks passed
@yifanmai yifanmai deleted the jialiang/gpqa_run_specs branch October 22, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants