Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments addressed for MMLU-PRO Non COT #3125

Merged
merged 10 commits into from
Nov 4, 2024
Merged

Conversation

siyagoel
Copy link
Contributor

Addressed comments here on git pull request for MMLU-PRO Non COT

@siyagoel siyagoel closed this Oct 31, 2024
@siyagoel
Copy link
Contributor Author

Not successful

@siyagoel siyagoel reopened this Oct 31, 2024
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • Change relative import to absolute import to conform with PEP 8 style.
  • Pin the revision in load_datasets() (example)

@@ -38,7 +38,7 @@ def process_csv(self, data, split: str) -> List[Instance]:
hlog(f"Processing data for {split} split")
for row in data:
question = row["question"]
answers = row["options"][:10] # Limit to 10 answers if necessary
answers = row["options"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • Rename process_csv() to process_dataset() - there is no csv handling in this function.
  • Add type annotation for data.

@siyagoel siyagoel merged commit 0bed847 into main Nov 4, 2024
24 checks passed
@siyagoel siyagoel deleted the siyagoel/mmluprofinal branch November 4, 2024 20:57
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